.date-range-picker .drp-enhanced {
  display: none;
}

.date-range-picker.drp-ready .drp-fallback {
  display: none;
}

.date-range-picker.drp-ready .drp-enhanced {
  display: block;
  position: relative;
}

.drp-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  height: 3rem;
  box-sizing: border-box;
}

.drp-field {
  padding: 0 0.75rem;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.drp-display {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 0.95rem;
  line-height: 1.2rem;
  padding: 0;
  color: #0f172a;
  background: transparent;
  cursor: pointer;
}

.drp-display::placeholder {
  color: #64748b;
}

.drp-divider {
  width: 1px;
  background: #e2e8f0;
}

.drp-clear {
  border: 0;
  border-left: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  width: 2.5rem;
  height: 100%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.drp-clear:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.drp-shell:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 10px 25px rgba(15, 23, 42, 0.08);
}

.drp-error {
  display: none;
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  font-size: 0.75rem;
  color: #b91c1c;
  z-index: 5;
  white-space: nowrap;
}

.drp-error.is-visible {
  display: block;
}

.litepicker {
  border: 1px solid #dbe4f0;
  border-radius: 0.85rem;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.2);
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
  background: #1d4ed8;
  color: #ffffff;
}

.litepicker .container__days .day-item.is-in-range {
  background: rgba(29, 78, 216, 0.12);
}

.litepicker .container__days .day-item:hover {
  background: rgba(20, 184, 166, 0.2);
}

@media (max-width: 768px) {
  .drp-shell {
    grid-template-columns: 1fr;
  }

  .drp-divider {
    display: none;
  }

  .drp-clear {
    width: 100%;
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    padding: 0.45rem 0;
  }
}
