.lightpick {
  position: absolute;
  z-index: 99999;
  color: #000;
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  float: left;
  position: absolute;
  width: 310px;
  animation: fadeInUp;
  animation-duration: 0.4s;
  z-index: 50000;
  padding: 12px 10px 8px 10px;
  border: 1px solid #D2D2D2;
  box-shadow: 0px 3px 4px rgb(0 0 0 / 6%);
  border-radius: 14px;
  margin-top: 10px;
}

.lightpick--inlined {
    position: relative;
    display: inline-block;
}

.lightpick,
.lightpick *,
.lightpick::after,
.lightpick::before {
    box-sizing: border-box;
}

.lightpick.is-hidden {
    display: none;
}

.lightpick__months {
    display: grid;
    background-color: #EEE;
    grid-template-columns: auto;
    grid-gap: 1px;
}

.lightpick--2-columns .lightpick__months {
    grid-template-columns: auto auto;
}

.lightpick--3-columns .lightpick__months {
    grid-template-columns: auto auto auto;
}

.lightpick--4-columns .lightpick__months {
    grid-template-columns: auto auto auto auto;
}

.lightpick--5-columns .lightpick__months {
    grid-template-columns: auto auto auto auto auto;
}

.lightpick__month {
    padding: 6px;
    width: 288px;
    background-color: #FFF;
}

.lightpick__month-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 20px;
}

/* Wrapper for each select so we can animate it cleanly */
.lightpick__month-title .select-wrapper {
  display: inline-block;
  transition: opacity 0.5s ease;
}

/* Hidden state for fade */
.lightpick__month-title .select-wrapper.hidden {
  opacity: 0;
}

/* Your existing select styling */
.lightpick__month-title .lightpick__select {
  border: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 535;
  font-variation-settings: 'wght' 535;
  line-height: 20px;
  width: auto;
  min-width: 0;
  text-align: center;
  text-align-last: center;
  outline: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightpick__month-title .lightpick__select:hover {
  color: #ccc;
}



.lightpick__previous-action, .lightpick__next-action, .lightpick__close-action {
  display: flex;
  margin-left: 0;
  width: 20px;
  height: 20px;
  outline: none;
  border: none;
  border-radius: 0;
  background-color: #dfdfdf;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.5s ease, color 0.5s ease;
  overflow: hidden;
  text-indent: -100px;
}

.lightpick__previous-action:hover, .lightpick__next-action:hover, .lightpick__close-action:hover {
  background-color: #ccc;
}

.lightpick__previous-action,
.lightpick__next-action {
    font-size: 12px;
}

.lightpick__close-action {
    font-size: 18px;
}

.lightpick__previous-action:active,
.lightpick__next-action:active,
.lightpick__close-action:active {
    color: inherit;
}

.lightpick__days-of-the-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
}

.lightpick__day-of-the-week {
  display: flex;
  font-size: 11px;
  font-weight: 500;
  justify-content: center;
  align-items: center;
  padding-bottom: 8px;
  color: #989898;
}

.lightpick__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.lightpick__day {
  display: flex;
  height: 38px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 13px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.5s ease, color 0.5s ease;
  border-radius: 20px;
  font-weight: 500;
}

.lightpick__day.is-today {
    background-size: 18.8% auto;
    background-position: center bottom;
    color: #1964FF;
    font-weight: 600;
}

.lightpick__day.is-today:after {
  content: "";
  height: 8px;
  width: 8px;
  position: absolute;
  background-color: #1964FF;
  margin-bottom: -32px;
  border-radius: 20px;
}

.lightpick__day:not(.is-disabled):hover {
  background-size: contain;
  background-color: #ececec;
  border-radius: 50px;
  color: #000000;
}

.lightpick__day.is-disabled {
    opacity: 0.38;
    pointer-events: none;
}

.lightpick__day.disabled-tooltip {
    pointer-events: auto;
}

.lightpick__day.is-disabled.is-forward-selected {
    opacity: 1;
}
.lightpick__day.is-disabled.is-forward-selected:not(.is-start-date) {
    background-color: rgba(38, 139, 210, 0.1);
    background-image: none;
}

.lightpick__day.is-previous-month,
.lightpick__day.is-next-month {
    opacity: 0.38;
}

.lightpick__day.lightpick__day.is-in-range:not(.is-disabled) {
    opacity: 1;
}

.lightpick__day.is-in-range {
    border-radius: 0;
    background-color: rgba(38, 139, 210, 0.1);
    background-image: none;
}

.lightpick__day.is-in-range:hover {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle fill='rgba(38, 139, 210, 0.5)' cx='16' cy='16' r='16'/%3E%3C/svg%3E");
}

.lightpick__day.is-start-date.is-in-range,
.lightpick__day.is-end-date.is-in-range.is-flipped {
    border-top-left-radius: 50%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 50%;
    background-color: #ececec;
    background-image: none;
}

.lightpick__day.is-end-date.is-in-range,
.lightpick__day.is-start-date.is-in-range.is-flipped {
    border-top-left-radius: 0;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 0;
    background-color: #ececec;
    background-image: none;
}

.lightpick__day.is-start-date.is-end-date {
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle fill='%23268BD2' cx='16' cy='16' r='16'/%3E%3C/svg%3E");
}

.lightpick__day.is-start-date,
.lightpick__day.is-end-date,
.lightpick__day.is-start-date:hover,
.lightpick__day.is-end-date:hover {
    background-size: auto;
    background-position: center;
    color: #FFF;
    font-weight: 500;
    background-color: #1964FF;
    border-radius: 60px;
}

.lightpick__tooltip {
    position: absolute;
    margin-top: -4px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #FFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    font-size: 11px;
    pointer-events: none;
}

.lightpick__tooltip::before {
    position: absolute;
    bottom: -5px;
    left: calc(50% - 5px);
    border-top: 5px solid rgba(0, 0, 0, 0.12);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: "";
}

.lightpick__tooltip::after {
    position: absolute;
    bottom: -4px;
    left: calc(50% - 4px);
    border-top: 4px solid #FFF;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
}
.lightpick__footer {
    display: flex;
    justify-content: space-between;
}
.lightpick__reset-action,
.lightpick__apply-action {
    border-radius: 5px;
    font-size: 12px;
    border: none;
}
.lightpick__reset-action {
    color: #fff;
    background-color: #aeacad;
}
.lightpick__apply-action {
    color: #fff;
    background-color: #ececec;
}

header.lightpick__month-title-bar {
  float: left;
  width: 100%;
  position: relative;
  text-align: center;
  height: 40px;
}

button.lightpick__previous-action {
  position: absolute;
  top: 0px;
  left: 0px;
  background-image: url('../img/calendar-chevron-left.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-color: #FFF;
  transition: opacity 0.2s ease;
}

button.lightpick__next-action {
  position: absolute;
  top: 0px;
  right: 0px;
  background-image: url('../img/calendar-chevron-right.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-color: #FFF;
  transition: opacity 0.2s ease;
}

button.lightpick__previous-action:hover, button.lightpick__next-action:hover {
  background-color: #FFF;
  opacity: 0.5;
}

section.lightpick.lightpick--1-columns button.button.grey.full-width.lightpick-clear-btn {
  margin: 0px 5px 7px 5px;
  width: calc(100% - 10px);
  border-radius: 12px;
}
