.konz-date-picker-wrap {
  position: relative;
  width: 100%;
}

.konz-date-picker-wrap .konz-date-picker__input {
  padding-right: 40px !important;
  cursor: pointer;
}

.konz-date-picker-wrap .konz-date-picker__input:focus,
.konz-date-picker-wrap.is-open .konz-date-picker__input {
  border-color: #d19a2e !important;
  box-shadow: 0 0 0 1px #d19a2e;
}

.konz-date-picker-wrap .konz-date-picker__trigger {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: #73726f;
  font-size: 14px;
  cursor: pointer;
}

.konz-date-picker-wrap .konz-date-picker__trigger:focus {
  outline: none;
}

.konz-date-picker-popover {
  position: fixed;
  z-index: 1060;
  display: none;
  box-sizing: border-box;
  width: 280px;
  max-width: calc(100vw - 24px);
  padding: 12px;
  border: 1px solid #c7c6c4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
  overflow: hidden;
  font-family: 'Lato', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.konz-date-picker-popover.is-visible {
  display: block;
}

.konz-date-picker-popover__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.konz-date-picker-popover__nav {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #c7c6c4;
  border-radius: 8px;
  background: #fff;
  color: #121212;
  font-size: 11px;
  cursor: pointer;
}

.konz-date-picker-popover__nav:hover,
.konz-date-picker-popover__nav:focus {
  border-color: #d19a2e;
  color: #d19a2e;
  outline: none;
}

.konz-date-picker-popover__selectors {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.konz-date-picker-popover__select-wrap {
  position: relative;
  min-width: 0;
}

.konz-date-picker-popover__select-wrap[data-select="month"] {
  flex: 1;
}

.konz-date-picker-popover__select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  max-width: 100%;
  height: 28px;
  padding: 4px 6px;
  border: 1px solid #c7c6c4;
  border-radius: 8px;
  background: #fff;
  color: #121212;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.konz-date-picker-popover__select-wrap[data-select="year"] .konz-date-picker-popover__select-btn {
  min-width: 62px;
}

.konz-date-picker-popover__select-btn i {
  flex-shrink: 0;
  font-size: 10px;
  color: #73726f;
}

.konz-date-picker-popover__select-btn:hover,
.konz-date-picker-popover__select-btn:focus {
  border-color: #d19a2e;
  outline: none;
}

.konz-date-picker-popover__select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 2;
  display: none;
  min-width: 100%;
  max-height: 160px;
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  border: 1px solid #c7c6c4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
}

.konz-date-picker-popover__select-menu.is-open {
  display: block;
}

.konz-date-picker-popover__select-menu button {
  display: block;
  width: 100%;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: #121212;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.konz-date-picker-popover__select-menu button:hover,
.konz-date-picker-popover__select-menu button.is-active {
  background: rgba(209, 154, 46, 0.12);
  color: #b16b29;
}

.konz-date-picker-popover__weekdays,
.konz-date-picker-popover__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
}

.konz-date-picker-popover__weekdays {
  margin-bottom: 2px;
}

.konz-date-picker-popover__weekday {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  color: #121212;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
}

.konz-date-picker-popover__day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #121212;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  cursor: pointer;
}

.konz-date-picker-popover__day:hover {
  background: rgba(209, 154, 46, 0.12);
}

.konz-date-picker-popover__day.is-outside {
  color: #c7c6c4;
  cursor: default;
}

.konz-date-picker-popover__day.is-selected {
  background: #d19a2e;
  color: #fff;
}

.konz-date-picker-popover__day.is-selected:hover {
  background: #b88728;
}

.konz-date-picker-popover__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

.konz-date-picker-popover__btn-cancel {
  padding: 0;
  border: none;
  background: transparent;
  color: #73726f;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}

.konz-date-picker-popover__btn-cancel:hover,
.konz-date-picker-popover__btn-cancel:focus {
  color: #121212;
  outline: none;
}

.konz-date-picker-popover__btn-confirm {
  min-width: 88px;
  height: 28px;
  padding: 4px 12px;
  border: none;
  border-radius: 8px;
  background: #d19a2e;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  cursor: pointer;
}

.konz-date-picker-popover__btn-confirm:hover,
.konz-date-picker-popover__btn-confirm:focus {
  background: #b88728;
  outline: none;
}
