/* ============================================================
   AUTH SECTION  (Login & Sign Up)
   Layout: left form column + right decorative image column
   ============================================================ */

.auth-section {
    display: grid;
    grid-template-columns: 7fr 5fr;
    min-height: 700px;
    padding-bottom: 120px;
}

/* ── Left column ── */
.auth-section__left {
    padding: 80px 7vw 60px 6.9vw;
}

/* ── Right column – decorative sofa image ── */
.auth-section__right {
    background-image: url('../images/auth-sofa.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 500px;
}

/* ── Heading ── */
.auth-section__heading {
    margin-bottom: 32px;
}

.auth-section__heading h1 {
    margin: 0 0 12px;
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--fs-h5);
    font-weight: var(--font-weight-extralight);
    letter-spacing: 0.96px;
    line-height: 1;
    text-transform: uppercase;
}

.auth-section__heading p {
    margin: 0;
    color: var(--color-gray-700);
    font-family: var(--font-primary);
    font-size: var(--fs-h11);
    font-weight: var(--font-weight-extralight);
    letter-spacing: 0.48px;
    line-height: 1.4;
}

/* ── Form ── */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 524px;
    margin: 0 0 32px;
}

/* Single field */
.auth-form__field {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-off-white);
}

.auth-form__field input {
    width: 100%;
    height: 48px;
    padding: 0 24px;
    border: none;
    background: transparent;
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--fs-h11);
    font-weight: var(--font-weight-extralight);
    letter-spacing: 0.48px;
    line-height: 1.4;
    outline: none;
}

.auth-form__field input::placeholder {
    color: var(--color-gray-800);
}

.auth-form__field input:focus {
    box-shadow: inset 0 0 0 1px var(--color-primary);
}

/* Address + postcode row */
.auth-form__field-row {
    display: flex;
    gap: 8px;
}

.auth-form__field--wide {
    flex: 1;
}

.auth-form__field--narrow {
    width: 150px;
    flex-shrink: 0;
}

/* Password eye toggle */
.auth-form__field--password input {
    padding-right: 52px;
}

.auth-form__eye {
    position: absolute;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
}

/* Submit button */
.auth-form__actions {
    margin-top: 6px;
}

.auth-form__actions .btn-primary-full {
    width: 100%;
    max-width: 524px;
    letter-spacing: 1.6px;
}

/* WooCommerce notices */
.auth-section .woocommerce-error,
.auth-section .woocommerce-message,
.auth-section .woocommerce-info {
    max-width: 524px;
    margin-bottom: 24px;
    border-top-color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--fs-h13);
}

.auth-section .woocommerce-error::before,
.auth-section .woocommerce-message::before,
.auth-section .woocommerce-info::before {
    color: var(--color-primary);
}

/* ── Footer meta (forgot / switch) ── */
.auth-section__meta {
    max-width: 524px;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-section__forgot a,
.auth-section__switch {
    font-family: var(--font-primary);
    font-size: var(--fs-h11);
    font-weight: var(--font-weight-extralight);
    letter-spacing: 0.48px;
    line-height: 1.4;
    color: var(--color-black);
}

.auth-section__forgot a {
    text-decoration: none;
}

.auth-section__forgot a:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
}

.auth-section__switch a {
    margin-left: 14px;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .auth-section {
        grid-template-columns: 1fr;
        padding-bottom: 50px;
    }

    .auth-section__left {
        padding: 48px 4vw 32px;
    }

    /* Figma mobile: decorative sofa shown full-width below the form */
    .auth-section__right {
        display: block;
        min-height: 0;
        width: 100%;
        aspect-ratio: 390 / 222;
        background-size: cover;
        background-position: center bottom;
    }
}

@media (max-width: 420px) {
    .auth-section__left {
        padding: 36px 4vw 40px;
    }

    /* Keep ΔΙΕΥΘΥΝΣΗ + Τ.Κ. side-by-side (Figma mobile), just a slimmer Τ.Κ. */
    .auth-form__field--narrow {
        width: 120px;
    }
}
