/* Dashboard Executiva Pro — escopado somente em #sec-dashboard */

#sec-dashboard.admin-dashboard-v2{
  padding-bottom:44px;
}

#sec-dashboard .admin-hero{
  border-radius:28px;
  background:linear-gradient(135deg,#650078,#3f004b);
  color:#fff;
  padding:28px;
  box-shadow:0 22px 54px rgba(101,0,120,.22);
}

#sec-dashboard .admin-hero .admin-eyebrow{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.20);
}

#sec-dashboard .admin-hero h2,
#sec-dashboard .admin-hero p{
  color:#fff;
}

#sec-dashboard .admin-filter-card,
#sec-dashboard .admin-panel,
#sec-dashboard .admin-kpi-card{
  border:1px solid rgba(148,163,184,.20);
  box-shadow:0 16px 36px rgba(15,23,42,.07);
}

#sec-dashboard .admin-filter-card{
  border-radius:24px;
  background:#fff;
}

#sec-dashboard .admin-kpi-grid{
  gap:16px;
}

#sec-dashboard .admin-kpi-card{
  border-radius:24px;
  background:#fff;
  transition:.18s ease;
}

#sec-dashboard .admin-kpi-card:hover,
#sec-dashboard .admin-panel:hover{
  transform:translateY(-1px);
  box-shadow:0 20px 44px rgba(15,23,42,.09);
}

#sec-dashboard .admin-panel{
  border-radius:26px;
  background:#fff;
  overflow:hidden;
}

#sec-dashboard .panel-heading{
  padding-bottom:14px;
  border-bottom:1px solid rgba(148,163,184,.14);
}

#sec-dashboard .panel-heading h3{
  color:#111827;
  font-size:18px;
}

#sec-dashboard .panel-heading p{
  color:#64748b;
}

#sec-dashboard .chart-box{
  height:320px;
  padding:16px 4px 2px;
}

#sec-dashboard .chart-box-small{
  height:280px;
}

#sec-dashboard .admin-ranking-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
  padding:0;
}

#sec-dashboard .admin-ranking-list li{
  list-style:none;
  border:1px solid rgba(148,163,184,.18);
  border-radius:18px;
  padding:13px 14px;
  background:#f8fafc;
}

#sec-dashboard .moov-dash-rank-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}

#sec-dashboard .moov-dash-rank-row strong{
  color:#111827;
  font-size:13px;
}

#sec-dashboard .moov-dash-rank-row span{
  color:#650078;
  font-weight:950;
  white-space:nowrap;
}

#sec-dashboard .moov-dash-rank-bar{
  height:8px;
  border-radius:999px;
  background:#e2e8f0;
  overflow:hidden;
}

#sec-dashboard .moov-dash-rank-fill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#650078,#b21fd0);
}

#sec-dashboard .admin-table-wrap table{
  border-collapse:separate;
  border-spacing:0;
}

#sec-dashboard .admin-table-wrap thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f8fafc;
  color:#475569;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

#sec-dashboard .admin-table-wrap tbody tr:hover{
  background:#faf5ff;
}

#sec-dashboard .moov-dash-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:5px 9px;
  border-radius:999px;
  background:#f3e8ff;
  color:#650078;
  font-size:12px;
  font-weight:900;
}

#sec-dashboard .moov-dash-scope{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

#sec-dashboard .moov-dash-scope span{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:12px;
  font-weight:850;
}

#sec-dashboard .moov-dash-empty{
  padding:22px;
  color:#64748b;
  font-weight:800;
  text-align:center;
}

/* Trava visual da Dashboard Executiva Pro */
#sec-dashboard #biKommoStatusCard{
  display:none !important;
}

#sec-dashboard .admin-hero{
  margin-top:0 !important;
}

#sec-dashboard .admin-filter-card{
  margin-top:22px !important;
}

#sec-dashboard .admin-main-grid,
#sec-dashboard .admin-secondary-grid,
#sec-dashboard .admin-ranking-grid{
  align-items:stretch !important;
}

