/* SConnect Auth Pages Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --sc-primary: #2563eb;
    --sc-primary-light: #3b82f6;
    --sc-primary-dark: #1d4ed8;
    --sc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--sc-font);
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-auth-container {
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
}

.sc-auth-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.sc-auth-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.sc-auth-header img {
    height: 48px;
    margin-bottom: 1rem;
}

.sc-auth-header h3 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.sc-auth-header p {
    color: #64748b;
    font-size: 0.875rem;
}

.sc-auth-body {
    padding: 1rem 2rem 2rem;
}

.sc-auth-footer {
    padding: 1rem 2rem;
    background: #f8fafc;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.sc-auth-footer a {
    color: var(--sc-primary);
    text-decoration: none;
    font-weight: 500;
}

.sc-auth-footer a:hover {
    text-decoration: underline;
}

.sc-auth-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: var(--sc-font);
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #f8fafc;
}

.sc-auth-input:focus {
    outline: none;
    border-color: var(--sc-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
    background: #ffffff;
}

.sc-auth-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--sc-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--sc-font);
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.sc-auth-btn:hover {
    background: var(--sc-primary-dark);
    transform: translateY(-1px);
}

.sc-auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #94a3b8;
    font-size: 0.8125rem;
}

.sc-auth-divider::before,
.sc-auth-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid #e2e8f0;
}

.sc-auth-divider span {
    padding: 0 0.75rem;
}

.sc-auth-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border: 1px solid #fecaca;
}

.sc-auth-success {
    background: #f0fdf4;
    color: #16a34a;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border: 1px solid #bbf7d0;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}

.sc-auth-link {
    display: block;
    text-align: right;
    font-size: 0.8125rem;
    color: var(--sc-primary);
    text-decoration: none;
    margin-top: 0.5rem;
}

.sc-auth-link:hover {
    text-decoration: underline;
}

/* Lockout page */
.sc-lockout-icon {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .sc-auth-container {
        padding: 1rem;
    }

    .sc-auth-body {
        padding: 1rem 1.5rem 1.5rem;
    }

    .sc-auth-header {
        padding: 1.5rem 1.5rem 0.5rem;
    }
}
