/*=========================
    Google Font
=========================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* min-height: 80vh; */
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #eaf4ff, #ffffff);
    padding: 20px;
}

/*=========================
    Login Card
=========================*/

.login-page {
    width: 390px;
    max-width: 100%;
    background: #fff;
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    opacity: .08;
}

.login-page::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    opacity: .08;
}

/*=========================
    Header
=========================*/

.top-area {
    text-align: center;
    position: relative;
    z-index: 2;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef4ff;
    color: #2563eb;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

.back-btn:hover {
    background: #2563eb;
    color: #fff;
}

.ai-image {
    width: 130px;
    display: block;
    margin: 10px auto 20px;
}

.portal-name {
    display: inline-block;
    background: #eef4ff;
    color: #2563eb;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.top-area h1 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.top-area p {
    color: #64748b;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 15px;
}

/*=========================
    Form
=========================*/

.input-group {
    margin-bottom: 10px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
}

.input-box {
    height: 50px;
    display: flex;
    align-items: center;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 0 18px;
    transition: .3s;
    background: #fff;
}

.input-box:hover {
    border-color: #60a5fa;
}

.input-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

.input-box i {
    color: #2563eb;
    font-size: 18px;
    margin-right: 14px;
}

.input-box input {
    width: 100%;
    border: none;
    outline: none;
    background: none;
    font-size: 15px;
    color: #0f172a;
}

.input-box input::placeholder {
    color: #94a3b8;
}

small {
    display: block;
    margin-top: 0px;
    color: #ef4444;
    min-height: 18px;
    font-size: 13px;
}

/*=========================
    Login Button
=========================*/

.login-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: .3s;
    position: relative;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, .25);
}

.login-btn:active {
    transform: scale(.98);
}

.loader {
    display: none;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, .4);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {

    100% {
        transform: translateY(-50%) rotate(360deg);
    }

}

/*=========================
    Forgot
=========================*/

.forgot-area {
    text-align: center;
    margin: 18px 0px;
}

.forgot-area a {
    color: #2563eb;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-area a:hover {
    text-decoration: underline;
}

/*=========================
    Footer
=========================*/

.footer-text {
    text-align: center;
    margin-top: 35px;
    color: #94a3b8;
    font-size: 12px;
}

/*=========================
    Mobile
=========================*/


@media screen and (min-width:1000px) {
    .login-page {
        max-width:80%!important;
    }
}


@media screen and (min-width:700px) {
    .login-page {
        width: 100%!important;
    }
}



    @media(max-width:420px) {

        body {
            padding: 0;
            background: #fff;
        }

        .login-page {
            width: 100%;
            min-height: 100vh;
            border-radius: 0;
            box-shadow: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 28px 22px;
        }

        .ai-image {
            width: 120px;
        }

        .top-area h1 {
            font-size: 28px;
        }

        .top-area p {
            font-size: 14px;
        }
    }

    /*=========================
    Tablet
=========================*/

    @media(min-width:768px) {

        .login-page {
            width: 420px;
        }
    }


    /* dob sec design  */
    .dob-group {
        display: flex;
        gap: 10px;
    }

        .dob-group select {
            flex: 1;
            height: 56px;
            border: 1px solid #dbeafe;
            border-radius: 14px;
            padding: 0 12px;
            background: #fff;
            color: #334155;
            font-size: 15px;
            outline: none;
            transition: .3s;
            cursor: pointer;
        }

            .dob-group select:hover {
                border-color: #60a5fa;
            }

            .dob-group select:focus {
                border-color: #2563eb;
                box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
            }

    @media(max-width:420px) {

        .dob-group {
            gap: 8px;
        }

            .dob-group select {
                font-size: 14px;
                height: 52px;
            }
    }




    /* footer */

    .association-section {
        width: 100%;
        /* min-height: 103px; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        overflow: hidden;
        padding: 10px 20px;
    }

        /* AI Background */

        .association-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: url("images/help-bg.png") center center/cover no-repeat;
            opacity: .18;
            z-index: 0;
        }

        /* Left Purple Glow */

        .association-section::after {
            content: "";
            position: absolute;
            width: 180px;
            height: 180px;
            left: -80px;
            bottom: -80px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(173, 92, 255, .35), transparent 70%);
            filter: blur(35px);
        }

    .association-text {
        position: relative;
        z-index: 2;
        font-size: 12px;
        font-weight: 500;
        color: #344054;
        margin-bottom: 4px;
    }

    .association-logo {
        position: relative;
        z-index: 2;
    }

        .association-logo img {
            width: 295px;
            max-width: 90%;
            object-fit: contain;
        }

    @media(max-width:450px) {

        .association-section {
            /* min-height: 160px; */
            padding: 5px 15px;
        }

        .association-text {
            font-size: 12px;
            margin-bottom: 0px;
        }

        .association-logo img {
            width: 290px;
        }
    }