* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

:root {
    color-scheme: dark;
    font-family: system-ui, sans-serif;
}

body {
    margin: 0;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #0b1120;
    color: #e5e7eb;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #111827;
    border: 1px solid #263449;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px #0005;
}

header {
    text-align: center;
    margin-bottom: 35px;
}

.brand-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: auto;
    border-radius: 16px;
    background: #1d4ed8;
    color: white;
    font-size: 24px;
    font-weight: 800;
}

h1 {
    font-size: 30px;
    margin: 16px 0 4px;
    color: white;
}

header p,
.description {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

h2 {
    font-size: 18px;
    margin-bottom: 22px;
}

label {
    display: block;
    font-size: 14px;
    margin: 16px 0 8px;
}

input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #334155;
    border-radius: 9px;
    background: #0f172a;
    color: white;
    padding: 12px;
    font-size: 16px;
}

input:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-top: 22px;
    cursor: pointer;
}

button:disabled {
    opacity: .5;
    cursor: wait;
}

button.secondary {
    background: #1e293b;
    margin-top: 10px;
}

#code {
    text-align: center;
    letter-spacing: 8px;
    font-size: 24px;
}

#message {
    color: #fca5a5;
    font-size: 14px;
    line-height: 1.5;
}

#countdown {
    color: #93c5fd;
    text-align: center;
    font-size: 14px;
}

footer {
    border-top: 1px solid #263449;
    padding-top: 20px;
    margin-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}
