/* ==========================================================
   Elite Fitness
   Customer Authentication
   File:
   /public_html/assets/css/auth.css
   ========================================================== */

.customer-auth-main {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 72px;
}

.customer-auth-section {
    width: 100%;
}

.customer-auth-shell {
    width: min(100%, 520px);
    margin: 0 auto;
}


/* ==========================================================
   BRAND
   ========================================================== */

.customer-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.customer-auth-brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #ff6a00,
        #ff8a2b
    );
    color: #111;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow:
        0 12px 28px rgba(255,106,0,.20);
}

.customer-auth-brand-name {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .08em;
}

.customer-auth-brand-tagline {
    margin-top: 2px;
    color: #7f8897;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}


/* ==========================================================
   CARD
   ========================================================== */

.customer-auth-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );
    box-shadow:
        0 28px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
}


/* ==========================================================
   HEADING
   ========================================================== */

.customer-auth-eyebrow {
    margin-bottom: 8px;
    color: #ff6a00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.customer-auth-heading h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 5vw, 38px);
    line-height: 1.05;
}

.customer-auth-heading p {
    margin: 10px 0 0;
    color: #8c96a5;
    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   ALERTS
   ========================================================== */

.customer-auth-alert {
    margin-top: 20px;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.5;
}

.customer-auth-alert-success {
    border: 1px solid rgba(0,220,130,.22);
    background: rgba(0,220,130,.07);
    color: #42e59d;
}

.customer-auth-alert-error {
    border: 1px solid rgba(255,90,90,.22);
    background: rgba(255,90,90,.07);
    color: #ff8d8d;
}


/* ==========================================================
   METHODS
   ========================================================== */

.customer-auth-methods {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.customer-auth-method {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
}

.customer-auth-method-disabled {
    opacity: .72;
}

.customer-auth-method-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,106,0,.10);
    color: #ff8b3d;
    font-size: 11px;
    font-weight: 900;
}

.customer-auth-method-content {
    min-width: 0;
    flex: 1;
}

.customer-auth-method-content strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.35;
}

.customer-auth-method-content span {
    display: block;
    margin-top: 3px;
    color: #737d8d;
    font-size: 11px;
    line-height: 1.4;
}

.customer-auth-method-badge {
    flex-shrink: 0;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: #8b95a5;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}


/* ==========================================================
   DIVIDER
   ========================================================== */

.customer-auth-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
}

.customer-auth-divider::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: rgba(255,255,255,.07);
}

.customer-auth-divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #151515;
    color: #687384;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}


/* ==========================================================
   FORM
   ========================================================== */

.customer-auth-form {
    display: grid;
    gap: 18px;
}

.customer-auth-field {
    display: grid;
    gap: 8px;
}

.customer-auth-field label,
.customer-auth-label-row label {
    color: #000000;
    font-size: 12px;
    font-weight: 700;
}

.customer-auth-field small {
    color: #6d7787;
    font-size: 10px;
    line-height: 1.45;
}

.customer-auth-field input {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 13px;
    outline: none;
    background: rgba(0,0,0,.26);
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.customer-auth-field input::placeholder {
    color: #606b7a;
}

.customer-auth-field input:focus {
    border-color: rgba(255,106,0,.55);
    background: rgba(0,0,0,.38);
    box-shadow:
        0 0 0 4px rgba(255,106,0,.08);
}

.customer-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.customer-auth-label-row span {
    color: #687384;
    font-size: 10px;
}


/* ==========================================================
   SUBMIT
   ========================================================== */

.customer-auth-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 2px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #ff6a00,
        #ff832b
    );
    color: #111111;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow:
        0 14px 30px rgba(255,106,0,.18);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.customer-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 36px rgba(255,106,0,.23);
    filter: brightness(1.03);
}

.customer-auth-submit:active {
    transform: translateY(0);
}


/* ==========================================================
   REGISTER
   ========================================================== */

.customer-auth-register {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
    color: #7a8493;
    font-size: 12px;
    text-align: center;
}

.customer-auth-register a {
    color: #ff8b3d;
    font-weight: 800;
    text-decoration: none;
}

.customer-auth-register a:hover {
    text-decoration: underline;
}

.customer-auth-register-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    border: 1px solid rgba(255, 139, 61, .75);
    border-radius: 10px;
    color: #ff9a55;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.customer-auth-register-button:hover {
    background: rgba(255, 106, 0, .12);
    color: #ffffff;
}


/* ==========================================================
   SECURITY
   ========================================================== */

.customer-auth-security {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #687384;
    font-size: 10px;
    line-height: 1.5;
}

.customer-auth-security-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0,220,130,.10);
    color: #42e59d;
    font-size: 9px;
    font-weight: 900;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 640px) {

    .customer-auth-main {
        min-height: calc(100vh - 130px);
        padding:
            28px 14px
            48px;
    }

    .customer-auth-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .customer-auth-brand {
        margin-bottom: 18px;
    }

    .customer-auth-brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .customer-auth-brand-name {
        font-size: 15px;
    }

    .customer-auth-heading h1 {
        font-size: 30px;
    }

    .customer-auth-method {
        padding: 11px 12px;
    }

    .customer-auth-method-badge {
        display: none;
    }

}
