/* ── Auth pages (login / register) ──────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 40px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.auth-logo {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 24px;
}

.auth-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.auth-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: left;
}

.auth-error p {
    margin: 2px 0;
}

.auth-form {
    text-align: left;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #444;
}

.auth-form input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s;
}

.auth-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.auth-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.auth-btn:hover {
    background: #333;
}

.auth-switch {
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.auth-switch a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

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

.auth-forgot {
    margin-top: 12px;
    font-size: 13px;
}

.auth-forgot a {
    color: #6b7280;
    text-decoration: none;
}

.auth-forgot a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.auth-hint {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.auth-back {
    margin-top: 16px;
    font-size: 13px;
}

.auth-back a {
    color: #6b7280;
    text-decoration: none;
}

.auth-back a:hover {
    color: #3b82f6;
    text-decoration: underline;
}
