.datePicker {
  --button-bgPrimary: var(--primary-dark-600);
  --Text-primaryNoneBg : var(--opacity-70b);
  --Text-secondary: var(--opacity-70b);
  --Surface-bgPrimary: var(--base-black);
  --Border-Secondary: var(--opacity-50w)
}

@media (prefers-color-scheme: dark) {
.datePicker {
  --button-bgPrimary: var(--primary-dark-600);
  --Text-primaryNoneBg : var(--opacity-70w);
  --Text-secondary: var(--opacity-70w);
  --Surface-bgPrimary: var( --base-black);
  --Border-Secondary: var(--opacity-50w)
  }
}


.datePicker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--Surface-bgPrimary);
  color: var(--Text-primaryNoneBg);
  border-radius: 1.25rem;
  padding: 1.25rem 1rem 1rem 1rem;
  text-align: center;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.datePicker>.picker-columns {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  height: 13rem;
  border-bottom: 0.063rem solid var(--Border-Secondary);
  padding: 0rem 0.5rem;
}


.datePicker .picker-columns  .date-col {
  flex: 1;
  overflow-y: auto;
  overflow-x: visible;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
  cursor: grab;
  min-width: 0;
}

.datePicker .picker-columns .date-col::-webkit-scrollbar {
  display: none;
}

.datePicker .date-item {
  white-space: nowrap;
  overflow: visible;
  scroll-snap-align: center;
  height: 2.5rem;
  line-height: 2.5rem;
  font-size: 1.125rem;
  transition: opacity 0.2s ease;
  cursor: pointer;
  padding: 0 0.125rem;
}


.datePicker .date-item.selected {
  font-weight: 500;
}

.datePicker .picker-highlight {
  position: absolute;
  top: calc(1.25rem + (13rem / 2) - 1.25rem); 
  left: 1rem;
  right: 1rem;
  height: 2.5rem;
  border: 0.063rem solid var(--button-bgPrimary);
  border-radius: 0.625rem;
  pointer-events: none;
  z-index: 10;
}

.datePicker .date-spacer {
  height: calc((13rem / 2) - 1.25rem); 
  flex-shrink: 0;
}

.datePicker .button-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}


.datePicker .date-buttons {
  display: flex;
  gap: 0.5rem;
}