/* --- HERO DATE CARD (mockup #1) --- */
.date-card {
  width: 340px;
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(11,16,32,.18);
  backdrop-filter: saturate(110%) blur(2px);
}
.date-card h3 {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 12px;
  color: #0B1020;
}
.range-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--pill-bg, #FFFFFF);
  border: 1px solid var(--pill-bd, #E6E8EE);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .04s ease;
}
.range-pill:hover { box-shadow: 0 6px 16px rgba(11,16,32,.12); }
.range-pill:active { transform: translateY(1px); }

.range-pill .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  /* tiny calendar svg */
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23121A33' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='2.3' y='3.8' width='13.4' height='11.3' rx='2'/%3E%3Cpath d='M5.3 2.3v3M12.7 2.3v3M2 7.5h14'/%3E%3C/g%3E%3C/svg%3E");
}
.range-pill .text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  color: #121A33;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-card .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: #FFD247; /* ACE yellow */
  color: #0B1020;
  font-weight: 700;
  text-decoration: none;
  transition: filter .18s ease, transform .04s ease;
}
.date-card .cta:hover { filter: brightness(0.96); }
.date-card .cta:active { transform: translateY(1px); }

/* --- FULL-SCREEN PICKER (mockup #2) --- */
.no-scroll { overflow: hidden; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 25, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 9990;
}
.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.picker {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #fff;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  z-index: 9991;
}

.picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.picker-title {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0B1020;
}
.picker-done {
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 15px;
  color: #0B1020;
  padding: 8px 10px;
  border-radius: 10px;
}
.picker-done:hover { background: #F4F6FB; }

/* Time row */
.time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 20px 6px;
}
.time-field {
  background: #F7F8FC;
  border-radius: 12px;
  padding: 10px 12px;
}
.time-field .label {
  font-size: 12px;
  letter-spacing: .2px;
  opacity: .7;
  margin-bottom: 4px;
}
.time-select {
  width: 100%;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 16px;
  outline: none;
}

/* Month block */
.month {
  padding: 6px 20px 0;
}
.month + .month { margin-top: 12px; }

.monthbar {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 8px;
}
.monthname {
  text-align: center;
  font-weight: 800;
  letter-spacing: .3px;
}
.navbtn {
  height: 34px;
  border: none;
  background: #F3F5FA;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.navbtn:hover { filter: brightness(.96); }

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.grid--dow {
  margin-bottom: 6px;
}
.dow {
  text-align: center;
  font-size: 12px;
  opacity: .6;
}

/* Day cells */
.day {
  height: 44px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  background: #F7F8FC;
  color: #0B1020;
  cursor: pointer;
  transition: transform .04s ease, background .12s ease;
}
.day:hover { transform: translateY(-1px); }

.day.is-muted { background: transparent; color: #9AA2B1; cursor: default; }
.day.is-disabled { opacity: .35; pointer-events: none; }

/* Range styling (warm orange) */
.day.is-inrange {
  background: rgba(255,122,89,.18);
}
.day.is-start,
.day.is-end {
  background: #FFD247;
  color: #fff;
}
.day.is-start { border-top-left-radius: 18px; border-bottom-left-radius: 18px; }
.day.is-end   { border-top-right-radius: 18px; border-bottom-right-radius: 18px; }

/* Bottom bar */
.bottom-bar {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 14px 20px 18px;
  gap: 12px;
  border-top: 1px solid #F0F2F7;
  background: #fff;
}
.btn {
  height: 46px;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-ghost {
  background: #F3F5FA;
  color: #0B1020;
  border: none;
}
.btn-cta {
  background: #FFD247;
  color: #fff;
  border: none;
  min-width: 220px;
}

@media (min-width: 900px) {
  .picker {
    margin: 40px auto;
    max-width: 880px;
    height: calc(100% - 80px);
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(11,16,32,.25);
  }
  .time-row { grid-template-columns: 200px 200px; justify-content: center; }
}

/* Make the picker body scroll nicely between header/time-row and bottom bar */
.picker { display: flex; flex-direction: column; }
.months-scroll {
  flex: 1;                 /* take remaining height */
  overflow-y: auto;        /* enable vertical scroll */
  padding: 0 20px 12px;    /* match existing spacing */
}
.month + .month { margin-top: 12px; }

/* Optional: remove arrow button styles if kept elsewhere */
.monthbar {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: 8px;
}