
/* ==========================================================
   RESTON SERVICES | KODAWASTE CUSTOM CSS
   Brand: Blue, Green, Yellow & White
   Font: Inter, Helvetica Neue, Arial
   ========================================================== */

:root {
  --reston-blue: #1a5bd0;
  --reston-blue-dark: #1245a2;
  --reston-green: #3cc35a;
  --reston-green-dark: #20833b;
  --reston-yellow: #f5d90a;
  --reston-yellow-hover: #e4c500;
  --reston-white: #ffffff;
  --reston-ink: #172747;
  --reston-muted: #65738b;
  --reston-bg: #f6f9ff;
  --reston-border: #dce6f5;
  --reston-shadow: 0 8px 26px rgba(26, 91, 208, 0.09);
  --reston-radius: 12px;
}

/* GENERAL PAGE */
body {
  padding-top: 0;
  padding-bottom: 0;
  transition: padding 0.6s;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--reston-bg);
  color: var(--reston-ink);
  line-height: 1.35;
}

/* BOOKING / PRODUCT PANELS */
.list-panel {
  display: block;
  background-color: var(--reston-white);
  padding: 20px 15px 20px 20px;
  margin-bottom: 15px;
  border: 1px solid var(--reston-border);
  border-left: 4px solid var(--reston-green);
  border-radius: var(--reston-radius);
  box-shadow: var(--reston-shadow);
  color: var(--reston-ink);
}

/* STANDARD BUTTONS AND RADIO STRIPS */
.markdown-container a,
.btn,
.radio-button-strip label span {
  font-weight: 600;
  text-decoration: none;
  background-color: var(--reston-white);
  color: var(--reston-blue);
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  padding: 0.65em 1.15em;
  position: relative;
  overflow: hidden;
  line-height: 1.2;
  white-space: nowrap;
  border: 2px solid var(--reston-blue);
  border-radius: 9px;
  transition: background-color 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              transform 0.25s ease;
  min-width: 3.5em;
  text-align: center;
}

.markdown-container a:hover,
.btn:hover,
.radio-button-strip label span:hover {
  background-color: var(--reston-blue);
  color: var(--reston-white);
  border-color: var(--reston-blue);
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(26, 91, 208, 0.16);
}

.markdown-container a:focus-visible,
.btn:focus-visible,
.radio-button-strip label span:focus-visible {
  outline: 3px solid var(--reston-yellow);
  outline-offset: 3px;
}

/* PRIMARY BOOKING / CHECKOUT BUTTONS */
.btn.btn-primary {
  color: var(--reston-ink);
  background-color: var(--reston-yellow);
  border-color: var(--reston-yellow);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 217, 10, 0.2);
}

.btn.btn-primary:hover {
  color: var(--reston-ink);
  background-color: var(--reston-yellow-hover);
  border-color: var(--reston-yellow-hover);
  box-shadow: 0 6px 16px rgba(245, 217, 10, 0.27);
}

