.k2-dashboard-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 10px;
  background: rgba(2, 8, 23, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.k2-dashboard-switcher-option {
  min-height: 32px;
  padding: 6px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.k2-dashboard-switcher-option:hover {
  color: #e2e8f0;
  background: rgba(56, 189, 248, 0.09);
}

.k2-dashboard-switcher-option.is-active {
  color: #f8fafc;
  background: linear-gradient(135deg, #087ea4, #155e75);
  box-shadow: 0 4px 14px rgba(8, 126, 164, 0.28);
}

.dashboard-header > .k2-dashboard-switcher--desktop {
  margin-left: auto;
  margin-right: 16px;
}

@media (min-width: 1001px) {
  html[data-k2-dashboard="1"]
    .dashboard-header
    > .k2-dashboard-switcher--desktop {
    height: min(40px, calc(100% - 10px));
    margin-top: 5px;
    margin-bottom: 5px;
    overflow: hidden;
    box-sizing: border-box;
  }

  html[data-k2-dashboard="1"]
    .k2-dashboard-switcher--desktop
    .k2-dashboard-switcher-option {
    height: 100%;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.dashboard-header:has(> .k2-dashboard-switcher--desktop)
  .header-icons-desktop {
  margin-left: 0;
}

html[data-k2-dashboard="1"]
  .mobile-header
  .k2-dashboard-switcher--mobile {
  display: none !important;
}

.k2-dashboard-switcher--mobile,
.k2-dashboard-switcher--sidebar {
  display: none;
}

.k2-v2-only {
  display: none;
}

@media (max-width: 1000px) {
  .k2-dashboard-switcher--desktop {
    display: none;
  }

  .k2-dashboard-switcher--mobile {
    display: inline-flex;
    gap: 1px;
    margin-left: 3px;
    padding: 2px;
    border-radius: 8px;
  }

  .k2-dashboard-switcher--mobile .k2-dashboard-switcher-option {
    min-width: 23px;
    min-height: 23px;
    padding: 3px 4px;
    border-radius: 6px;
    font-size: 9px;
  }

  .k2-dashboard-switcher--sidebar {
    display: inline-flex;
  }

  html[data-k2-dashboard="1"] .sidebar {
    z-index: 1001;
  }

  .sidebar-header .k2-dashboard-switcher--sidebar {
    flex: 1;
    margin-right: 12px;
  }

  .sidebar-header .k2-dashboard-switcher-option {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k2-dashboard-switcher-option {
    transition: none;
  }
}

/* Central de atualizações e indicador de novidade. */
.k2-updates-sidebar-link,
.k2-updates-mobile-link {
  position: relative;
}

.sidebar-nav .k2-updates-sidebar-link > svg {
  margin-right: 0 !important;
  flex: 0 0 30px;
  color: #10a1b4;
}

.k2-updates-unread-badge {
  width: 9px;
  height: 9px;
  display: block;
  border: 2px solid #071421;
  border-radius: 50%;
  background: #f5c84b;
  box-shadow: 0 0 10px rgba(245, 200, 75, 0.72);
  box-sizing: content-box;
  animation: k2-updates-badge-pulse 2.2s ease-in-out infinite;
}

.k2-updates-unread-badge[hidden] {
  display: none !important;
}

.k2-updates-sidebar-link .k2-updates-unread-badge {
  position: absolute;
  top: 10px;
  right: 12px;
}

html[data-k2-dashboard="2"]
  .k2-v2-mobile-bottom-bar
  .k2-updates-mobile-link
  .k2-updates-unread-badge {
  position: absolute;
  top: 3px;
  left: calc(50% + 7px);
  border-color: #061525;
}

html[data-k2-dashboard="2"]
  .k2-v2-mobile-bottom-bar
  .k2-updates-mobile-link.is-active {
  color: #39c9ff;
  border-color: rgba(48, 188, 244, 0.16);
  background: linear-gradient(
    180deg,
    rgba(21, 78, 116, 0.5),
    rgba(8, 37, 62, 0.3)
  );
}

@keyframes k2-updates-badge-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(245, 200, 75, 0.55);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 13px rgba(245, 200, 75, 0.85);
  }
}

@media (max-width: 1000px) {
  html[data-k2-dashboard="2"] .k2-updates-sidebar-item {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k2-updates-unread-badge {
    animation: none;
  }
}
