/* ═══ FairPlane Custom Date Picker ═══ */

.fp-dp {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  margin-top: 6px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.04);
  padding: 16px;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  pointer-events: none;
  transition: opacity .2s cubic-bezier(.22,1,.36,1),
              transform .2s cubic-bezier(.22,1,.36,1);
  user-select: none;
}
.fp-dp--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.fp-dp__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.fp-dp__title {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -.01em;
}
.fp-dp__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f7;
  border-radius: 8px;
  font-size: 18px;
  color: #1d1d1f;
  cursor: pointer;
  transition: all .15s ease;
  line-height: 1;
}
.fp-dp__nav:hover { background: #e8e8ed; }
.fp-dp__nav:active { transform: scale(.92); }
.fp-dp__nav--disabled {
  opacity: .25;
  pointer-events: none;
}

/* Day labels (Mo, Di, ...) */
.fp-dp__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.fp-dp__day-label {
  font-size: 10px;
  font-weight: 600;
  color: #86868b;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 0;
}

/* Calendar grid */
.fp-dp__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.fp-dp__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
  border-radius: 8px;
  cursor: pointer;
  transition: all .12s ease;
  position: relative;
}
.fp-dp__cell--empty { cursor: default; }
.fp-dp__cell:not(.fp-dp__cell--empty):not(.fp-dp__cell--disabled):hover {
  background: rgba(227,32,85,.06);
  color: #e32055;
}
.fp-dp__cell:not(.fp-dp__cell--empty):not(.fp-dp__cell--disabled):active {
  transform: scale(.9);
}
.fp-dp__cell--today {
  font-weight: 700;
  color: #e32055;
}
.fp-dp__cell--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e32055;
}
.fp-dp__cell--selected {
  background: #e32055 !important;
  color: #fff !important;
  font-weight: 700;
}
.fp-dp__cell--selected::after { display: none; }
.fp-dp__cell--disabled {
  color: #d1d1d6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile: slightly larger cells */
@media (max-width: 400px) {
  .fp-dp { padding: 12px; border-radius: 14px; }
  .fp-dp__cell { height: 34px; font-size: 12px; }
}
