
/* Professional sidebar dashboard (mirror) */
.bdm-layout{ display:flex; width:100%; min-height:520px; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; color:#eaf0ff; }
.bdm-layout *{ box-sizing:border-box; }

.bdm-sidebar{
  width:260px; min-width:240px;
  background: linear-gradient(180deg,#0b1220 0%,#070a12 100%);
  border:1px solid rgba(255,255,255,.10);
  border-right:none;
  border-radius:16px 0 0 16px;
  padding:14px 12px;
}
.bdm-brand{ display:flex; gap:10px; align-items:center; padding:8px 10px 14px; border-bottom:1px solid rgba(255,255,255,.08); margin-bottom:10px; }
.bdm-dot{ width:10px; height:10px; border-radius:999px; background: linear-gradient(90deg, rgba(99,102,241,.95), rgba(16,185,129,.9)); }
.bdm-brandtxt{ font-weight:800; letter-spacing:.2px; font-size:14px; opacity:.95; }

.bdm-menu{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:4px; }
.bdm-menu li{ margin:0; }
.bdm-menu a{
  display:flex; align-items:center;
  padding:10px 10px;
  border-radius:12px;
  color:#dbe7ff; text-decoration:none;
  border:1px solid transparent;
  background: rgba(255,255,255,.03);
}
.bdm-menu a:hover{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); }
.bdm-menu .current-menu-item > a,
.bdm-menu .current-menu-ancestor > a{ background: rgba(99,102,241,.18); border-color: rgba(99,102,241,.28); }
.bdm-link{ display:block; width:100%; font-size:14px; font-weight:650; }
.bdm-hint{ padding:10px 10px; border-radius:12px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); font-size:13px; color: rgba(234,240,255,.8); }

.bdm-main{
  flex:1;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:0 16px 16px 0;
  padding:14px;
  overflow:hidden;
}
.bdm-topbar{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.bdm-title{ margin:0; font-size:22px; }
.bdm-sub{ margin-top:6px; color: rgba(234,240,255,.72); font-size:13px; }
.bdm-actions{ display:flex; gap:10px; align-items:center; }
.bdm-search{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:#eaf0ff;
  outline:none;
  min-width:240px;
}
.bdm-search:focus{ box-shadow:0 0 0 4px rgba(99,102,241,.18); border-color: rgba(99,102,241,.40); }
.bdm-btn{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:#eaf0ff;
  cursor:pointer;
}
.bdm-btn:hover{ filter: brightness(1.08); }
.bdm-btn:disabled{ opacity:.5; cursor:not-allowed; }

.bdm-kpis{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px; margin-bottom:12px; }
.bdm-kpi{ padding:12px; border-radius:16px; border:1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.16); }
.bdm-kpi-label{ font-size:13px; color: rgba(234,240,255,.75); }
.bdm-kpi-value{ margin-top:6px; font-size:22px; font-weight:900; }

.bdm-card{ padding:12px; border-radius:16px; border:1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.16); }
.bdm-cardtitle{ font-weight:900; margin-bottom:10px; }

.bdm-tablewrap{ overflow:auto; border-radius:12px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.02); }
.bdm-table{ width:100%; border-collapse: collapse; min-width:640px; }
.bdm-table th, .bdm-table td{ padding:10px; border-bottom:1px solid rgba(255,255,255,.08); font-size:13px; vertical-align: top; }
.bdm-table th{ text-align:left; position: sticky; top:0; background: rgba(0,0,0,.22); color: rgba(234,240,255,.78); font-weight:750; }
.bdm-table tr:hover td{ background: rgba(255,255,255,.03); }

.bdm-pager{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:10px; flex-wrap:wrap; }
.bdm-pageinfo{ font-size:13px; color: rgba(234,240,255,.72); }

.bdm-msg{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(234,240,255,.85);
  font-size:13px;
}

.bdm-error{ color:#ffe5e5; background: rgba(239,68,68,.14); border-color: rgba(239,68,68,.25); }
.bdm-warn{ color:#fff6cc; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.25); }

@media (max-width: 900px){
  .bdm-layout{ flex-direction: column; }
  .bdm-sidebar{ width:100%; min-width:0; border-radius:16px 16px 0 0; border-right:1px solid rgba(255,255,255,.10); }
  .bdm-main{ border-radius:0 0 16px 16px; }
  .bdm-search{ min-width:0; width:100%; }
  .bdm-actions{ width:100%; }
}
