/* ==========================================================================
   GODIGI 2.0 — AUTH
   Login / Registration / Verification
   ========================================================================== */


/* ==========================================================================
   BASE
   ========================================================================== */

.gd-auth-page {
    margin: 0;
    min-height: 100vh;
    background: #ffffff;
    color: #121513;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}


.gd-auth-page *,
.gd-auth-page *::before,
.gd-auth-page *::after {
    box-sizing: border-box;
}


.gd-auth-page a {
    color: inherit;
    text-decoration: none;
}


.gd-auth-page button,
.gd-auth-page input,
.gd-auth-page select {
    font: inherit;
}


/* ==========================================================================
   LAYOUT
   ========================================================================== */

.gd-auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        minmax(380px, 0.88fr)
        minmax(520px, 1.12fr);
}


/* ==========================================================================
   BRAND SIDE
   ========================================================================== */

.gd-auth-brand {
    position: relative;

    min-height: 100vh;

    padding:
        48px
        clamp(38px, 5vw, 78px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #121513;
    color: #ffffff;
}


.gd-auth-brand::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -90px;
    top: 120px;

    border: 1px solid #313733;
    border-radius: 50%;

    pointer-events: none;
}


.gd-auth-brand::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: 46px;
    bottom: 84px;

    background: #f4dc82;

    border-radius: 34px;

    pointer-events: none;
}


.gd-auth-logo {
    position: relative;
    z-index: 2;

    display: inline-flex;
    width: max-content;

    color: #ffffff;

    font-size: 27px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: -0.065em;
}


.gd-auth-logo span {
    color: #39b880;
}


.gd-auth-brand-content {
    position: relative;
    z-index: 2;

    margin: auto 0;

    max-width: 560px;
}


.gd-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    color: #8ddbb6;

    font-size: 10px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: 0.13em;

    text-transform: uppercase;
}


.gd-auth-kicker::before {
    content: "";

    width: 34px;
    height: 2px;

    background: currentColor;
}


.gd-auth-brand-content h1 {
    margin:
        25px
        0
        24px;

    max-width: 620px;

    color: #ffffff;

    font-size:
        clamp(
            58px,
            5.6vw,
            88px
        );

    line-height: 0.91;

    font-weight: 900;
    letter-spacing: -0.078em;
}


.gd-auth-brand-content h1 span {
    color: #f4dc82;
}


.gd-auth-brand-content p {
    max-width: 480px;

    margin: 0;

    color: #9da6a1;

    font-size: 15px;
    line-height: 1.8;
}


