:root{
  --bg: #0b1220;
  --panel: rgba(15, 26, 46, .78);
  --card: rgba(15, 26, 46, .78);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --brand: #7c3aed;
  --brand2: #22d3ee;
}

.admin-body{
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(124,58,237,.25), transparent 60%),
    radial-gradient(900px 500px at 80% 0%, rgba(34,211,238,.18), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.admin-shell{
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.admin-sidebar{
  border-right: 1px solid var(--stroke);
  padding: 18px;
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.brand{
  display:flex; gap:12px; align-items:center;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  margin-bottom: 14px;
}
.logo-dot{
  width: 38px; height: 38px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 30px rgba(124,58,237,.25);
}
.brand-text small{ color: var(--muted); display:block; margin-top:-2px; }

.menu{ display:flex; flex-direction:column; gap:6px; }
.menu-section{
  margin: 10px 8px 4px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-item{
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
  text-decoration:none;
  border: 1px solid transparent;
}
.menu-item i{ font-size: 18px; opacity: .95; }
.menu-item:hover{
  background: rgba(255,255,255,.04);
  border-color: var(--stroke);
}
.menu-item.active{
  background: rgba(124,58,237,.18);
  border-color: rgba(124,58,237,.35);
}
.menu-item.danger{ color: #ffb4b4; }
.menu-sep{ height: 10px; }

.sidebar-footer{
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.02);
}

.admin-main{ padding: 18px; }

.admin-topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}

.admin-topbar .title small{ color: var(--muted); }

.user-chip{
  display:flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
}

.admin-content{ margin-top: 14px; }

/* Cards e forms */
.card{
  background: var(--card) !important;
  border: 1px solid var(--stroke) !important;
  color: var(--text);
  border-radius: 18px !important;
}

.table{
  color: var(--text);
}
.table td, .table th{
  border-color: rgba(255,255,255,.08) !important;
}
.table thead th{
  color: rgba(255,255,255,.8);
  font-weight: 600;
}

.form-control, .form-select, textarea{
  background: rgba(255,255,255,.03) !important;
  border: 1px solid var(--stroke) !important;
  color: var(--text) !important;
  border-radius: 14px !important;
}
.form-control::placeholder{ color: rgba(255,255,255,.45); }

.btn{
  border-radius: 14px !important;
}
.btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2)) !important;
  border: none !important;
}
.btn-outline-light{
  border-color: rgba(255,255,255,.20) !important;
}

/* Responsivo */
@media (max-width: 992px){
  .admin-shell{ grid-template-columns: 1fr; }
  .admin-sidebar{ position: sticky; top:0; z-index: 5; }
}