/* POSTCODE / ADDRESS SEARCH */
.composite-address-input {
  background-color: var(--reston-white);
  border: 2px solid var(--reston-border);
  display: block;
  border-radius: 10px;
  position: relative;
  height: 50px;
  margin-top: 20px;
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.composite-address-input:focus-within {
  border-color: var(--reston-blue);
  box-shadow: 0 0 0 3px rgba(26, 91, 208, 0.12);
}

.composite-address-input .postcode-input {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 46px;
  font-size: 1.1em;
  color: var(--reston-ink);
  background-color: transparent;
  padding: 0 10px;
  margin: 0;
  border: none;
  text-transform: uppercase;
  overflow: hidden;
  border-radius: 8px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.composite-address-input .postcode-input:focus {
  outline: none;
}

.composite-address-input .postcode-input::placeholder {
  color: var(--reston-muted);
  opacity: 1;
}

/* SKIP SIZE / CAPACITY BADGE */
.skip-capacity {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background-color: var(--reston-blue);
  color: var(--reston-white);
  text-align: center;
  border: 3px solid var(--reston-green);
  box-shadow: 0 4px 14px rgba(26, 91, 208, 0.14);
}

/* MOST POPULAR CORNER RIBBON */
.most-popular::before {
  display: block;
  position: relative;
  height: 130px;
  width: 130px;
  content: 'MOST POPULAR';
  background-color: var(--reston-yellow);
  clip-path: polygon(
    67.4% 0%,
    100.8% 33.3%,
    0% 33.7%,
    33.53% 0%
  );
  transform: rotate(-45deg);
  transform-origin: 0 0;
  left: -51px;
  top: 62px;
  padding: 5px;
  text-align: center;
  color: var(--reston-ink);
  font-weight: 800;
  font-size: 0.75rem;
  z-index: 2;
  margin-right: -130px;
}

/* PROGRESS HEADER */
.progress-header {
  color: var(--reston-white);
  background-color: var(--reston-blue);
}

.progress-header h1,
.progress-header h2,
.progress-header h3,
.progress-header h4 {
  color: var(--reston-white);
}

/* BOOKING BREADCRUMB */
ul.breadcrumb li {
  display: block;
  float: left;
  color: var(--reston-white);
  margin-right: 2em;
  position: relative;
}

ul.breadcrumb li.current::after {
  content: "";
  display: block;
  background-color: var(--reston-yellow);
  position: absolute;
  height: 3px;
  left: 1px;
  right: 1px;
  bottom: -2px;
  border-radius: 3px;
}

ul.breadcrumb li:hover:not(.future)::after {
  content: "";
  display: block;
  background-color: var(--reston-green);
  position: absolute;
  height: 3px;
  left: 1px;
  right: 1px;
  bottom: -2px;
  border-radius: 3px;
}

/* CALENDAR */
.custom-calendar {
  background-color: var(--reston-white);
  color: var(--reston-ink);
  border: 1px solid var(--reston-border);
  border-radius: var(--reston-radius);
}

/* UNAVAILABLE DATES */
.custom-calendar table.calendar-table td {
  text-align: center;
  vertical-align: middle;
  height: 5em;
  padding: 5px 10px;
  position: relative;
  transition: background-color 0.25s ease,
              border-color 0.25s ease,
              height 0.6s,
              font-size 0.6s;
  border: 1px solid var(--reston-border);
  color: #9da9ba;
  border-radius: 10px;
  background: linear-gradient(
    to top left,
    #f2f5fa 0%,
    #f2f5fa calc(50% - 1px),
    #d6dfeb 50%,
    #f2f5fa calc(50% + 1px),
    #f2f5fa 100%
  );
}

/* AVAILABLE DATES */
.custom-calendar table.calendar-table td.isSelectable {
  background: var(--reston-white);
  color: var(--reston-blue);
  border-color: #bcd0f2;
  font-weight: 600;
  cursor: pointer;
}

/* AVAILABLE DATE HOVER */
.custom-calendar table.calendar-table td.isSelectable:hover {
  background: #e9f9ed;
  color: var(--reston-green-dark);
  border-color: var(--reston-green);
  box-shadow: inset 0 0 0 1px var(--reston-green);
}

/* TODAY'S DATE */
.custom-calendar table.calendar-table td.today {
  color: var(--reston-ink);
  background: #fff9cb;
  border-color: var(--reston-yellow);
}

.custom-calendar table.calendar-table td.today.isSelectable:hover {
  background: #e9f9ed;
  border-color: var(--reston-green);
}

/* CALENDAR MONTH NAVIGATION */
.custom-calendar
.custom-calendar-nav
.custom-calendar-nav-date
.month {
  text-align: center;
  color: var(--reston-blue);
  font-weight: 700;
}

/* STRIPED ORDER / PRICE TABLES */
table.striped tr {
  background-color: var(--reston-white);
  color: var(--reston-ink);
}

table.striped tr:nth-child(even) {
  background-color: #eaf2ff;
}

/* CENTRE THE BOOKING PANEL */
body > div.landing-root >
div.home-panel.home-bags.dw33.nw100 {
  float: none !important;
  width: min(900px, 100%);
  margin-left: auto !important;
  margin-right: auto !important;
}

/* BACKGROUND AREA */
.background-panel {
  background-color: var(--reston-bg);
  color: var(--reston-ink);
}

/* ALTERNATE HEADING ACCENTS */
h1 .alt,
h2 .alt,
h3 .alt,
h4 .alt,
h5 .alt {
  font-weight: 700;
  color: var(--reston-green-dark);
}

/* MAP / PERMIT POPUP */
.map-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--reston-white);
  color: var(--reston-ink);
  padding: 20px 20px 40px 20px;
  border: 1px solid var(--reston-border);
  border-top: 5px solid var(--reston-blue);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(16, 43, 95, 0.22);
  max-width: 90%;
  max-height: 90%;
  width: 800px;
  height: 600px;
  box-sizing: border-box;
  overflow-y: auto;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 600px) {
  .list-panel {
    padding: 16px;
    border-radius: 10px;
  }

  .custom-calendar table.calendar-table td {
    padding: 4px;
    height: 3.7em;
    border-radius: 7px;
  }

  .map-popup-content {
    padding: 16px 16px 28px;
    width: 94%;
    max-width: 94%;
    max-height: 90vh;
    height: auto;
  }
}
