/* =========================================================
   VIRALMINT AI — AUTH MOBILE REFINEMENT
   LOGIN + SIGN UP ONLY
   Does NOT modify desktop styling
========================================================= */


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       AUTH SECTION
    ----------------------------------------- */

    .auth-section {
        width: 100% !important;
        min-height: auto !important;

        padding: 34px 16px 60px !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }


    /* -----------------------------------------
       AUTH CONTAINER
    ----------------------------------------- */

    .auth-container {
        width: 100% !important;
        max-width: 520px !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 30px !important;

        align-items: stretch !important;
    }


    /* -----------------------------------------
       LEFT / INTRO AREA
    ----------------------------------------- */

    .auth-left {
        width: 100% !important;

        text-align: left !important;
    }


    .auth-left h1 {
        font-size: clamp(2rem, 8vw, 2.6rem) !important;

        line-height: 1.08 !important;

        letter-spacing: -1.5px !important;

        margin-bottom: 16px !important;
    }


    .auth-left p {
        font-size: 0.92rem !important;

        line-height: 1.7 !important;

        margin-bottom: 22px !important;

        color: #a9a9a9 !important;
    }


    /* -----------------------------------------
       FEATURE CARDS
    ----------------------------------------- */

    .auth-features {
        width: 100% !important;

        gap: 14px !important;
    }


    .auth-features .glass-card {
        width: 100% !important;

        padding: 20px !important;

        border-radius: 18px !important;
    }


    .auth-features .glass-card h2 {
        font-size: 1.08rem !important;

        line-height: 1.25 !important;

        margin-bottom: 12px !important;
    }


    .auth-features .glass-card p {
        font-size: 0.82rem !important;

        line-height: 1.65 !important;

        margin-bottom: 0 !important;
    }


    /* -----------------------------------------
       AUTH CARD
    ----------------------------------------- */

    .auth-card {
        width: 100% !important;

        max-width: 100% !important;

        padding: 26px !important;

        border-radius: 22px !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       AUTH TITLE
    ----------------------------------------- */

    .auth-title {
        font-size: 1.75rem !important;

        line-height: 1.15 !important;

        letter-spacing: -0.8px !important;

        margin-bottom: 9px !important;
    }


    .auth-subtitle {
        font-size: 0.84rem !important;

        line-height: 1.6 !important;

        margin-bottom: 22px !important;

        color: #a7a7a7 !important;
    }


    /* -----------------------------------------
       FORM GROUP
    ----------------------------------------- */

    .auth-card .input-group {
        margin-bottom: 16px !important;
    }


    .auth-card .input-group label {
        margin-bottom: 7px !important;

        font-size: 0.78rem !important;

        line-height: 1.25 !important;
    }


    /* -----------------------------------------
       INPUTS
       Scoped ONLY to auth card
    ----------------------------------------- */

    .auth-card input {
        width: 100% !important;

        height: 46px !important;

        min-height: 46px !important;

        padding: 0 14px !important;

        box-sizing: border-box !important;

        border-radius: 13px !important;

        font-size: 0.78rem !important;
    }


    .auth-card input::placeholder {
        font-size: 0.76rem !important;
    }


    /* -----------------------------------------
       PRIMARY AUTH BUTTON
    ----------------------------------------- */

    .auth-card .primary-btn {
        min-height: 45px !important;

        height: 45px !important;

        padding: 0 18px !important;

        border-radius: 13px !important;

        font-size: 0.78rem !important;

        font-weight: 700 !important;
    }


    /* -----------------------------------------
       GOOGLE BUTTON
    ----------------------------------------- */

    .auth-card .google-btn {
        width: 100% !important;

        height: 45px !important;

        min-height: 45px !important;

        padding: 0 14px !important;

        margin-top: 8px !important;

        border-radius: 13px !important;

        font-size: 0.78rem !important;

        gap: 9px !important;

        box-sizing: border-box !important;
    }


    .auth-card .google-btn img,
    .auth-card .google-btn svg {
        width: 17px !important;

        height: 17px !important;

        flex: 0 0 auto !important;
    }


    /* -----------------------------------------
       OR DIVIDER
    ----------------------------------------- */

    .auth-card .auth-divider {
        margin: 20px 0 !important;

        font-size: 0.72rem !important;
    }


    .auth-card .auth-divider span {
        padding: 0 10px !important;
    }


    /* -----------------------------------------
       AUTH FOOTER
    ----------------------------------------- */

    .auth-card .auth-footer {
        margin-top: 18px !important;

        font-size: 0.76rem !important;

        line-height: 1.5 !important;

        text-align: center !important;
    }


    .auth-card .auth-footer a {
        color: #9f6cff !important;
    }

}


/* =========================================================
   SMALL PHONES
   500px and below
========================================================= */

