/* Auth Pages Styling - Gray/White/Black Theme */
:root {
    --auth-bg: #f5f5f5;
    --auth-card-bg: #ffffff;
    --auth-text: #1a1a1a;
    --auth-text-secondary: #666666;
    --auth-border: #e0e0e0;
    --auth-input-bg: #fafafa;
    --auth-primary: #2d2d2d;
    --auth-primary-hover: #1a1a1a;
    --auth-error-bg: #fee;
    --auth-error-color: #c00;
    --auth-error-border: #faa;
    --auth-success-bg: #efe;
    --auth-success-color: #0a0;
    --auth-success-border: #afa;
    --auth-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --auth-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--auth-bg);
    color: var(--auth-text);
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-box {
    background: var(--auth-card-bg);
    border-radius: 12px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--auth-shadow-md);
    border: 1px solid var(--auth-border);
}

.auth-box h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: var(--auth-primary);
}

.auth-box p {
    text-align: center;
    color: var(--auth-text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--auth-text);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    background: var(--auth-input-bg);
    color: var(--auth-text);
    border: 1.5px solid var(--auth-border);
    border-radius: 6px;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus {
    border-color: var(--auth-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(45, 45, 45, 0.05);
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-error {
    background: var(--auth-error-bg);
    color: var(--auth-error-color);
    border-color: var(--auth-error-border);
}

.alert-success {
    background: var(--auth-success-bg);
    color: var(--auth-success-color);
    border-color: var(--auth-success-border);
}

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

.btn:hover {
    background: var(--auth-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--auth-shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--auth-text-secondary);
    font-size: 0.9rem;
}

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

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

/* Responsive */
@media (max-width: 480px) {
    .auth-box {
        padding: 30px 20px;
    }

    .auth-box h1 {
        font-size: 1.5rem;
    }
}
