/* WooCommerce account login/register screen — prototype override */
#customer_login {
    --otp-account-charcoal: #1F1F1F;
    --otp-account-charcoal-soft: #2A2A2A;
    --otp-account-charcoal-mid: #4A4A4A;
    --otp-account-gold: #B89968;
    --otp-account-gold-deep: #9C7F4F;
    --otp-account-cream: #F5F2EC;
    --otp-account-cream-pure: #FAFAF7;
    --otp-account-muted: #6B6B6B;
    --otp-account-hairline: rgba(31, 31, 31, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 22px 36px;
    background: var(--otp-account-cream);
    font-family: 'Manrope', 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--otp-account-charcoal);
}

#customer_login .u-column1,
#customer_login .u-column2 {
    float: none;
    width: auto;
    flex: 1 1 360px;
    max-width: 420px;
    margin: 0;
    padding: 28px 24px 26px;
    background: var(--otp-account-cream-pure);
    border: 1px solid var(--otp-account-hairline);
    box-shadow: none;
}

#customer_login h2 {
    margin: 0 0 18px;
    padding: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.5px;
    color: var(--otp-account-charcoal);
    text-transform: none;
}

#customer_login .woocommerce-form {
    margin: 0;
    padding: 0;
    border: 0;
}

#customer_login .form-row,
#customer_login .woocommerce-form-row {
    display: block;
    margin: 0 0 18px;
    padding: 0;
}

#customer_login .form-row label,
#customer_login .woocommerce-form-row label {
    display: block;
    margin: 0 0 8px;
    font-family: 'Manrope', 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--otp-account-charcoal);
}

#customer_login .required {
    color: var(--otp-account-gold);
    text-decoration: none;
}

#customer_login input.input-text,
#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"] {
    width: 100%;
    margin: 0;
    padding: 14px;
    background: var(--otp-account-cream-pure);
    border: 1px solid var(--otp-account-hairline) !important;
    border-bottom-color: var(--otp-account-charcoal-mid) !important;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    font-family: 'Manrope', 'Jost', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: var(--otp-account-charcoal);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#customer_login input.input-text:focus,
#customer_login input[type="text"]:focus,
#customer_login input[type="email"]:focus,
#customer_login input[type="password"]:focus {
    border-bottom-color: var(--otp-account-gold);
    box-shadow: 0 1px 0 0 var(--otp-account-gold);
}

#customer_login button.button,
#customer_login button.woocommerce-button,
#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-register__submit {
    display: block;
    width: 100%;
    margin: 8px 0 0;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    background: var(--otp-account-charcoal);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--otp-account-cream);
    cursor: pointer;
    font-family: 'Manrope', 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.4;
    text-align: center;
    text-shadow: none;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

#customer_login button.button::after,
#customer_login button.woocommerce-button::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--otp-account-gold);
}

#customer_login button.button:hover,
#customer_login button.woocommerce-button:hover,
#customer_login button.button:focus,
#customer_login button.woocommerce-button:focus {
    background: var(--otp-account-charcoal-soft);
    color: var(--otp-account-cream);
}

#customer_login .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0 0;
    color: var(--otp-account-charcoal-soft);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

#customer_login .woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid var(--otp-account-charcoal-mid);
    border-radius: 2px;
    accent-color: var(--otp-account-gold);
}

#customer_login .woocommerce-form-login__rememberme span {
    font-family: 'Manrope', 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--otp-account-charcoal-soft);
}

#customer_login .lost_password,
#customer_login .woocommerce-LostPassword {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--otp-account-hairline);
}

#customer_login .lost_password a,
#customer_login .woocommerce-LostPassword a,
#customer_login .woocommerce-privacy-policy-text a {
    color: var(--otp-account-gold-deep);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

#customer_login .lost_password a:hover,
#customer_login .woocommerce-LostPassword a:hover,
#customer_login .woocommerce-privacy-policy-text a:hover {
    border-bottom-color: var(--otp-account-gold);
}

#customer_login form.woocommerce-form-register > p:not(.form-row):not(.woocommerce-form-row),
#customer_login .woocommerce-privacy-policy-text p {
    margin: 0 0 18px;
    font-family: 'Manrope', 'Jost', sans-serif;
    font-size: 12px;
    line-height: 1.55;
    color: var(--otp-account-muted);
}

@media (max-width: 640px) {
    #customer_login {
        padding: 22px 14px 32px;
        gap: 20px;
    }

    #customer_login .u-column1,
    #customer_login .u-column2 {
        flex-basis: 100%;
        max-width: 100%;
        padding: 24px 20px 22px;
    }

    #customer_login h2 {
        font-size: 26px;
    }
}
