.app-header {
  gap: 16px;
}

html[data-global-scope="true"] .header-title {
  flex: 1 1 180px;
}

html[data-global-scope="true"] .header-actions {
  flex: 0 0 auto;
}

.global-scope {
  min-width: 0;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.global-scope label {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.global-scope label span {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.global-scope select {
  width: min(220px, 18vw);
  height: 36px;
  padding: 0 30px 0 10px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #172554;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-scope label:last-child select {
  width: min(180px, 15vw);
}

html[data-global-scope="true"] #dashboard-filters,
html[data-global-scope="true"] #list-company-filter,
html[data-global-scope="true"] #approval-company-filter,
html[data-global-scope="true"] #approval-branch-filter,
html[data-global-scope="true"] #customer-company-filter,
html[data-global-scope="true"] #verification-company-filter,
html[data-global-scope="true"] #treasury-company-filter,
html[data-global-scope="true"] #treasury-branch-filter,
html[data-global-scope="true"] #stock-company-filter,
html[data-global-scope="true"] #stock-branch-filter,
html[data-global-scope="true"] #trx-company-filter,
html[data-global-scope="true"] #trx-branch-filter,
html[data-global-scope="true"] #accounting-company-filter,
html[data-global-scope="true"] #accounting-branch-filter,
html[data-global-scope="true"] #compliance-company-filter,
html[data-global-scope="true"] #compliance-branch-filter,
html[data-global-scope="true"] #complaint-company-filter,
html[data-global-scope="true"] #complaint-branch-filter,
html[data-global-scope="true"] #report-company-filter,
html[data-global-scope="true"] #report-branch-filter {
  display: none !important;
}

@media (max-width: 1180px) {
  .global-scope select {
    width: 150px;
  }

  .global-scope label:last-child select {
    width: 130px;
  }

  html[data-global-scope="true"] .clock-badge > span:first-child,
  html[data-global-scope="true"] .clock-badge > .clock-divider {
    display: none;
  }
}

@media (max-width: 1180px) {
  html[data-global-scope="true"] .app-header {
    min-height: 116px;
    flex-wrap: wrap;
    align-content: center;
  }

  html[data-global-scope="true"] .global-scope {
    order: 3;
    width: 100%;
    flex: 1 0 100%;
    justify-content: stretch;
  }

  html[data-global-scope="true"] .global-scope label {
    flex: 1;
  }

  html[data-global-scope="true"] .global-scope select,
  html[data-global-scope="true"] .global-scope label:last-child select {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .app-header {
    flex-wrap: wrap;
  }

  .global-scope {
    order: 3;
    width: 100%;
    justify-content: stretch;
  }

  .global-scope label {
    flex: 1;
  }

  .global-scope select,
  .global-scope label:last-child select {
    width: 100%;
  }
}
