/* RESET */
* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Sora', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

/* FULL BACKGROUND — Figma: solid #01033E with a huge faint purple circle */
.containerMain {
    width: 100vw;
    height: 100vh;
    background-color: #01033E;
    background-image: url("BackGroundWL.png"); /* keep image if it already has the circle */
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
    padding: 20px;
    overflow: hidden;
}

 

/* RIGHT ALIGN CARD */
.login-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 90px;
    position: relative; /* stay above the ::before circle */
    z-index: 1;
}

/* CARD — Figma: 654px wide, #F4F3FD, radius 10px */
.login-container {
    width: 100%;
    max-width: 654px;
    background-color: #F4F3FD;
    padding: 60px 90px;
    border-radius: 10px;
}

    /* TEXT — Welcome: Sora 400 ~35px #0F172A; Instructions: Inter 20px */
    .login-container h1 {
        font-family: 'Sora', sans-serif;
        font-weight: 400;
        font-size: 35px;
        line-height: 44px;
        color: #0F172A;
        margin: 0 0 10px;
    }

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.03em;
    color: #0F172A;
    margin-bottom: 36px;
}

/* INPUTS — Figma: 61px tall, white, 1px #F5F5F5 border, radius 5px, gap 22px */
.input-group {
    margin-bottom: 22px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

    .input-wrapper .input-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        opacity: 0.85;
    }

    .input-wrapper input {
        width: 100%;
        height: 61px;
        padding: 0 48px 0 61px; /* icon left, eye icon right */
        background: #FFFFFF;
        border: 1px solid #F5F5F5;
        border-radius: 5px;
        outline: none;
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 14px;
        color: #0F172A;
    }

        .input-wrapper input::placeholder {
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            font-size: 14px;
            color: #94A3B8;
        }

    /* View-password (eye) icon on the right, if present */
    .input-wrapper .toggle-password {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        cursor: pointer;
        opacity: 0.85;
    }

/* OPTIONS — Remember me / Forgot password: Inter 500 12px */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    color: #94A3B8;
    margin-bottom: 22px;
}

    .options label {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #94A3B8;
        font-weight: 500;
        cursor: pointer;
    }

    .options input[type="checkbox"] {
        width: 12px;
        height: 12px;
        accent-color: #807DFE;
        border: 1px solid #94A3B8;
        border-radius: 2px;
        margin: 0;
    }

    .options a {
        text-decoration: none;
        color: #0F172A;
        font-weight: 500;
    }

/* BUTTON — Figma: 61px tall, #807DFE, radius 5px, Inter 500 16px white */
.btn-login {
    width: 100%;
    height: 61px;
    background-color: #807DFE;
    border: none;
    border-radius: 5px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color .15s ease;
}

    .btn-login:hover {
        background-color: #6a67e6;
    }

/* FOOTER — Copyright #475569, Privacy/Terms #0F172A, both Inter 400 14px */
footer {
    margin-top: 48px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 17px;
    color: #475569;
    display: flex;
    justify-content: space-between;
}

    footer a {
        color: #0F172A;
        text-decoration: none;
    }

/* LOGO — Figma: 306×57 at left 300 / top 61 */
.containerLogo {
    position: absolute;
    top: 61px;
    left: 20%;
    z-index: 1;
}

    .containerLogo img {
        width: 306px;
        max-width: 100%;
        height: auto;
    }

/* ===============================
   RESPONSIVE DESIGN
================================= */

/* Large laptop — card padding eases off */
@media (max-width: 1440px) {
    .login-container {
        max-width: 560px;
        padding: 48px 60px;
    }

    .containerLogo {
        left: 120px;
    }

        .containerLogo img {
            width: 240px;
        }
}

/* Tablet */
@media (max-width: 1024px) {
    .login-wrapper {
        justify-content: center;
        padding-right: 0;
    }

    .login-container {
        width: 90%;
        max-width: 520px;
        padding: 40px;
    }

    .containerLogo {
        left: 40px;
        top: 40px;
    }

        .containerLogo img {
            width: 200px;
        }

    .login-container h1 {
        font-size: 30px;
        line-height: 38px;
    }

    .subtitle {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .containerMain {
        height: auto;
        min-height: 100vh;
        background-position: center;
    }

   
    .login-wrapper {
        justify-content: center;
        padding: 20px;
    }

    .login-container {
        width: 100%;
        padding: 30px 20px;
    }

    .containerLogo {
        position: static;
        text-align: center;
        margin: 30px 0;
    }

        .containerLogo img {
            width: 160px;
        }

    .input-wrapper input,
    .btn-login {
        height: 52px;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    footer {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 25px 20px;
    }

        .login-container h1 {
            font-size: 24px;
            line-height: 30px;
        }

    .subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
}
