﻿
fieldset {
    position: relative;
    margin: 30px 0 10px;
    padding: 38px 38px 30px;
    background: #ffffff;
    border: 1px solid #e6eef2;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(34, 78, 96, 0.07);
    overflow: hidden;
    animation: formShow .65s ease-out;
}



fieldset::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: linear-gradient( 180deg, #247da0 0%, #55aeca 50%, #8bc8d9 100% );
    border-radius: 24px 0 0 24px;
}



fieldset::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -115px;
    right: -80px;
    border-radius: 50%;
    background: rgba(71, 164, 193, .055);
    pointer-events: none;
}



fieldset legend {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 30px;
    padding: 0 0 16px;
    color: #183f52;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #edf2f4;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.2px;
}



    fieldset legend::before {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 9px;
        vertical-align: 2px;
        border-radius: 50%;
        background: #3b94b5;
        box-shadow: 0 0 0 5px rgba(59, 148, 181, .09);
        animation: dotPulse 2s ease-in-out infinite;
    }



    fieldset legend::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 75px;
        height: 2px;
        background: #3b94b5;
        transform-origin: left;
        animation: lineShow .8s ease-out;
    }



.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 14px;
}


   

    .AlseinTable td:nth-child(2) {
        width: 180px;
        padding-right: 25px;
        color: #47616d;
        font-size: .92rem;
        font-weight: 600;
        transition: color .25s ease, transform .25s ease;
    }



    .AlseinTable tr:hover td:nth-child(2) {
        color: #247da0;
        transform: translateX(3px);
    }



    .AlseinTable td:first-child {
        width: 20px;
        color: #d95f67;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        transition: transform .25s ease;
    }


    .AlseinTable tr:hover td:first-child {
        transform: scale(1.2);
    }



.form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    color: #29434f;
    background: #f8fafb;
    border: 1px solid #e3ebee;
    border-radius: 11px;
    font-size: .93rem;
    box-shadow: none;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}



    .form-control:hover {
        background: #ffffff;
        border-color: #bfd8e2;
    }



    .form-control:focus {
        background: #ffffff;
        border-color: #4c9fbb;
        outline: none;
        transform: translateY(-1px);
        box-shadow: 0 0 0 4px rgba(76, 159, 187, .09);
    }



    .form-control::placeholder {
        color: #a7b5bb;
        transition: opacity .2s ease;
    }


    .form-control:focus::placeholder {
        opacity: .35;
    }



.mt-3 {
    position: relative;
    margin-top: 25px !important;
    animation: buttonShow .7s ease-out .2s both;
}


.btn-x {
    position: relative;
    min-width: 220px;
    padding: 12px 28px;
    border: none !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    background: linear-gradient( 135deg, #247d9f, #399bbd ) !important;
    font-size: .94rem;
    font-weight: 600;
    letter-spacing: .1px;
    box-shadow: 0 8px 22px rgba(36, 125, 159, .20);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}



    .btn-x::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.25), transparent );
        transform: skewX(-20deg);
        transition: left .6s ease;
    }


    .btn-x:hover::before {
        left: 140%;
    }


    .btn-x:hover {
        transform: translateY(-3px);
        box-shadow: 0 13px 28px rgba(36, 125, 159, .26);
    }


    .btn-x:active {
        transform: translateY(-1px);
    }



    .btn-x i {
        transition: transform .25s ease;
    }


    .btn-x:hover i {
        transform: scale(1.15);
    }

#pageLoadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-loading-box {
    width: 280px;
    padding: 30px 25px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e3ebee;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(34, 78, 96, 0.18);
    text-align: center;
    animation: loadingBoxShow .3s ease-out;
}

.page-loading-spinner {
    width: 45px;
    height: 45px;
    margin: 0 auto 18px;
    border: 4px solid #dcecf2;
    border-top: 4px solid #247da0;
    border-radius: 50%;
    animation: pageLoadingSpin .8s linear infinite;
}

.page-loading-text {
    margin: 0;
    color: #183f52;
    font-size: 16px;
    font-weight: 600;
}

@keyframes pageLoadingSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loadingBoxShow {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



@media (max-width: 768px) {

    fieldset {
        padding: 30px 18px 24px;
        border-radius: 19px;
    }


        fieldset::before {
            width: 4px;
        }


        fieldset legend {
            font-size: 1.08rem;
            margin-bottom: 24px;
        }


    .AlseinTable {
        border-spacing: 0 12px;
    }


        .AlseinTable tr,
        .AlseinTable td {
            display: block;
            width: 100% !important;
        }


            .AlseinTable td:first-child {
                display: inline;
                width: auto !important;
                margin-right: 3px;
            }


            .AlseinTable td:nth-child(2) {
                display: inline;
                width: auto !important;
                padding-right: 0;
            }


            .AlseinTable td:nth-child(3) {
                margin-top: 7px;
            }


    .form-control {
        height: 46px;
    }


    .btn-x {
        width: 100%;
        min-width: 0;
    }
}



@keyframes formShow {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes buttonShow {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes lineShow {

    from {
        width: 0;
    }

    to {
        width: 75px;
    }
}


@keyframes dotPulse {

    0%, 100% {
        box-shadow: 0 0 0 5px rgba(59, 148, 181, .08);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(59, 148, 181, .03);
    }
}


@keyframes loading {

    0%, 100% {
        transform: scale(.9);
        opacity: .55;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

