* { box-sizing: border-box; }
html, body { margin: 0; background: #0D1B2A; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; min-height: 100vh; }
.wrap { max-width: 520px; margin: 0 auto; padding: 24px 20px 48px; }

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.brand h1 { font-size: 22px; font-weight: 700; letter-spacing: 2px; margin: 0; }
.logo {
    width: 44px; height: 44px; border-radius: 12px; display: block;
    object-fit: contain; background: transparent;
}

.card {
    background: #111927; border-radius: 16px; padding: 22px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.card h2 { margin: 0 0 6px; font-size: 19px; font-weight: 600; }
.muted  { color: #B0BEC5; font-size: 13px; line-height: 1.5; }
.small  { font-size: 12px; }

.code-hint {
    margin: 16px 0 8px; padding: 10px 14px; border-radius: 10px;
    background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.35);
    font-size: 14px; color: #B0E7F7;
}
.code-hint strong { color: #fff; letter-spacing: 4px; font-size: 18px; }

form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #B0BEC5; }
input {
    appearance: none; border: 1px solid #3A4A5F; background: #0D1B2A; color: #fff;
    padding: 12px 14px; border-radius: 10px; font-size: 16px;
}
input:focus { outline: none; border-color: #00E5FF; box-shadow: 0 0 0 3px rgba(0,229,255,0.2); }

button {
    margin-top: 4px; padding: 14px; font-size: 16px; font-weight: 600;
    background: #00E5A0; color: #0D1B2A; border: 0; border-radius: 10px;
}
button:disabled { opacity: 0.6; }

.status { margin-top: 10px; font-size: 13px; min-height: 18px; }
.status.ok { color: #00E5A0; }
.status.error { color: #FF6B6B; }

footer { margin-top: 22px; text-align: center; }
