* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg,
            #f8fafc 0%,
            #cccccc 50%,
            #f4f6f8 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    padding: 20px;
}


.page {
    width: 100%;
    max-width: 420px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

h1 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 1.75rem;
    color: #222;
}

.field {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #444;
}

input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
}

input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

button {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px;
    }

    h1 {
        font-size: 1.5rem;
    }
}

.flash {
    margin-bottom: 12px;
}