@media (max-width: 500px) {

    .auth-section {
        padding: 26px 13px 50px !important;
    }


    .auth-container {
        max-width: 390px !important;

        gap: 24px !important;
    }


    /* -----------------------------------------
       INTRO
    ----------------------------------------- */

    .auth-left h1 {
        font-size: 1.95rem !important;

        line-height: 1.08 !important;

        letter-spacing: -1.2px !important;
    }


    .auth-left p {
        font-size: 0.82rem !important;

        line-height: 1.65 !important;
    }


    /* -----------------------------------------
       FEATURE CARDS
    ----------------------------------------- */

    .auth-features {
        gap: 12px !important;
    }


    .auth-features .glass-card {
        padding: 18px !important;

        border-radius: 17px !important;
    }


    .auth-features .glass-card h2 {
        font-size: 1rem !important;

        margin-bottom: 10px !important;
    }


    .auth-features .glass-card p {
        font-size: 0.76rem !important;

        line-height: 1.6 !important;
    }


    /* -----------------------------------------
       AUTH CARD
    ----------------------------------------- */

    .auth-card {
        padding: 22px !important;

        border-radius: 20px !important;
    }


    .auth-title {
        font-size: 1.58rem !important;

        line-height: 1.14 !important;

        margin-bottom: 8px !important;
    }


    .auth-subtitle {
        font-size: 0.78rem !important;

        line-height: 1.55 !important;

        margin-bottom: 19px !important;
    }


    /* -----------------------------------------
       FORM
    ----------------------------------------- */

    .auth-card .input-group {
        margin-bottom: 14px !important;
    }


    .auth-card .input-group label {
        font-size: 0.74rem !important;

        margin-bottom: 6px !important;
    }


    .auth-card input {
        height: 44px !important;

        min-height: 44px !important;

        padding: 0 13px !important;

        border-radius: 12px !important;

        font-size: 0.75rem !important;
    }


    .auth-card input::placeholder {
        font-size: 0.73rem !important;
    }


    /* -----------------------------------------
       BUTTONS
    ----------------------------------------- */

    .auth-card .primary-btn,
    .auth-card .google-btn {
        height: 44px !important;

        min-height: 44px !important;

        border-radius: 12px !important;

        font-size: 0.75rem !important;
    }


    .auth-card .google-btn {
        margin-top: 7px !important;
    }


    /* -----------------------------------------
       DIVIDER
    ----------------------------------------- */

    .auth-card .auth-divider {
        margin: 18px 0 !important;

        font-size: 0.68rem !important;
    }


    /* -----------------------------------------
       FOOTER
    ----------------------------------------- */

    .auth-card .auth-footer {
        margin-top: 16px !important;

        font-size: 0.72rem !important;
    }

}


/* =========================================================
   VERY SMALL PHONES
   380px and below
========================================================= */

@media (max-width: 380px) {

    .auth-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }


    .auth-card {
        padding: 19px !important;

        border-radius: 18px !important;
    }


    .auth-title {
        font-size: 1.48rem !important;
    }


    .auth-subtitle {
        font-size: 0.74rem !important;
    }


    .auth-card input {
        height: 42px !important;

        min-height: 42px !important;
    }


    .auth-card .primary-btn,
    .auth-card .google-btn {
        height: 42px !important;

        min-height: 42px !important;
    }

}

/* =========================================================
   LOGIN TITLE — MOBILE SINGLE LINE
========================================================= */

@media (max-width: 768px) {

    .auth-card .auth-title {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        font-size: 1.15rem !important;
        line-height: 1.15 !important;

        letter-spacing: -1.15px !important;

        white-space: nowrap !important;

        margin-bottom: 10px !important;
    }

    .auth-card .auth-title span {
        display: inline !important;
        white-space: nowrap !important;
    }

}


@media (max-width: 500px) {

    .auth-card .auth-title {
        font-size: 1.08rem !important;
        letter-spacing: -1.2px !important;
    }

}


@media (max-width: 380px) {

    .auth-card .auth-title {
        font-size: 1rem !important;
        letter-spacing: -1.25px !important;
    }

}

/* =========================================================
   VIRALMINT AI — LOGIN INTRO TITLE
   MOBILE SINGLE-LINE FIX
   Targets the ACTUAL login/signup intro heading
========================================================= */

@media (max-width: 768px) {

    .auth-left h1 {
        width: 100% !important;
        max-width: none !important;

        /* Small enough to keep the complete title on one line */
        font-size: 1.55rem !important;

        line-height: 1.1 !important;
        letter-spacing: -1.1px !important;

        white-space: nowrap !important;

        margin-bottom: 16px !important;
    }

    .auth-left h1 span {
        display: inline !important;
        white-space: nowrap !important;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 500px) {

    .auth-left h1 {
        font-size: 1.42rem !important;
        letter-spacing: -1.05px !important;
        white-space: nowrap !important;
    }

    .auth-left h1 span {
        display: inline !important;
        white-space: nowrap !important;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .auth-left h1 {
        font-size: 1.30rem !important;
        letter-spacing: -1px !important;
        white-space: nowrap !important;
    }

}