/* Gear2Peer shared date-range calendar — one design across home, browse, and the
   booking card. Mirrors the home picker's tokens (cream popover, green range,
   round nav, bold month header). The popover is a single body-appended element
   positioned by JS, so it works under any trigger field. */
.g2p-dr-cal {
  position: absolute;
  z-index: 99999;
  box-sizing: border-box;
  width: 320px;
  max-width: calc(100vw - 20px);
  padding: 14px 16px;
  border: 1px solid rgba(28, 31, 26, 0.1);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(28, 31, 26, 0.16), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: #1c1f1a;
  font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
.g2p-dr-cal[hidden] { display: none; }
.g2p-dr-head { display: flex; align-items: center; justify-content: space-between; height: 40px; margin: 0 0 2px; }
.g2p-dr-month { margin: 0; padding: 0; font-size: 18px; font-weight: 800; color: #1c1f1a; }
.g2p-dr-nav {
  position: relative; width: 32px; height: 32px; flex: 0 0 auto; padding: 0;
  border: 1px solid rgba(28, 31, 26, 0.11); border-radius: 999px;
  background: #f3efe4; color: #2f4a33; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 14px rgba(28, 31, 26, 0.07);
}
.g2p-dr-nav:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.g2p-dr-nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; }
.g2p-dr-prev::before { border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-30%, -50%) rotate(45deg); }
.g2p-dr-next::before { border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-70%, -50%) rotate(-45deg); }
.g2p-dr-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; margin: 0; padding: 0; }
.g2p-dr-wd { height: 24px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #6e7163; }
.g2p-dr-day {
  display: flex; width: 30px; height: 30px; margin: 0 auto; padding: 0;
  align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px; background: transparent;
  font: inherit; font-size: 13.5px; font-weight: 800; color: #1c1f1a; cursor: pointer;
}
.g2p-dr-day.empty { visibility: hidden; cursor: default; }
.g2p-dr-day.past { color: rgba(28, 31, 26, 0.26); cursor: default; }
.g2p-dr-day:not(.past):not(.empty):hover { background: #eef4ea; border-color: rgba(47, 74, 51, 0.46); color: #2f4a33; }
.g2p-dr-day.inrange { background: #e7eee3; color: #2f4a33; }
.g2p-dr-day.today { border-color: rgba(47, 74, 51, 0.4); }
.g2p-dr-day.sel { background: #dce8d8; border-color: rgba(47, 74, 51, 0.58); color: #2f4a33; box-shadow: inset 0 0 0 2px rgba(255, 253, 248, 0.72), 0 5px 12px rgba(47, 74, 51, 0.1); }
.g2p-dr-foot { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(28, 31, 26, 0.08); }
.g2p-dr-hint { font-size: 12px; color: #6e7163; font-weight: 700; }
.g2p-dr-done { padding: 7px 16px; border: 0; border-radius: 999px; background: #2f4a33; color: #fffdf8; font-weight: 800; font-size: 13px; cursor: pointer; }
/* The two booking-card trigger cells (Pickup / Return) */
.booking-dates--edit > div[data-rental-open] { cursor: pointer; }
.booking-dates--edit > div[data-rental-open] b { display: block; margin-top: 5px; font-weight: 800; }
