:root {
    --primary: #0066FF;
    --primary-hover: #0052cc;
    --bg: #f0f2f5;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-secondary: #64748b;
    --muted: #94a3b8;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0052cc 0%, #0066FF 50%, #3399ff 100%);
    color: var(--text);
    min-height: 100vh;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 24px;
    gap: 24px;
}

.card {
    background: #fff;
    width: min(420px, 100%);
    border-radius: 16px;
    padding: 40px 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.card__header h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.card__header p {
    margin: 0 0 28px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.card__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.field { text-align: left; }

.field input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
    background: #fff;
}

.field input::placeholder { color: var(--muted); }

.primary-button {
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease, transform 0.1s ease;
}

.primary-button:hover { background: var(--primary-hover); }
.primary-button:active { transform: scale(0.98); }

.footer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
