body { font-family: Arial, sans-serif; background: #0f1117; color: #eef2ff; margin: 0; }
a { color: #9ec5ff; text-decoration: none; }
button, .button { background: #5865f2; color: #fff; border: 0; padding: 10px 14px; border-radius: 8px; cursor: pointer; display: inline-block; }
button.danger, .danger { background: #b42318; }
input, textarea, select { width: 100%; box-sizing: border-box; padding: 10px; border-radius: 8px; border: 1px solid #2d3748; background: #111827; color: #fff; }
textarea { resize: vertical; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #283042; vertical-align: top; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #151927; border-bottom: 1px solid #283042; }
.topnav { display: flex; gap: 12px; align-items: center; }
.container { padding: 20px; }
.grid { display: grid; gap: 20px; margin-bottom: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #171b2a; border: 1px solid #283042; border-radius: 14px; padding: 18px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.compact-form { gap: 10px; }
.auth-card { max-width: 420px; margin: 40px auto; }
.badge, .mini-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #273449; }
.badge.ok { background: #123524; }
.mini-badge { margin: 2px 4px 2px 0; font-size: 12px; }
.actions-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline-form { display: inline-block; }
.status-box { display: grid; gap: 8px; margin-top: 14px; }
.alert { margin-top: 12px; padding: 12px; border-radius: 10px; }
.alert.error { background: #40181d; border: 1px solid #8f1d2c; }
.key-box { white-space: pre-wrap; word-break: break-all; background: #0b1020; border: 1px solid #283042; padding: 14px; border-radius: 10px; }
.top-gap { margin-top: 18px; }
.admin-actions { display: flex; flex-direction: column; gap: 8px; min-width: 160px; }
@media (max-width: 1100px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }
