body {
    background: #FFFAF0;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-image: radial-gradient(circle at center, #eee 1px, transparent 1px);
    background-size: 30px 30px;
}

.col-md-12.mt-5 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    background-color: #f0f8ff; 
    padding: 40px 50px;
    border-radius: 20px;
    border: 1px solid #d4e3f5; 
    box-shadow: 0 15px 50px rgba(0, 79, 162, 0.25), 0 0 20px rgba(0, 79, 162, 0.1);
    animation: scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


legend {
    font-size: 22px;
    font-weight: bold;
    color: #004FA2;
    text-align: center;
    justify-content:center;
    padding: 0 15px;
    border-bottom: 3px solid #46c9ec;
    width: fit-content;
    margin: 0 auto 20px auto;
}




.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 20px;
}

    .AlseinTable td:nth-child(3n+1) {
        color: #ff5e5e;
        width: 10px;
        text-align: center;
        font-size: 1.2em;
        padding-right: 15px;
    }

    .AlseinTable td:nth-child(3n+2) {
        width: 170px;
        text-align: left;
        color: #004FA2;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #c8d9e8;
    background-color: #f7faff;
    border-radius: 10px;
    color: #333;
    box-shadow: inset 0 1px 5px rgba(0, 79, 162, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1em;
}

    .form-control:focus {
        border-color: #46c9ec;
        background-color: #ffffff;
        box-shadow: 0 0 12px rgba(70, 201, 236, 0.8), inset 0 1px 5px rgba(0, 79, 162, 0.3);
        transform: scale(1.01);
        outline: none;
    }

    .form-control::placeholder {
        color: #999;
    }

.text-center {
    color: #333 !important;
    margin-top: 20px;
    font-size: 0.95em;
}

    .text-center label {
        color: #333 !important;
    }

    .text-center a {
        color: #004FA2;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s;
    }

        .text-center a:hover {
            color: #46c9ec;
            text-decoration: underline;
        }

.btn-success.btn-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    margin-top: 35px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(90deg, #004FA2 0%, #46c9ec 100%);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 79, 162, 0.4), 0 4px 10px rgba(70, 201, 236, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .btn-success.btn-x:hover {
        box-shadow: 0 12px 30px rgba(0, 79, 162, 0.6), 0 6px 15px rgba(70, 201, 236, 0.4);
        transform: translateY(-3px) scale(1.02);
    }

    .btn-success.btn-x::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.3);
        transform: skewX(-30deg);
        transition: all 0.7s;
    }

    .btn-success.btn-x:hover::after {
        left: 100%;
    }

.LoadingIcon {
    width: 47px;
    filter: none;
    display: none;
    margin-left: 15px;
}






.text-center {
    color: #333 !important;
    margin-top: 20px;
    font-size: 0.95em;
    font-weight: 500;
    display: flex;
    align-items: center; 
}

    .text-center label {
        color: #333 !important;
        margin-left: 5px;
        user-select: none;
        vertical-align: middle;
    }

    .text-center a {
        color: #004FA2;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s;
    }

        .text-center a:hover {
            color: #46c9ec;
            text-decoration: underline;
        }

    .text-center input[type="checkbox"] {
        appearance: none;
        width: 18px;
        height: 18px;
        border: 2px solid #004FA2;
        border-radius: 4px;
        cursor: pointer;
        vertical-align: middle;
        position: relative;
        top: 0;
        transition: all 0.2s ease;
        margin: 0;
    }

        .text-center input[type="checkbox"]:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(70, 201, 236, 0.5);
        }

        .text-center input[type="checkbox"]:checked {
            background-color: #004FA2;
            border-color: #004FA2;
        }

            .text-center input[type="checkbox"]:checked::after {
                content: '';
                position: absolute;
                top: 2px;
                left: 5px;
                width: 4px;
                height: 8px;
                border: solid white;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }




@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}
