/**
 * Custom Clean Login Styles (Zero WooCommerce Dependencies)
 * Save to: your-theme/css/custom-login.css
 */
:root {
    --auth-primary: #0284c7;
    --auth-primary-hover: #0369a1;
    --auth-bg-card: #ffffff;
    --auth-text-main: #0f172a;
    --auth-text-muted: #64748b;
    --auth-border: #e2e8f0;
    --auth-radius: 12px;
}

.custom-auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.custom-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--auth-bg-card);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius);
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}

.custom-auth-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--auth-text-main);
}

.custom-auth-header p {
    margin: 0 0 1.5rem 0;
    font-size: 0.875rem;
    color: var(--auth-text-muted);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--auth-text-main);
    margin-bottom: 0.4rem;
}

.form-group .required {
    color: #ef4444;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lost-pass-link {
    font-size: 0.75rem;
    color: var(--auth-primary);
    text-decoration: none;
}
.lost-pass-link:hover {
    text-decoration: underline;
}

.form-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Modern Hover: Eliminates clumsy onmouseover/onmouseout JS inline handlers */
.custom-submit-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--auth-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.05s ease;
    margin-top: 0.5rem;
}

.custom-submit-btn:hover {
    background-color: var(--auth-primary-hover);
}

.custom-submit-btn:active {
    transform: scale(0.99);
}

.auth-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}
.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}
.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.recaptcha-box-wrapper {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.custom-social-login {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--auth-border);
}
.social-divider {
    text-align: center;
    font-size: 0.75rem;
    color: var(--auth-text-muted);
    margin-bottom: 0.75rem;
}
.social-btn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
}
.btn-social {
    padding: 0.5rem;
    font-size: 0.8125rem;
    border: 1px solid var(--auth-border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
.btn-social:hover {
    background: #f8fafc;
}

.custom-auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--auth-text-muted);
}
.custom-auth-footer a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 600;
}
.custom-auth-footer a:hover {
    text-decoration: underline;
}