/* =========================================================
   Elite Fitness - Customer Login
   Clean standalone theme
   ========================================================= */

:root {
    --ef-orange: #ff6500;
    --ef-orange-dark: #e95400;
    --ef-orange-soft: #fff1e8;
    --ef-black: #090909;
    --ef-panel: #ffffff;
    --ef-text: #111111;
    --ef-muted: #7f8da1;
    --ef-border: #e7eaf0;
    --ef-shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f8fa;
    color: var(--ef-text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

.customer-login {
    width: 100%;
    min-height: 100vh;
}

/* ---------------------------------------------------------
   Fixed image area
   --------------------------------------------------------- */

.customer-login__hero {
    width: 100%;
    padding: 24px 32px 0;
}

.customer-login__hero-inner {
    width: 100%;
    max-width: 1920px;
    height: 180px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #1c1c1c;
    border-radius: 3px;
    background: #0c0c0c;
}

.customer-login__hero-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #888;
	background-image: url("../images/elite-fitness-login-banner.png");
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 700;
}

/* ---------------------------------------------------------
   Main content
   --------------------------------------------------------- */

.customer-login__content {
    display: flex;
    justify-content: center;
    padding: 54px 24px 80px;
}

.customer-login__card {
    width: min(100%, 560px);
    padding: 38px 42px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    background: var(--ef-panel);
    box-shadow: var(--ef-shadow);
}

/* ---------------------------------------------------------
   Brand / heading
   --------------------------------------------------------- */

.customer-login__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.customer-login__brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: var(--ef-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.customer-login__brand-name {
    color: #101010;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.customer-login__brand-tagline {
    margin-top: 2px;
    color: #9aa3ae;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.customer-login__eyebrow {
    margin-bottom: 10px;
    color: var(--ef-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.customer-login__header h1 {
    margin: 0;
    color: #111;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.customer-login__header p {
    margin: 12px 0 0;
    color: var(--ef-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ---------------------------------------------------------
   Alerts
   --------------------------------------------------------- */

.customer-login__alert {
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.customer-login__alert--success {
    border: 1px solid #cdebdc;
    background: #effbf5;
    color: #147346;
}

.customer-login__alert--error {
    border: 1px solid #ffd4d4;
    background: #fff5f5;
    color: #a32929;
}

/* ---------------------------------------------------------
   Future methods
   --------------------------------------------------------- */

.customer-login__methods {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.customer-login__method {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid var(--ef-border);
    border-radius: 12px;
    background: #fafbfc;
}

.customer-login__method--disabled {
    opacity: 0.70;
}

.customer-login__method-icon {
    display: grid;
    min-width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: var(--ef-orange-soft);
    color: var(--ef-orange);
    font-size: 12px;
    font-weight: 900;
}

.customer-login__method-copy {
    min-width: 0;
}

.customer-login__method-copy strong,
.customer-login__method-copy span {
    display: block;
}

.customer-login__method-copy strong {
    margin-bottom: 2px;
    font-size: 13px;
}

.customer-login__method-copy span {
    color: #98a1ad;
    font-size: 11px;
    line-height: 1.4;
}

.customer-login__method-badge {
    color: #acb3bc;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Divider
   --------------------------------------------------------- */

.customer-login__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 24px;
    color: #9aa3ae;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.customer-login__divider::before,
.customer-login__divider::after {
    height: 1px;
    flex: 1;
    background: var(--ef-border);
    content: "";
}

/* ---------------------------------------------------------
   Form
   --------------------------------------------------------- */

.customer-login__form {
    display: grid;
    gap: 22px;
}

.customer-login__field label {
    display: block;
    margin-bottom: 8px;
    color: #171717;
    font-size: 13px;
    font-weight: 800;
}

.customer-login__label-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.customer-login__label-row span {
    color: #a0a8b3;
    font-size: 10px;
    font-weight: 700;
}

.customer-login__field > input,
.customer-login__password {
    width: 100%;
    min-height: 54px;
    border: 1px solid #dde2e8;
    border-radius: 12px;
    background: #fff;
}

.customer-login__field > input {
    padding: 0 15px;
    outline: none;
    color: #171717;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.customer-login__field > input:focus,
.customer-login__password:focus-within {
    border-color: var(--ef-orange);
    box-shadow: 0 0 0 4px rgba(255, 101, 0, 0.10);
}

.customer-login__field small {
    display: block;
    margin-top: 7px;
    color: #a0a8b3;
    font-size: 10px;
    line-height: 1.45;
}

.customer-login__password {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.customer-login__password input {
    width: 100%;
    height: 52px;
    min-width: 0;
    padding: 0 14px;
    border: 0;
    outline: none;
    background: transparent;
    color: #171717;
}

.customer-login__password-toggle {
    flex: 0 0 auto;
    margin-right: 8px;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: #f3f4f6;
    color: #717b86;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}

.customer-login__password-toggle:hover {
    background: #eceef1;
    color: #333;
}

.customer-login__submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    background: var(--ef-orange);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(255, 101, 0, 0.20);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.customer-login__submit:hover {
    background: var(--ef-orange-dark);
    box-shadow: 0 15px 32px rgba(255, 101, 0, 0.25);
    transform: translateY(-1px);
}

.customer-login__submit:focus-visible {
    outline: 3px solid rgba(255, 101, 0, 0.22);
    outline-offset: 3px;
}

/* ---------------------------------------------------------
   Register / security
   --------------------------------------------------------- */

.customer-login__register {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 26px;
    color: #87919d;
    font-size: 12px;
}

.customer-login__register a {
    color: var(--ef-orange);
    font-weight: 800;
    text-decoration: none;
}

.customer-login__register a:hover {
    text-decoration: underline;
}

.customer-login__register-button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #3b4149;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.customer-login__register-button:hover {
    border-color: rgba(255, 101, 0, 0.35);
    color: var(--ef-orange);
}

.customer-login__security {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #edf0f3;
    color: #8d97a3;
    font-size: 10px;
    line-height: 1.5;
}

.customer-login__security-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #effbf5;
    color: #159057;
    font-size: 11px;
    font-weight: 900;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 768px) {
    .customer-login__hero {
        padding: 14px 14px 0;
    }

    .customer-login__hero-inner {
        height: 125px;
    }

    .customer-login__content {
        padding: 32px 14px 50px;
    }

    .customer-login__card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .customer-login__brand {
        margin-bottom: 28px;
    }

    .customer-login__method {
        grid-template-columns: 38px 1fr;
    }

    .customer-login__method-badge {
        grid-column: 2;
    }
}

@media (max-width: 480px) {
    .customer-login__hero-inner {
        height: 100px;
    }

    .customer-login__card {
        padding: 24px 16px;
    }

    .customer-login__header h1 {
        font-size: 30px;
    }

    .customer-login__method-copy span {
        font-size: 10px;
    }
}