:root {
    --bg-main: #fff7ec;
    --bg-card: #ffffff;
    --accent: #ff9e2c;
    --accent-soft: #ffe2b8;
    --accent-secondary: #ffc857;
    --accent-strong: #ff7a00;
    --text-main: #3a2b2b;
    --text-muted: #7b6f6f;
    --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.06);
    --radius-lg: 18px;
    --radius-pill: 999px;
}

body.auth-body {
    margin: 0;
    font-family: 'Nunito', 'Baloo 2', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #ffe1b3 0, #fff7ec 40%, #fffdfa 100%);
    color: var(--text-main);
}

main.auth-content,
.auth-content {
    max-width: 480px;
    margin: 40px auto;
    padding: 0 16px;
}

.auth-card {
    background: var(--bg-card);
    padding: 24px 22px 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(0, 0, 0, 0.03);
}

.auth-card h1 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1.6rem;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.auth-form-group {
    margin-bottom: 12px;
}

.auth-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.auth-input,
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.auth-card input[type="number"] {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    padding: 9px 10px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
}

.auth-card input[type="email"]:focus,
.auth-card input[type="password"]:focus,
.auth-card input[type="text"]:focus,
.auth-card input[type="number"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 158, 44, 0.35);
}

.auth-btn,
.auth-card .btn {
    background: var(--accent-strong);
    color: #000;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    margin-top: 4px;
}

.auth-btn:hover,
.auth-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background: #f3f4f6;
    color: #111;
}

.auth-link-btn,
.auth-card .link-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: var(--accent-strong);
    cursor: pointer;
    text-decoration: none;
}

.auth-link-btn:hover,
.auth-card .link-btn:hover {
    text-decoration: underline;
}

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

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

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

.auth-notice {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #e8fff1;
    color: #0f5132;
    font-size: 0.9rem;
    border: 1px solid #badbcc;
}

.auth-errors {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffe3e3;
    color: #8b1f1f;
    font-size: 0.9rem;
}

.auth-errors ul {
    margin: 0;
    padding-left: 18px;
}

.auth-success {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #e6ffea;
    color: #145c2e;
    font-size: 0.9rem;
}

.auth-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.auth-summary strong {
    color: var(--text-main);
}
