* { box-sizing: border-box; }
body { font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 9999px; }

.bg-brand {
    position: fixed;
    inset: 0;
    background-image: url('/assets/img/background.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
}
.bg-brand.bg-brand-dim { opacity: 0.10; }
.bg-content { position: relative; z-index: 1; }

.card {
    background: #141414;
    border: 1px solid #262626;
    border-radius: 14px;
}

.input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #e5e7eb;
}
.input:focus { outline: none; border-color: #d4af37; }
.label { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #6b7280; margin-bottom: 6px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
    cursor: pointer; border: none; transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.1); }
.btn-primary { background: #d4af37; color: #1a1a1a; }
.btn-secondary { background: transparent; border: 1px solid #262626; color: #d1d5db; }
.btn-danger { background: rgba(239,68,68,.15); color: #f87171; }
.btn-success { background: rgba(34,197,94,.15); color: #4ade80; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-icon { padding: 8px; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 9999px; font-size: 11px; font-weight: 600; }
.badge-amber { background: rgba(217,119,6,.15); color: #fbbf24; }
.badge-blue { background: rgba(37,99,235,.15); color: #60a5fa; }
.badge-green { background: rgba(34,197,94,.15); color: #4ade80; }
.badge-red { background: rgba(239,68,68,.15); color: #f87171; }
.badge-gray { background: rgba(156,163,175,.15); color: #9ca3af; }

.tab { padding: 8px 16px; border-radius: 9999px; font-size: 13px; font-weight: 500; border: 1px solid #262626; color: #9ca3af; white-space: nowrap; }
.tab.active { background: #d4af37; border-color: #d4af37; color: #1a1a1a; }

.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 50;
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-box {
    background: #141414; border: 1px solid #262626; border-radius: 16px;
    width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; padding: 24px;
}
.hidden { display: none !important; }

table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data-table th { text-align: left; padding: 10px 12px; color: #6b7280; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid #262626; }
table.data-table td { padding: 12px; border-bottom: 1px solid #1a1a1a; color: #e5e7eb; }
table.data-table tr:hover td { background: rgba(255,255,255,.02); }
