.app-date-picker[dir="rtl"] {
  direction: rtl !important;
  position: fixed !important;
  z-index: 2147483646 !important;
  box-sizing: border-box !important;
  width: min(312px, calc(100vw - 24px)) !important;
  max-height: min(370px, calc(100vh - 24px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.app-date-picker__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.app-date-picker__header .app-date-picker__switch {
  width: auto !important;
  min-width: 0;
  height: 32px;
  padding: 3px 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #172b4d;
  font-size: 14px !important;
  font-weight: 800;
  cursor: pointer;
}

.app-date-picker__header .app-date-picker__switch:hover,
.app-date-picker__header .app-date-picker__switch:focus-visible,
.app-date-picker__header .app-date-picker__switch.active {
  background: #e9f5f3;
  color: #08796d;
}

.app-date-picker__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  min-height: 220px;
}

.app-date-picker__choice {
  min-height: 45px;
  border: 1px solid #d9e5ef;
  border-radius: 9px;
  background: #fff;
  color: #17324d;
  font: 700 13px Tahoma, "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}

.app-date-picker__choice:hover,
.app-date-picker__choice:focus-visible,
.app-date-picker__choice.active {
  border-color: #0c9588;
  background: #e9f5f3;
  color: #08796d;
}

.app-date-picker__range {
  margin: 0 0 8px;
  color: #526782;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.app-date-picker__header button:focus-visible,
.app-date-picker__grid button:focus-visible,
.app-date-picker__footer button:focus-visible {
  outline: 2px solid #0c9588;
  outline-offset: 2px;
}
