* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: #f4f6f8; color: #152033; }
.topbar { height: 58px; background: #111827; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.topbar span { margin-left: 10px; color: #9ca3af; }
.topbar a { color: #fff; text-decoration: none; }
.wrap { max-width: 1180px; margin: 28px auto; padding: 0 18px; }
.heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
h1 { margin: 0 0 8px; font-size: 24px; }
p { margin: 0; color: #64748b; }
.panel { background: #fff; border: 1px solid #dde3ea; border-radius: 8px; padding: 20px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05); }
.auth { max-width: 420px; margin: 60px auto; }
label { display: block; font-weight: 700; font-size: 13px; color: #334155; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 10px 11px; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; }
textarea { min-height: 80px; }
button, .button { display: inline-block; background: #0f5bd7; color: #fff; border: 0; border-radius: 6px; padding: 11px 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
form button { margin-top: 10px; }
.alert { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; padding: 10px; border-radius: 6px; margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
th { font-size: 12px; color: #64748b; text-transform: uppercase; }
code { background: #eef2ff; padding: 4px 6px; border-radius: 4px; }
.status { display: inline-block; padding: 4px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; background: #e2e8f0; }
.status.active { background: #dcfce7; color: #166534; }
.status.suspended { background: #fee2e2; color: #991b1b; }
.status.expired { background: #ffedd5; color: #9a3412; }
.grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.grid-form .full { grid-column: 1 / -1; }
details summary { cursor: pointer; color: #0f5bd7; font-weight: 700; }
details .grid-form { min-width: 560px; margin-top: 12px; }
@media (max-width: 760px) {
    .heading { align-items: flex-start; flex-direction: column; }
    .grid-form { grid-template-columns: 1fr; }
    table { display: block; overflow-x: auto; }
}