#sec-dashboard .admin-panel .chart-box canvas{
  max-height:100% !important;
}

#sec-dashboard .admin-panel,
#sec-dashboard .admin-kpi-card{
  animation:none !important;
}

#sec-dashboard .admin-table-panel{
  margin-top:24px !important;
}

/* Dashboard Executiva Final — calendário, filtros alinhados e topo roxo */
#sec-dashboard #biKommoStatusCard{
  display:none !important;
}

#sec-dashboard .admin-hero{
  background:linear-gradient(135deg,#650078 0%,#4a0059 55%,#650078 100%) !important;
  color:#fff !important;
  opacity:1 !important;
  filter:none !important;
  border:0 !important;
  box-shadow:0 22px 54px rgba(101,0,120,.28) !important;
}

#sec-dashboard .admin-hero *,
#sec-dashboard .admin-hero-content,
#sec-dashboard .admin-hero-content *{
  opacity:1 !important;
  filter:none !important;
}

#sec-dashboard .admin-hero h2{
  color:#fff !important;
  text-shadow:none !important;
}

#sec-dashboard .admin-hero p{
  color:rgba(255,255,255,.86) !important;
}

#sec-dashboard .admin-eyebrow{
  background:#fff !important;
  color:#650078 !important;
  border:1px solid rgba(255,255,255,.30) !important;
  font-weight:950 !important;
}

#sec-dashboard .admin-filter-card{
  display:block !important;
  padding:22px !important;
}

#sec-dashboard .admin-filter-card .filter-title{
  margin-bottom:18px !important;
}

#sec-dashboard .admin-filter-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(160px,1fr)) !important;
  gap:14px !important;
  align-items:end !important;
}

#sec-dashboard .filter-control{
  min-width:0 !important;
}

#sec-dashboard .filter-control input,
#sec-dashboard .filter-control select{
  width:100% !important;
  height:46px !important;
  border-radius:14px !important;
  border:1px solid rgba(148,163,184,.34) !important;
  background:#fff !important;
  color:#111827 !important;
  padding:0 13px !important;
  font-weight:750 !important;
  outline:none !important;
}

#sec-dashboard .filter-control input:focus,
#sec-dashboard .filter-control select:focus{
  border-color:#650078 !important;
  box-shadow:0 0 0 4px rgba(101,0,120,.10) !important;
}

#sec-dashboard .filter-control label{
  display:block !important;
  margin-bottom:7px !important;
  color:#64748b !important;
  font-size:12px !important;
  font-weight:950 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
}

#sec-dashboard .moov-dash-scope{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin-top:16px !important;
}

#sec-dashboard .moov-dash-scope span{
  display:inline-flex !important;
  padding:7px 11px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.16) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:850 !important;
}

@media(max-width:1200px){
  #sec-dashboard .admin-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:700px){
  #sec-dashboard .admin-filter-grid{
    grid-template-columns:1fr !important;
  }
}

/* Ajuste final: filtro por uma única data */
#sec-dashboard .admin-filter-grid{
  grid-template-columns:1fr 1.2fr 1.2fr 1.2fr !important;
}

#sec-dashboard #dash_selected_date{
  cursor:pointer !important;
}

@media(max-width:1200px){
  #sec-dashboard .admin-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:700px){
  #sec-dashboard .admin-filter-grid{
    grid-template-columns:1fr !important;
  }
}

/* Restaurado: filtro por intervalo de datas */
#sec-dashboard .admin-filter-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(150px,1fr)) !important;
  gap:14px !important;
  align-items:end !important;
}

#sec-dashboard #dash_date_from,
#sec-dashboard #dash_date_to{
  cursor:pointer !important;
}

@media(max-width:1200px){
  #sec-dashboard .admin-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:700px){
  #sec-dashboard .admin-filter-grid{
    grid-template-columns:1fr !important;
  }
}
