/* User Provided Auth Styles */
:root {
    --auth-card-bg: #ffffff;
    --auth-glass-border: rgba(0, 0, 0, 0.08);
    --auth-text-primary: #1a202c;
    --auth-text-secondary: #4a5568;
    --auth-accent: #0062CC;
    --auth-accent-hover: #004fb3;
    --auth-accent-glow: rgba(0, 98, 204, 0.15);
}

.auth-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 40px auto;
}

/* Glass Card */
.glass-card {
    background: var(--auth-card-bg);
    /* User requested solid or specific bg */
    border: 1px solid var(--auth-glass-border);
    border-radius: 32px;
    padding: 29px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    display: none;
    flex-direction: column;
}

.glass-card.active {
    display: flex;
}

/* Typography */
.glass-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: var(--auth-text-primary);
    line-height: 1.2;
}

.glass-card p.subtitle {
    color: var(--auth-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Form Controls */
.auth-wrapper .form-group {
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.auth-wrapper label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--auth-text-secondary);
    padding-left: 4px;
}

.auth-wrapper input.input-text,
.auth-wrapper input[type="text"],
.auth-wrapper input[type="password"],
.auth-wrapper input[type="email"] {
    width: 100%;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: var(--auth-text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 52px;
    /* Consistent height */
}

.auth-wrapper input:focus {
    background: #ffffff;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 4px var(--auth-accent-glow);
}

/* Buttons */
.auth-wrapper button.button,
.auth-wrapper .btn-primary {
    width: 100%;
    padding: 16px;
    margin-top: 12px;
    border: none;
    border-radius: 14px;
    background: var(--auth-accent) !important;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
    display: block;
}

.auth-wrapper button.button:hover,
.auth-wrapper .btn-primary:hover {
    background: var(--auth-accent-hover) !important;
}

.auth-wrapper .btn-secondary {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--auth-text-primary);
    padding: 12px;
    margin-top: 12px;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    transition: background 0.2s ease;
    text-align: center;
    display: block;
}

.auth-wrapper .btn-secondary:hover {
    background: #f1f5f9;
}

/* Links */
.auth-wrapper .footer-links {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--auth-text-secondary);
}

.auth-wrapper .link {
    color: var(--auth-accent);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.auth-wrapper .link:hover {
    text-decoration: underline;
}

.auth-wrapper .forgot-password-link {
    display: block;
    text-align: right;
    margin-top: -12px;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

/* Hide blobs (global handles it) */
.bg-blobs {
    display: none;
}

/* Remove default WC form styling that conflicts */
.woocommerce-form-login,
.woocommerce-form-register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Fix for WooCommerce Password Visibility Toggle */
.woocommerce-account .password-input {
    width: 100%;
    display: block;
    position: relative;
}

.woocommerce-account .show-password-input {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 0.8rem;
    color: var(--auth-text-secondary);
    font-weight: 600;
}