:root {
    color-scheme: light;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #eef3ff;
    color: #0f172a;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #eef3ff 0%, #f8fbff 100%);
    color: #0f172a;
}

main {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
}

.grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.1fr 0.9fr;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

input, button {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

button.secondary {
    background: #0f172a;
}

form .field {
    margin-bottom: 16px;
}

small {
    color: #64748b;
}

.message {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.message.success {
    background: #dcfce7;
    color: #166534;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
