:root {
    --amber: #102147;
    --radius: 14px;
    --input-radius: 12px;
    --frost-stripe: rgba(255,255,255,.08);
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #146BAE;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}


fieldset {
    background: #0D1749;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
    transition: transform .36s cubic-bezier(.2,.9,.3,1), box-shadow .36s;
}

    fieldset:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 60px rgba(0,0,0,0.5);
    }

    fieldset::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 6px;
        background: white;
        animation: hueRotate 6s linear infinite;
    }







.spinner {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-left: 10px;
    border: 3px solid rgba(255,255,255,0.4);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.d-none {
    display: none;
}






legend {
    font-weight: 700;
    color: white;
    padding: 0 .8rem;
    margin-left: .6rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    letter-spacing: .2px;
    text-align: center;
}


.AlseinTable,
.table {
    width: 100%;
    border-collapse: collapse;
}

    .AlseinTable td {
        padding: 10px 12px;
        vertical-align: middle;
    }

        .AlseinTable td:nth-child(2) {
            font-weight: 600;
            color: #fff;
            min-width: 170px;
        }


input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
.form-control {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--input-radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: white !important;
    font-size: 15px;
    backdrop-filter: blur(12px);
    transition: all .25s ease;
    box-shadow: inset 0 0 12px rgba(255,255,255,0.06);
}

    .form-control::placeholder,
    input::placeholder,
    textarea::placeholder {
        color: #000 !important;
        opacity: 1;
    }


    input:focus,
    textarea:focus,
    select:focus {
        color: black;
        background: #467f9e !important;
        border-color: var(--amber);
        box-shadow: inset 0 0 16px rgba(255,255,255,0.10), 0 0 14px rgba(216,143,47,0.55), 0 0 28px rgba(216,143,47,0.25);
        outline: none;
        transform: translateY(-2px);
    }


.btn.btn-success.btn-x {
    background: var(--amber);
    border: none;
    color: #fff;
    padding: .7rem 1.2rem;
    font-weight: 700;
    border-radius: 999px;
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    box-shadow: 0 14px 34px rgba(0,0,0,0.28);
    transition: transform .18s cubic-bezier(.2,.9,.3,1), box-shadow .18s;
}

    .btn.btn-success.btn-x:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 60px rgba(0,0,0,0.34);
    }

    .btn.btn-success.btn-x i {
        animation: float 3.6s ease-in-out infinite;
    }

.alert.alert-warning {
    background: linear-gradient(90deg, rgba(216,143,47,0.06), rgba(4,40,76,0.02));
    border: 1px solid rgba(216,143,47,0.12);
    color: #fff;
    border-radius: 10px;
    padding: .8rem 1rem;
}


.switch {
    position: relative;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
    }

.slider {
    position: absolute;
    inset: 0;
    background: #777;
    border-radius: 34px;
    transition: .4s;
}

    .slider::before {
        content: "";
        position: absolute;
        width: 26px;
        height: 26px;
        left: 4px;
        bottom: 4px;
        background: #fff;
        border-radius: 50%;
        transition: .4s;
    }

input:checked + .slider {
    background: var(--amber);
}

    input:checked + .slider::before {
        transform: translateX(26px);
    }


.LoadingIcon {
    width: 36px;
    height: 36px;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .18s, transform .18s;
}

body.loading .LoadingIcon {
    opacity: 1;
    transform: scale(1);
}






.AlseinTable {
    table-layout: fixed;
    width: 100%;
}

    .AlseinTable td:nth-child(1) {
        width: 0%;
    }

    .AlseinTable td:nth-child(2) {
        width: 28%;
        white-space: nowrap;
    }

    .AlseinTable td:nth-child(3) {
        width: 28%;
    }

        .AlseinTable td:nth-child(3) > .form-control,
        .AlseinTable td:nth-child(3) > span.form-control {
            width: 100%;
            box-sizing: border-box;
        }











@keyframes hueRotate {
    0% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(-10deg);
    }

    100% {
        filter: hue-rotate(0deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width:900px) {
    .AlseinTable td:nth-child(2) {
        min-width: 120px;
        font-size: .95rem;
    }

    .btn.btn-success.btn-x {
        width: 100%;
        justify-content: center;
    }

    fieldset {
        padding: 14px;
    }
}
