.calendar-view-switcher-host {
  position: relative;
  display: grid;
  grid-row: 2;
  grid-column: 1;
  align-self: start;
  z-index: 90;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  box-sizing: border-box;
  row-gap: 8px;
}

.calendar-view-switcher {
  justify-self: center;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 420px);
  padding: 2px;
  border-radius: 18px;
  background: var(--surface-10event);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.calendar-view-switcher-host.is-visible > .calendar-view-switcher {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.calendar-view-switcher-host.is-hidden > .calendar-view-switcher {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.calendar-view-switcher-btn {
  color: var(--text-main);
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  font-size: 13px;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;

  border: none;
  padding: 0;
  background: none;
}

.calendar-view-switcher-btn.is-active {
  background: var(--text-main-inverse);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  border-radius: 15px;
}

.calendar-view-switcher-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

