* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #111827; background: #f3f4f6; }
a { color: inherit; text-decoration: none; }
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: #0b1220; color: #e5e7eb; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sidebar__brand { font-weight: 700; letter-spacing: 0.2px; }
.sidebar__nav { display: flex; flex-direction: column; gap: 6px; }
.sidebar__link { padding: 10px 10px; border-radius: 10px; color: #e5e7eb; }
.sidebar__link:hover { background: rgba(255,255,255,0.08); }
.sidebar__sep { height: 1px; background: rgba(255,255,255,0.12); margin: 10px 0; }
.sidebar__logout { margin-top: auto; }
.main { padding: 18px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.topbar__title { font-weight: 700; }
.topbar__meta { font-size: 12px; color: #6b7280; }
.container { background: #fff; border-radius: 12px; padding: 16px; border: 1px solid #e5e7eb; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.w-full { width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid #d1d5db; background: #111827; color: #fff; cursor: pointer; }
.btn:hover { filter: brightness(1.05); }
.btn--ghost { background: transparent; color: #e5e7eb; border-color: rgba(255,255,255,0.2); }
.btn--secondary { background: #f3f4f6; color: #111827; }
.btn--danger { background: #b91c1c; border-color: #991b1b; color: #fff; }
.btn--link { background: transparent; border-color: transparent; color: #2563eb; padding: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.label { font-size: 12px; color: #6b7280; }
.input, .textarea, .select { border: 1px solid #d1d5db; border-radius: 10px; padding: 10px 12px; font-size: 14px; outline: none; }
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px; border-bottom: 1px solid #e5e7eb; vertical-align: top; font-size: 14px; }
.table th { font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.4px; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #f3f4f6; border: 1px solid #e5e7eb; font-size: 12px; }
.alert { padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; border: 1px solid #e5e7eb; }
.alert--success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.guest { min-height: 100vh; display: grid; place-items: center; padding: 18px; }
.guest__box { width: 100%; max-width: 440px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 820px) { .app { grid-template-columns: 1fr; } .sidebar { position: sticky; top: 0; } .grid-2 { grid-template-columns: 1fr; } }

