
:root {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    color: #f3f4f6;
    background: #0b1120;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(ellipse at top, #172554 0%, transparent 55%),
        #0b1120;
}

.container {
    width: min(100% - 32px, 440px);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 40px 0 24px;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 42px;
}

.logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #2563eb;
    color: white;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 8px 28px rgb(37 99 235 / 30%);
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 3px;
    font-size: 20px;
    letter-spacing: 2px;
}

.subtitle {
    margin-bottom: 0;
    color: #94a3b8;
    font-size: 13px;
}

.card {
    padding: 26px 22px;
    border: 1px solid #263449;
    border-radius: 22px;
    background: rgb(17 24 39 / 90%);
    box-shadow: 0 20px 60px rgb(0 0 0 / 20%);
}

.card h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.card > p {
    color: #a7b2c4;
    font-size: 14px;
    line-height: 1.6;
}

label {
    display: block;
    margin: 24px 0 8px;
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 600;
}

input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #374151;
    border-radius: 12px;
    outline: none;
    background: #0b1120;
    color: #f9fafb;
    font: inherit;
    font-size: 14px;
}

input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgb(96 165 250 / 15%);
}

button {
    width: 100%;
    min-height: 50px;
    margin-top: 14px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

button:hover {
    background: #1d4ed8;
}

button:active {
    transform: scale(0.99);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

button:disabled:hover {
    background: #2563eb;
}

[hidden] {
    display: none !important;
}

.status {
    margin: 18px 0 0;
    padding: 12px;
    border-radius: 10px;
    background: #1f2937;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

footer {
    margin-top: auto;
    padding-top: 36px;
    color: #64748b;
    font-size: 12px;
    text-align: center;
}

footer p {
    margin-bottom: 0;
}

@media (max-width: 380px) {
    .container {
        width: min(100% - 24px, 440px);
        padding-top: 28px;
    }

    .card {
        padding: 22px 18px;
    }
}