.gd-auth-brand-footer {
    position: relative;
    z-index: 2;

    color: #6f7973;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ==========================================================================
   MAIN
   ========================================================================== */

.gd-auth-main {
    min-height: 100vh;

    padding:
        74px
        clamp(32px, 6vw, 100px);

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
}


.gd-auth-card {
    width: 100%;
    max-width: 470px;
}


.gd-auth-card--register {
    max-width: 610px;
}


.gd-auth-mobile-logo {
    display: none;
}


/* ==========================================================================
   HEADING
   ========================================================================== */

.gd-auth-heading {
    margin-bottom: 34px;
}


.gd-auth-heading > span {
    color: #247d59;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.gd-auth-heading h2 {
    margin:
        12px
        0
        9px;

    color: #121513;

    font-size: 44px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: -0.062em;
}


.gd-auth-heading p {
    max-width: 460px;

    margin: 0;

    color: #747d78;

    font-size: 13px;
    line-height: 1.75;
}


/* ==========================================================================
   ALERTS
   ========================================================================== */

.gd-auth-alert {
    margin-bottom: 22px;

    padding: 14px 16px;

    border-radius: 14px;

    font-size: 12px;
    line-height: 1.6;
}


.gd-auth-alert--error {
    border: 1px solid #eccfcf;

    background: #fff6f6;

    color: #a44040;
}


.gd-auth-alert--success {
    border: 1px solid #cbe7da;

    background: #eff9f4;

    color: #247d59;
}


/* ==========================================================================
   FORM
   ========================================================================== */

.gd-auth-form {
    width: 100%;
}


.gd-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.gd-field {
    margin-bottom: 18px;
}


.gd-field.is-hidden {
    display: none;
}


.gd-field label {
    display: block;

    margin-bottom: 8px;

    color: #323936;

    font-size: 11px;
    font-weight: 800;
}


.gd-field small {
    display: block;

    margin-top: 7px;

    color: #909994;

    font-size: 9px;
    line-height: 1.55;
}


.gd-field input,
.gd-field select {
    width: 100%;

    height: 52px;

    padding:
        0
        14px;

    border: 1px solid #dce2df;

    border-radius: 14px;

    outline: 0;

    background: #ffffff;

    color: #121513;

    font-size: 13px;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


.gd-field select {
    cursor: pointer;
}


.gd-field input:hover,
.gd-field select:hover {
    border-color: #c9d1cc;
}


.gd-field input:focus,
.gd-field select:focus {
    border-color: #39b880;

    box-shadow:
        0
        0
        0
        4px
        rgba(57, 184, 128, 0.10);
}


.gd-field input::placeholder {
    color: #adb5b0;
}


/* ==========================================================================
   PASSWORD
   ========================================================================== */

.gd-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.gd-field-head a {
    margin-bottom: 8px;

    color: #247d59;

    font-size: 10px;
    font-weight: 800;
}


.gd-password-wrap {
    position: relative;
}


.gd-password-wrap input {
    padding-right: 70px;
}


.gd-password-toggle {
    position: absolute;

    right: 8px;
    top: 50%;

    transform: translateY(-50%);

    min-width: 52px;
    height: 36px;

    padding: 0 9px;

    border: 0;

    border-radius: 10px;

    background: #f2f4f3;

    color: #5b645f;

    font-size: 9px;
    font-weight: 800;

    cursor: pointer;
}


.gd-password-toggle:hover {
    background: #e9eeeb;

    color: #121513;
}


/* ==========================================================================
   CHECKBOX
   ========================================================================== */

.gd-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin:
        5px
        0
        22px;

    cursor: pointer;
}


.gd-check input {
    width: 17px;
    height: 17px;

    margin-top: 1px;

    accent-color: #39b880;

    flex: 0 0 auto;
}


.gd-check span {
    color: #707975;

    font-size: 10px;
    line-height: 1.6;
}


.gd-check a {
    color: #121513;

    font-weight: 800;
}


/* ==========================================================================
   PRIMARY SUBMIT
   ========================================================================== */

.gd-auth-submit {
    width: 100%;
    min-height: 54px;

    padding:
        0
        13px
        0
        18px;

    border: 0;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #121513;

    color: #ffffff;

    font-size: 12px;
    font-weight: 850;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease;
}


.gd-auth-submit:hover {
    background: #1e2420;

    transform: translateY(-1px);
}


.gd-auth-submit span {
    width: 31px;
    height: 31px;

    border-radius: 10px;

    display: grid;
    place-items: center;

    background: #f4dc82;

    color: #121513;

    font-size: 12px;
}


/* ==========================================================================
   SECONDARY
   ========================================================================== */

.gd-auth-divider {
    position: relative;

    margin:
        28px
        0
        18px;

    text-align: center;
}


.gd-auth-divider::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    height: 1px;

    background: #e4e8e6;
}


.gd-auth-divider span {
    position: relative;

    padding:
        0
        12px;

    background: #ffffff;

    color: #969e99;

    font-size: 9px;
}


.gd-auth-secondary {
    width: 100%;
    min-height: 51px;

    padding:
        0
        16px;

    border: 1px solid #dce2df;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    color: #121513;

    font-size: 11px;
    font-weight: 850;

    transition:
        border-color 0.18s ease,
        background 0.18s ease;
}


.gd-auth-secondary:hover {
    border-color: #bfc8c3;

    background: #f5f7f6;
}


/* ==========================================================================
   RESEND
   ========================================================================== */

.gd-resend {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #e4e8e6;
}


