body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 100vh;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.card {
    background: #1e293b;
    padding: 24px;
    border-radius: 12px;
    width: 100%;
    max-width: 368px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 600px), (max-height: 700px) {
    .container {
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@supports (height: 100svh) {
    .container { min-height: 100svh; }
}

input {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
}

button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #3b82f6;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    background: #2563eb;
}

a {
    color: #60a5fa;
    text-align: center;
    display: block;
}

.error {
    background: #7f1d1d;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
}

.big {
    font-size: 36px;
    text-align: center;
}
