﻿body {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #334155;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 950px;
    margin: 40px auto;
    padding: 0 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
    border-radius: 22px;
    padding: 55px 40px;
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid #e5edf8;
    box-shadow: 0 10px 35px rgba(15,23,42,.08), 0 2px 8px rgba(15,23,42,.04);
    animation: fadeInUp .6s ease;
}

    .form-banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, #c62828, #F03D42, #ff6b6b);
    }

    .form-banner::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        background: rgba(37,99,235,.05);
        border-radius: 50%;
        right: -80px;
        top: -80px;
    }

.logo {
    width: 100px;
    margin-bottom: 18px;
    transition: .4s;
}

.form-banner:hover .logo {
    transform: scale(1.08) rotate(-3deg);
}

.banner-badge {
    display: inline-block;
    background: #F03D42;
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.form-banner h2 {
    margin: 0;
    color: #1e293b;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}

.banner-divider {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg,#2563eb,#38bdf8);
    margin: 22px auto;
    border-radius: 20px;
}



.banner-text {
    max-width: 720px;
    margin: auto;
}

    .banner-text p {
        margin: 10px 0;
        color: #475569;
        font-size: 16px;
        line-height: 1.9;
    }

    .banner-text strong {
        color: #F03D42;
        font-size: 17px;
    }

fieldset {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    animation: fadeInUp 0.6s ease-out 0.15s forwards;
    opacity: 0; 
}

legend {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    margin-bottom: 25px;
    font-size: 21px;
    font-weight: 700;
    color: white;
    background: linear-gradient(90deg, #c62828, #F03D42, #ff6b6b);
    border: 1px solid #bfdbfe;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
    letter-spacing: .5px;
}

    legend i {
        font-size: 18px;
        color: white;
    }








.AlseinTable {
    width: 100%;
    border-collapse: collapse;
}

    .AlseinTable tr {
        border-bottom: 14px solid transparent;
    }

    .AlseinTable td {
        vertical-align: middle;
        padding: 0;
        height: 48px;
    }

        .AlseinTable td:nth-child(1) {
            width: 25px;
            color: #ef4444;
            font-size: 18px;
            font-weight: bold;
        }

        .AlseinTable td:nth-child(2) {
            width: 270px;
            font-weight: 600;
            color: #334155;
            font-size: 15px;
            padding-right: 15px;
        }

        .AlseinTable td:nth-child(3) {
            width: auto;
        }

.form-control {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 14.5px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

    .form-control:focus {
        outline: none;
        border-color: #3b82f6;
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    }

textarea.form-control {
    height: auto;
    min-height: 110px;
    padding: 12px 16px;
    resize: vertical;
}

.row-line {
    display: flex;
    gap: 24px;
    align-items: center;
    height: 48px; 
    padding-top: 0px;
}

    .row-line span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14.5px;
        font-weight: 500;
        color: #475569;
        cursor: pointer;
        transition: color 0.2s ease;
    }

        .row-line span:hover {
            color: #324261;
        }

    .row-line input[type="radio"] {
        width: 18px;
        height: 18px;
        accent-color: #324261;
        cursor: pointer;
        margin: 0;
        transition: transform 0.2s ease;
    }

        .row-line input[type="radio"]:active {
            transform: scale(0.85);
        }

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 35px !important;
}

.my-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 42px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .4px;
    background: #F54C4F;
    box-shadow: 0 8px 20px rgba(50,66,97,.18), 0 2px 6px rgba(50,66,97,.08);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

    .my-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,.45), transparent );
        transform: skewX(-25deg);
        transition: left .8s ease;
    }

    .my-btn:hover::before {
        left: 150%;
    }

    .my-btn:hover {
        transform: translateY(-4px) scale(1.02);
        background: linear-gradient(135deg, #3d5279 0%, #24334d 100%);
        box-shadow: 0 16px 35px rgba(50,66,97,.28), 0 6px 12px rgba(50,66,97,.18);
    }

    .my-btn:active {
        transform: translateY(-1px) scale(.98);
    }

    .my-btn i {
        transition: transform .35s ease;
    }

    .my-btn:hover i {
        transform: translateX(5px) rotate(-10deg);
    }

    .my-btn:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(50,66,97,.18), 0 12px 28px rgba(50,66,97,.25);
    }

    .my-btn:disabled {
        opacity: .65;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
.LoadingIcon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
    width: 32px;
    height: 32px;
}

.custom-file-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: .25s ease;
}

    .custom-file-wrapper:hover {
        border-color: #324261;
        box-shadow: 0 8px 20px rgba(50,66,97,.12);
        transform: translateY(-1px);
    }

.custom-file-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 56px;
    background: #939697;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: .25s;
}

.custom-file-wrapper:hover .custom-file-btn {
    background: #CF2C2D;
}

.custom-file-btn::before {
    content: "📄";
    margin-right: 8px;
    font-size: 18px;
}

.custom-file-text {
    flex: 1;
    padding: 0 18px;
    color: #7b8794;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-file-wrapper:hover .custom-file-text {
    color: #324261;
}

.d-none {
    display: none !important;
}

@media(max-width:768px) {

    .custom-file-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-file-btn {
        width: 100%;
    }

    .custom-file-text {
        padding: 15px;
        text-align: center;
    }
}


.dropdown:focus {
    color: white !important;
    background-color: #324261 !important;
}


.LoadingIcon {
    display: none;
    width: 40px;
    height: 40px;
    margin-top: 12px;
}


.radio-middle input[type="radio"] {
    margin-right: 6px;
}


.radio-middle span {
    display: block;
    align-items: center;
    margin-right: 32px;
}


.datepicker {
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 35px rgba(0,0,0,.18) !important;
    padding: 12px !important;
    font-family: "Segoe UI", sans-serif;
}

    .datepicker table {
        width: 100%;
    }

        .datepicker table tr td,
        .datepicker table tr th {
            width: 40px;
            height: 40px;
            border-radius: 10px !important;
            border: none !important;
            transition: .2s;
            font-size: 14px;
        }

            .datepicker table tr td:hover {
                background: #edf2ff !important;
            }

            .datepicker table tr td.active,
            .datepicker table tr td.active:hover {
                background: #324261 !important;
                color: white !important;
            }

    .datepicker .datepicker-switch {
        font-size: 17px;
        font-weight: 700;
        color: #324261;
    }

    .datepicker .prev,
    .datepicker .next {
        font-size: 20px;
        color: #324261;
    }

    .datepicker .dow {
        color: #6c757d;
        font-weight: 600;
    }

.datepicker-dropdown:before,
.datepicker-dropdown:after {
    display: none;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.85);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

.loading-content {
    text-align: center;
}

    .loading-content img {
        width: 70px;
        height: 70px;
    }

.loading-text {
    margin-top: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #444;
}