body { font-family: -apple-system, Arial, sans-serif; margin: 0; background: #F1EFE8; color: #0B1F4E; }

.topnav { background: #0B1F4E; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.topnav a { color: #fff; text-decoration: none; font-size: 14px; }
.topnav a:hover { text-decoration: underline; }
.topnav .brand { color: #1E82F0; font-weight: bold; margin-right: 20px; }
.topnav .logout { margin-left: 0; }
.lang-switch { margin-left: auto; display: flex; gap: 6px; }
.lang-switch a { padding: 4px 8px; border-radius: 4px; background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; font-weight: 500; font-size: 13px; }
.lang-switch a.active { background: #1E82F0; }
.lang-switch--login { position: absolute; top: 16px; right: 16px; }

.page { padding: 24px; max-width: 800px; margin: 0 auto; }

.login-page { display: flex; align-items: center; justify-content: center; height: 100vh; position: relative; }
.login-form { background: #fff; padding: 32px; border-radius: 10px; width: 320px; display: flex; flex-direction: column; gap: 12px; }
.login-form h1 { color: #0B1F4E; margin: 0; }
.login-form .subtitle { margin: 0 0 8px; color: #666; font-size: 13px; }
.login-form input { padding: 8px; border: 1px solid #ccc; border-radius: 6px; }
.login-form button { background: #1E82F0; color: #fff; border: none; padding: 10px; border-radius: 6px; cursor: pointer; }
.error { color: #C0392B; font-size: 13px; }

.hint { color: #666; font-size: 13px; }
.status-ok { color: #1B8A5A; font-weight: 500; }
.status-bad { color: #C0392B; font-weight: 500; }
.status-pending { color: #B8860B; font-weight: 500; }

table { width: 100%; border-collapse: collapse; background: #fff; }
table th, table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eee; font-size: 14px; }

#request-form { background: #fff; padding: 16px; border-radius: 8px; display: flex; flex-direction: column; gap: 10px; max-width: 400px; }
#request-form select, #request-form textarea { padding: 6px; border: 1px solid #ccc; border-radius: 6px; }
#request-form button { background: #1E82F0; color: #fff; border: none; padding: 8px; border-radius: 6px; cursor: pointer; }

.modal { position: fixed; inset: 0; background: rgba(11,31,78,0.6); display: flex; align-items: center; justify-content: center; }
.modal.hidden { display: none; }
.modal-box { background: #fff; padding: 24px; border-radius: 10px; max-width: 360px; text-align: center; }
.code-display { display: block; font-size: 20px; font-weight: bold; background: #F1EFE8; padding: 12px; border-radius: 8px; margin: 12px 0; letter-spacing: 1px; }
