.locale-date {
  position: relative;
  display: block;
  width: 100%;
}

.locale-date-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.locale-date-display {
  width: 100%;
  cursor: pointer;
}

.locale-date-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  padding: 12px;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 36, 58, 0.16);
  color: #1f2a37;
}

.locale-date-head,
.locale-date-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.locale-date-title {
  font-size: 14px;
  font-weight: 700;
}

.locale-date-nav,
.locale-date-day,
.locale-date-foot button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.locale-date-nav {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
}

.locale-date-nav:hover,
.locale-date-day:hover,
.locale-date-foot button:hover {
  background: #eef3f9;
}

.locale-date-week,
.locale-date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 10px;
  text-align: center;
}

.locale-date-week span {
  font-size: 12px;
  color: #6b7a8d;
  padding: 4px 0;
}

.locale-date-day,
.locale-date-empty {
  height: 34px;
  border-radius: 8px;
  font-size: 13px;
}

.locale-date-day.on {
  background: #1f6feb;
  color: #fff;
  font-weight: 700;
}

.locale-date-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.locale-date-time input {
  width: 64px;
  text-align: center;
}

.locale-date-foot {
  margin-top: 10px;
}

.locale-date-foot button {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #1f6feb;
  font-weight: 600;
}
