/* ==========================================================================
   Login Page Styles - Switzer Report Theme
   ========================================================================== */

/* Login uses a minimal layout: no nav, no top-bar, centered card */
body.login-page {
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Minimal Header (same pattern as subscribe page) */
.login-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 32px 0;
    text-align: center;
}

.login-header .masthead {
    font-size: 56px;
}

.login-header .masthead-sub {
    font-size: 56px;
}

/* Login Container */
.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.login-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.login-card-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-card-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-card-header p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Error Message */
.login-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--error-red);
}

.login-error svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Support Help Banner (appears after 2 failed attempts) */
.login-support {
    background: rgba(21, 190, 240, 0.06);
    border: 1px solid rgba(21, 190, 240, 0.2);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 24px;
    text-align: center;
}

.login-support-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.login-support-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.login-support h4 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.login-support p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.btn-support {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-support:hover {
    background: var(--accent-highlight);
    color: white;
}

.btn-support svg {
    width: 16px;
    height: 16px;
}

/* Form Styles */
.login-card .form-group {
    margin-bottom: 20px;
}

.login-card .form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-card .form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg-white);
}

.login-card .form-input:focus {
    outline: none;
    border-color: var(--accent-warm);
    box-shadow: 0 0 0 3px rgba(182, 165, 131, 0.15);
}

.login-card .form-input::placeholder {
    color: var(--text-tertiary);
}

/* Remember Me + Forgot Password Row */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-warm);
    cursor: pointer;
}

.forgot-password {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--accent-highlight);
}

/* Sign In Button */
.btn-signin {
    width: 100%;
    padding: 16px;
    background: var(--accent-warm);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}

.btn-signin:hover {
    background: var(--accent-gold);
}

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

/* Secure Badge */
.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--text-tertiary);
}

.secure-badge svg {
    width: 14px;
    height: 14px;
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
    gap: 16px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.login-divider span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Subscribe Link */
.login-subscribe {
    text-align: center;
}

.login-subscribe p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
}

.login-subscribe a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.login-subscribe a:hover {
    color: var(--accent-highlight);
}

/* Footer */
.login-footer {
    text-align: center;
    padding: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-tertiary);
}

.login-footer a {
    color: var(--text-tertiary);
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--accent-warm);
}

/* Responsive */
@media (max-width: 768px) {
    .login-header .masthead,
    .login-header .masthead-sub {
        font-size: 36px;
    }

    .login-wrapper {
        padding: 40px 16px;
    }

    .login-card {
        padding: 36px 28px;
    }

    .login-card-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .login-header .masthead,
    .login-header .masthead-sub {
        font-size: 28px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ==========================================================================
   Phone Support Block (forgot-password, login pages)
   ========================================================================== */

.login-phone-support {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--bg-warm, #f8f7f4);
    border-radius: 8px;
    border: 1px solid var(--border-light, #e8e6e1);
}

.login-phone-support svg {
    flex-shrink: 0;
    color: var(--accent-warm, #1d93bd);
}

.login-phone-support p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary, #5a6872);
    margin: 0 0 2px;
}

.login-phone-support a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--accent-warm, #1d93bd);
    text-decoration: none;
}

.login-phone-support a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Logo Mark (teal circle with S)
   ========================================================================== */

.login-logo-link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}

.login-logo-mark {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1d93bd 0%, #215b81 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.login-logo-s {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1;
}
