:root {
    --auth-primary: #0F172A;
    --auth-accent: #10B981;
    --auth-bg: #F8FAFC;
    --auth-border: #E2E8F0;
    --auth-text: #334155;
    --auth-text-muted: #64748B;
    --auth-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body.auth-page {
    font-family: 'Inter', sans-serif;
    background-color: var(--auth-bg);
    color: var(--auth-text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-container {
    background: #FFFFFF;
    width: 100%;
    max-width: 440px;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--auth-shadow);
    border: 1px solid var(--auth-border);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 28px;
    font-weight: 800;
    color: var(--auth-accent);
    font-family: 'Inter', sans-serif;
}

.auth-logo a span {
    color: inherit;
}

.auth-logo a .logo-accent {
    color: inherit;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--auth-primary);
}

.auth-header p {
    color: var(--auth-text-muted);
    font-size: 15px;
}

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

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--auth-primary);
}

.auth-form input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    background-color: #FFFFFF;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.auth-options a {
    color: var(--auth-accent);
    font-weight: 600;
    text-decoration: none;
}

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

.btn-auth {
    width: 100%;
    padding: 14px;
    background-color: var(--auth-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-auth:hover {
    background-color: #1E293B;
    transform: translateY(-1px);
}

/* Social Login */
.social-divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
    color: var(--auth-text-muted);
    font-size: 13px;
}

.social-divider::before, .social-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--auth-border);
}

.social-divider span {
    padding: 0 16px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--auth-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-social:hover {
    background-color: var(--auth-bg);
    border-color: var(--auth-text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--auth-text-muted);
}

.auth-footer a {
    color: var(--auth-accent);
    font-weight: 700;
    text-decoration: none;
}

/* Error Messages */
.error-box {
    background-color: #FEF2F2;
    color: #B91C1C;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid #FEE2E2;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 32px 24px;
    }
}
