:root {
    --brand: #2b6cb0;
    --brand-dark: #1e4e8c;
    --bg: #f4f6f9;
    --text: #1a202c;
    --muted: #6b7280;
    --border: #e2e8f0;
    --danger-bg: #fdecea;
    --danger-text: #b3261e;
    --info-bg: #e8f1fb;
    --info-text: #1e4e8c;
}

* { box-sizing: border-box; }

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

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

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.auth-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.auth-logo-text {
    font-weight: 600;
    font-size: 18px;
}

.auth-card h1 {
    font-size: 22px;
    margin: 0 0 6px;
}

.auth-subtitle {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 20px;
}

.auth-alert {
    background: var(--danger-bg);
    color: var(--danger-text);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.auth-alert-info {
    background: var(--info-bg);
    color: var(--info-text);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form label {
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.auth-form input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 15px;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(43,108,176,0.15);
}

.auth-code-input {
    letter-spacing: 8px;
    font-size: 22px;
    text-align: center;
}

.auth-btn {
    margin-top: 20px;
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.auth-btn:hover { background: var(--brand-dark); }

.auth-footnote {
    margin-top: 20px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.auth-resend-form {
    text-align: center;
    margin-top: 12px;
}

.auth-link-btn {
    background: none;
    border: none;
    color: var(--brand);
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}