.gd-resend summary {
    color: #7b847f;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}


.gd-resend form {
    margin-top: 14px;

    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 8px;
}


.gd-resend input {
    min-width: 0;

    height: 44px;

    padding:
        0
        12px;

    border: 1px solid #dce2df;

    border-radius: 12px;

    outline: 0;

    font-size: 11px;
}


.gd-resend input:focus {
    border-color: #39b880;
}


.gd-resend button {
    min-height: 44px;

    padding:
        0
        14px;

    border: 0;

    border-radius: 12px;

    background: #f2f4f3;

    color: #121513;

    font-size: 10px;
    font-weight: 850;

    cursor: pointer;
}


/* ==========================================================================
   REGISTRATION
   ========================================================================== */

.gd-team-fields {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(150px, 0.45fr);

    gap: 14px;
}


.gd-auth-login-note {
    margin-top: 23px;

    color: #818a85;

    font-size: 10px;

    text-align: center;
}


.gd-auth-login-note a {
    margin-left: 4px;

    color: #121513;

    font-weight: 850;
}


/* ==========================================================================
   HONEYPOT
   ========================================================================== */

.gd-auth-trap {
    position: absolute !important;

    left: -99999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* ==========================================================================
   VERIFY
   ========================================================================== */

.gd-auth-single {
    min-height: 100vh;

    padding:
        40px
        20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f7f6;
}


.gd-auth-card--verify {
    max-width: 480px;

    padding: 38px;

    border: 1px solid #e0e5e2;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0
        24px
        60px
        rgba(18, 21, 19, 0.07);
}


.gd-auth-card--verify .gd-auth-logo {
    color: #121513;
}


.gd-verify-icon {
    width: 58px;
    height: 58px;

    margin-top: 35px;

    border-radius: 18px;

    display: grid;
    place-items: center;

    background: #f4dc82;

    color: #121513;

    font-size: 23px;
    font-weight: 900;
}


.gd-auth-card--verify h1 {
    margin:
        21px
        0
        12px;

    color: #121513;

    font-size: 34px;
    line-height: 1.05;

    font-weight: 900;
    letter-spacing: -0.055em;
}


.gd-auth-card--verify p {
    margin:
        0
        0
        25px;

    color: #737c77;

    font-size: 13px;
    line-height: 1.75;
}


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

@media (max-width: 980px) {

    .gd-auth-layout {
        grid-template-columns:
            minmax(300px, 0.72fr)
            minmax(480px, 1.28fr);
    }


    .gd-auth-brand {
        padding:
            38px
            32px;
    }


    .gd-auth-brand-content h1 {
        font-size: 54px;
    }


    .gd-auth-main {
        padding:
            60px
            34px;
    }

}


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

@media (max-width: 760px) {

    .gd-auth-layout {
        display: block;

        min-height: 100vh;
    }


    .gd-auth-brand {
        display: none;
    }


    .gd-auth-main {
        min-height: 100vh;

        padding:
            28px
            20px
            44px;

        align-items: flex-start;
    }


    .gd-auth-card,
    .gd-auth-card--register {
        max-width: 100%;
    }


    .gd-auth-mobile-logo {
        display: block;

        margin-bottom: 54px;
    }


    .gd-auth-mobile-logo .gd-auth-logo {
        color: #121513;

        font-size: 24px;
    }


    .gd-auth-heading {
        margin-bottom: 30px;
    }


    .gd-auth-heading h2 {
        font-size: 39px;
    }


    .gd-auth-heading p {
        font-size: 12px;
    }


    .gd-form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .gd-team-fields {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .gd-field input,
    .gd-field select {
        height: 54px;
    }


    .gd-auth-submit {
        min-height: 56px;
    }

}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 390px) {

    .gd-auth-main {
        padding-left: 16px;
        padding-right: 16px;
    }


    .gd-auth-mobile-logo {
        margin-bottom: 42px;
    }


    .gd-auth-heading h2 {
        font-size: 36px;
    }

}
/* ==========================================================================
   GODIGI 2.7.5 — AUTH ACTION CONSISTENCY
   ========================================================================== */

.gd-auth-submit,
.gd-auth-secondary,
.gd-resend button {
    min-height: 52px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
}

.gd-auth-submit:disabled {
    opacity: .58;
    cursor: wait;
}
