/* The site's own calendar for date fields (public/js/shared/date-picker.js). Screens with a mouse only: phones
   keep the browser's picker, so nothing here needs a small-screen layout. */
.dp-field { cursor: pointer; caret-color: transparent; text-overflow: ellipsis; }
.dp-field::placeholder { color: var(--muted); opacity: 1; }
.dp-field.is-picking { border-color: var(--navy) !important; box-shadow: 0 0 0 1px var(--navy); }

.dp { position: absolute; z-index: 60; width: 340px; padding: 16px 18px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 26, 48, 0.22), 0 4px 14px rgba(15, 26, 48, 0.08); color: var(--navy); font-family: var(--body); text-transform: none; letter-spacing: 0; }
.dp[hidden] { display: none; }
.dp--two { width: 668px; }

.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.dp-hint { flex: 1; text-align: center; font-family: var(--head); font-weight: 600; font-size: 15px; }
.dp-nav { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #FFFFFF; color: var(--navy); cursor: pointer; }
.dp-nav:hover:not(:disabled) { background: var(--mist); border-color: var(--navy); }
.dp-nav:disabled { opacity: 0.35; cursor: default; }

.dp-months { display: flex; gap: 28px; margin-top: 10px; }
.dp-month { flex: 1; min-width: 0; }
.dp-month__name { text-align: center; font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; }
.dp-row { display: grid; grid-template-columns: repeat(7, 1fr); }
.dp-dow { height: 30px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.dp-row > [role="gridcell"] { display: flex; height: 42px; }
.dp-day { flex: 1; margin: 1px 0; border: 0; background: transparent; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; color: var(--navy); cursor: pointer; position: relative; }
.dp-day:hover:not(:disabled):not(.is-start):not(.is-end) { box-shadow: inset 0 0 0 1.5px var(--navy); }
.dp-day:disabled { color: #A9B4C8; cursor: default; text-decoration: line-through; text-decoration-color: #D3DAE6; }
.dp-day.is-today:not(.is-start):not(.is-end)::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--coral); }
/* The nights between arrival and departure are one band; its two ends are filled circles. */
.dp-day.is-between { background: var(--mist); border-radius: 0; }
.dp-day.is-preview { background: var(--mist); border-radius: 0 999px 999px 0; box-shadow: inset 0 0 0 1.5px var(--navy); }
.dp-day.is-start, .dp-day.is-end { background: var(--navy); color: #FFFFFF; font-weight: 600; }
/* While the check-out is being chosen the check-in day cannot be picked again, but it must not look crossed out. */
.dp-day.is-start:disabled, .dp-day.is-end:disabled { color: #FFFFFF; text-decoration: none; }
.dp-day.is-start.is-edge { box-shadow: 14px 0 0 0 var(--mist); border-radius: 999px; }
.dp-day.is-end.is-edge { box-shadow: -14px 0 0 0 var(--mist); border-radius: 999px; }
.dp-day.is-start.is-edge, .dp-day.is-end.is-edge { z-index: 1; }
.dp-day:focus-visible, .dp-nav:focus-visible, .dp-link:focus-visible, .dp-done:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.dp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.dp-link { border: 0; background: none; padding: 8px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dp-link:disabled { color: #A9B4C8; text-decoration: none; cursor: default; }
.dp-done { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-family: var(--head); font-weight: 600; font-size: 15px; cursor: pointer; }
.dp-done:hover { background: var(--navy-deep); }
