/* BBM_UI_NAV_MONITORING_REPORT_V40
   UI-only navigation grouping and compact monitoring reports.
*/

.top-nav .nav-source-v40 {
  display: none !important;
}

.nav-group-v40 {
  display: inline-flex;
  position: relative;
}

.nav-group-trigger-v40 {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.nav-caret-v40 {
  font-size: 10px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.nav-group-v40.open .nav-caret-v40 {
  transform: rotate(180deg);
}

.nav-dropdown-v40 {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  gap: 4px;
  left: 0;
  min-width: 190px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 5px);
  z-index: 80;
}

.nav-group-v40.open .nav-dropdown-v40 {
  display: grid;
}

.nav-dropdown-item-v40 {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  min-height: 32px;
  padding: 7px 9px;
  text-align: left;
  width: 100%;
}

.nav-dropdown-item-v40:hover,
.nav-dropdown-item-v40.active {
  background: rgba(16, 76, 150, 0.1);
  border-color: rgba(16, 76, 150, 0.18);
  color: var(--bbm-blue);
}

.report-simple-v40 > .filter-band {
  align-items: end;
  grid-template-columns: repeat(4, minmax(150px, 210px)) auto;
  justify-content: start;
}

.report-simple-v40 .report-filter-simple-v40 > .filter-title,
.report-simple-v40 .report-filter-hidden-v40,
.report-simple-v40 .report-tab-hidden-v40 {
  display: none !important;
}

.report-simple-v40 .report-filter-simple-v40 > label,
.report-simple-v40 .report-status-filter-v40 {
  min-width: 0;
  width: 100%;
}

.report-simple-v40 .report-filter-simple-v40 input,
.report-simple-v40 .report-filter-simple-v40 select,
.report-simple-v40 .report-filter-simple-v40 button {
  min-height: 32px;
}

.report-simple-v40 > .tabs-band {
  gap: 6px;
  padding: 8px 10px;
}

.report-simple-v40 > .tabs-band .tab {
  min-height: 31px;
  padding: 6px 12px;
}

.report-simple-v40 .content-section {
  padding: 10px;
}

.report-simple-v40 .data-table {
  font-size: 11px;
}

.report-simple-v40 .data-table th,
.report-simple-v40 .data-table td {
  max-width: 170px !important;
  padding: 6px 7px;
}

.report-simple-v40 .data-table th {
  font-size: 10px;
  line-height: 1.2;
}

.report-simple-v40 .section-heading {
  margin-bottom: 8px;
}

.report-simple-v40 .section-heading h2 {
  font-size: 15px;
}

@media (max-width: 900px) {
  .report-simple-v40 > .filter-band {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .nav-dropdown-v40 {
    min-width: 170px;
  }
}

@media (max-width: 560px) {
  .report-simple-v40 > .filter-band {
    grid-template-columns: 1fr;
  }

  .nav-group-v40 {
    position: static;
  }

  .nav-dropdown-v40 {
    left: 12px;
    right: 12px;
    top: auto;
  }
}
