/*
  10-20 Rentals Website
  File: style.css
  Version: 2.7.3
  Last Updated: 2026-05-01 01:57 PM EDT

  Changes in 2.7.3:
  - Added friend/free reservation admin notice and helper text styling.
  - No public reservation form, calendar conflict, agreement signature, pre-check upload, SMTP transport, or social preview behavior changed.

  Changes in 2.7.2:
  - Added stacked mobile-friendly rental agreement acknowledgment question styling.
  - Places Yes, confirmed checkbox controls under each agreement acknowledgment like the pre-check form.
  - No reservation, agreement saving, pre-check saving, database, or email logic changed.

  Changes in 2.7.1:
  - Fixed pickup pre-check photo upload cards on mobile so the labels and file picker text are readable.
  - Changed the pre-check upload cards back to the dark site theme instead of light cards with white text.
  - Added stronger mobile-safe file upload button styling for iPhone/Safari.
  - No reservation, agreement, pre-check saving, database, or email logic changed.

  Changes in 2.7.0:
  - Added online rental agreement form, signature pad, signed agreement export, and admin agreement status styling.
  - Added public agreement action styling for confirmation and lookup results.
  - Kept existing booking layout, calendar colors, and admin table layout intact.

  Changes in 2.6.0:
  - Added half red / half green return-day calendar styling.
  - Added returned status badge styling for admin.
  - Added small spacing for the admin Returned button form.
  - Kept the existing neon calendar colors and page layout intact.

  Changes in 2.5.3:
  - Widened the admin page container so the reservation requests section can use more horizontal space.
  - Added more spacing, row padding, and cleaner column breathing room for the admin reservation requests table.
  - Kept renter UI, reservation logic, admin workflows, and database behavior unchanged.

  Changes in 2.5.2:
  - Fixed pending and booked calendar dates so disabled styling no longer overrides yellow/red neon status colors.
  - Added simple form section title styling for Renter Information and Rental Information.
  - Added three-column form row support and admin detail readability styling.
  - No reservation, admin PHP, database, payment, email, or calendar JavaScript logic changed.

  Changes in 2.5.1:
  - Added neon-style calendar state colors so available, pending, booked, and selected dates stand out better.
  - Added stronger glow, border, and background treatment for calendar date buttons and legend dots.
  - No layout, reservation, admin, database, payment, email, or calendar logic changed.

  Changes in 2.4.7:
  - Fixed mobile date input overflow on iPhone/Safari.
  - Forced form labels, inputs, selects, and textareas to stay inside the reservation card.
  - Added mobile-safe appearance and min-width handling for date/time fields.
  - No layout, API, database, reservation, pricing, or calendar logic changed.

  Changes in 2.4.0:
  - Rebuilt visual layout to follow the simpler 10-20labs.com homepage scheme.
  - Removed bulky dashboard-style blocks and heavy pill/button styling.
  - Kept a dark, clean, classy layout with compact cards and centered content.
  - Added styling for customer reservation lookup results.
  - Kept calendar, form, and mobile behavior supported.
*/

:root {
  color-scheme: dark;
  --bg: #090d12;
  --text: #f6f8fb;
  --muted: rgba(246, 248, 251, 0.74);
  --soft: rgba(246, 248, 251, 0.56);
  --line: rgba(246, 248, 251, 0.14);
  --line-strong: rgba(246, 248, 251, 0.24);
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.075);
  --blue: #48abff;
  --green: #52d273;
  --yellow: #f2c94c;
  --red: #ff6b76;
  --radius: 14px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(72, 171, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #0b1016 0%, var(--bg) 100%);
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(9, 13, 18, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(100% - 24px, var(--max));
  min-height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
  overflow: visible;
}

.brand img {
  display: block;
  height: 20px;
  width: auto;
  transform: translateX(-3px) scale(7);
  transform-origin: left center;
}

.links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.container {
  width: min(100% - 24px, var(--max));
  margin: 0 auto;
  padding-bottom: 36px;
}

.banner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.banner-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
}

.card,
.intro-card {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
}

.centered {
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.lead {
  max-width: 780px;
  margin: 0 auto 14px;
  font-size: clamp(17px, 2vw, 21px);
}

.quick-actions,
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-actions a,
.contact-actions a,
.button-primary,
.button-secondary,
.calendar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.quick-actions a:hover,
.contact-actions a:hover,
.button-primary:hover,
.button-secondary:hover,
.calendar-nav:hover {
  border-color: rgba(72, 171, 255, 0.58);
}

.button-primary {
  width: 100%;
  margin-top: 2px;
  background: rgba(72, 171, 255, 0.16);
  border-color: rgba(72, 171, 255, 0.48);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 760px;
  margin: 16px auto;
}

.stats-row div {
  padding: 12px;
  border-top: 1px solid var(--line);
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  margin-bottom: 4px;
  font-size: 20px;
}

.stats-row span {
  color: var(--soft);
  font-size: 14px;
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 16px auto 0;
  text-align: left;
}

ul {
  margin: 8px 0 0 18px;
  padding: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 14px;
}

.availability-key {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 16px;
  color: var(--soft);
  font-size: 13px;
}

.availability-key span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: var(--line-strong);
  box-shadow: 0 0 10px currentColor;
}

.legend-dot.available { background: #52ff8e; color: #52ff8e; }
.legend-dot.pending { background: #ffd140; color: #ffd140; }
.legend-dot.booked { background: #ff4860; color: #ff4860; }
.legend-dot.return-window { background: linear-gradient(90deg, #ff4860 0 50%, #52ff8e 50% 100%); color: #52ff8e; }
.legend-dot.selected { background: #48abff; color: #48abff; }

.booking-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  gap: 18px;
  align-items: start;
}

.availability-calendar,
.booking-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.12);
  padding: 14px;
}

.calendar-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.calendar-title-wrap {
  text-align: center;
}

.calendar-title-wrap strong,
.calendar-title-wrap span {
  display: block;
}

.calendar-title-wrap span {
  margin-top: 2px;
  color: var(--soft);
  font-size: 13px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day-name {
  padding: 6px 0;
  color: var(--soft);
  font-size: 12px;
  text-align: center;
}

.calendar-day {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(72, 171, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(72, 171, 255, 0.22), 0 0 18px rgba(72, 171, 255, 0.22);
}

.calendar-day.today {
  border-color: rgba(72, 171, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(72, 171, 255, 0.42), 0 0 16px rgba(72, 171, 255, 0.22);
}

.calendar-day:not(:disabled):not(.muted):not(.pending):not(.booked):not(.blocked):not(.return-window):not(.selected):not(.selected-range) {
  background: linear-gradient(180deg, rgba(82, 255, 142, 0.24), rgba(82, 255, 142, 0.08));
  border-color: rgba(82, 255, 142, 0.72);
  color: #eafff0;
  box-shadow: inset 0 0 0 1px rgba(82, 255, 142, 0.16), 0 0 14px rgba(82, 255, 142, 0.18);
}

.calendar-day.pending {
  background: linear-gradient(180deg, rgba(255, 209, 64, 0.34), rgba(255, 209, 64, 0.11));
  border-color: rgba(255, 209, 64, 0.86);
  color: #fff4bc;
  box-shadow: inset 0 0 0 1px rgba(255, 209, 64, 0.18), 0 0 16px rgba(255, 209, 64, 0.22);
}

.calendar-day.booked,
.calendar-day.blocked {
  background: linear-gradient(180deg, rgba(255, 72, 96, 0.34), rgba(255, 72, 96, 0.12));
  border-color: rgba(255, 72, 96, 0.90);
  color: #ffd9de;
  box-shadow: inset 0 0 0 1px rgba(255, 72, 96, 0.18), 0 0 16px rgba(255, 72, 96, 0.25);
}


.calendar-day.return-window {
  background: linear-gradient(90deg, rgba(255, 72, 96, 0.42) 0 50%, rgba(82, 255, 142, 0.26) 50% 100%);
  border-color: rgba(82, 255, 142, 0.78);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 16px rgba(82, 255, 142, 0.18), 0 0 16px rgba(255, 72, 96, 0.18);
}

.calendar-day.return-window:hover:not(:disabled) {
  border-color: rgba(72, 171, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(72, 171, 255, 0.24), 0 0 18px rgba(72, 171, 255, 0.28);
}

.calendar-day.selected,
.calendar-day.selected-range {
  background: linear-gradient(180deg, rgba(72, 171, 255, 0.42), rgba(72, 171, 255, 0.16));
  border-color: rgba(72, 171, 255, 1);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(72, 171, 255, 0.28), 0 0 22px rgba(72, 171, 255, 0.38);
}

.calendar-day:disabled,
.calendar-day.muted {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(246, 248, 251, 0.13);
  color: rgba(246, 248, 251, 0.30);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.calendar-day.pending:disabled,
.calendar-day.pending.disabled {
  background: linear-gradient(180deg, rgba(255, 209, 64, 0.38), rgba(255, 209, 64, 0.14));
  border-color: rgba(255, 209, 64, 0.96);
  color: #fff2a6;
  box-shadow: inset 0 0 0 1px rgba(255, 209, 64, 0.22), 0 0 18px rgba(255, 209, 64, 0.32);
  opacity: 1;
}

.calendar-day.booked:disabled,
.calendar-day.booked.disabled,
.calendar-day.blocked:disabled,
.calendar-day.blocked.disabled {
  background: linear-gradient(180deg, rgba(255, 72, 96, 0.40), rgba(255, 72, 96, 0.15));
  border-color: rgba(255, 72, 96, 0.98);
  color: #ffd6dc;
  box-shadow: inset 0 0 0 1px rgba(255, 72, 96, 0.22), 0 0 18px rgba(255, 72, 96, 0.36);
  opacity: 1;
}

.booking-form,
.lookup-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.booking-form h3 {
  margin-bottom: 0;
}

.form-section-title {
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  gap: 12px;
}

.form-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-row.compact {
  max-width: 620px;
  margin: 0 auto;
}

label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.20);
  color: var(--text);
}

input[type="date"],
input[type="time"],
select {
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(72, 171, 255, 0.75);
  outline-offset: 2px;
}

.helper {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
}

.form-success {
  color: var(--green);
}

.form-error {
  color: var(--red);
}

.lookup-result {
  max-width: 720px;
  margin: 16px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
  text-align: left;
}

.lookup-result h3 {
  margin: 0 0 12px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result-item {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.result-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-item strong {
  display: block;
  color: var(--text);
}

.footer {
  width: min(100% - 24px, var(--max));
  margin: 0 auto;
  padding: 0 0 24px;
  text-align: center;
}

.footer p {
  color: var(--soft);
  font-size: 13px;
}

.sr-only {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 840px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .brand img {
    height: 18px;
    transform: translateX(-1px) scale(1.45);
  }

  .nav-toggle {
    display: block;
  }

  .links {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
    text-align: center;
  }

  .links.open {
    display: grid;
    gap: 12px;
  }

  .booking-layout,
  .two-column-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 18px, var(--max));
  }

  .card,
  .intro-card {
    padding: 15px;
  }

  .stats-row,
  .form-row.two,
  .form-row.three,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions a,
  .contact-actions a,
  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .booking-form,
  .lookup-form {
    overflow: hidden;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  input[type="date"] {
    padding-right: 10px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 34px;
    border-radius: 8px;
  }
}


/*
  Admin detail readability
  Added in Version: 2.5.2
  Last Updated: 2026-04-26 05:57 PM EST
*/
.admin-detail-summary-grid,
.admin-detail-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.admin-detail-summary-grid > div,
.admin-detail-section-grid > section {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.12);
}

.admin-detail-summary-grid span,
.admin-dl dt {
  display: block;
  margin-bottom: 4px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-detail-summary-grid strong,
.admin-dl dd {
  color: var(--text);
}

.admin-detail-summary-grid p {
  margin: 6px 0 0;
}

.admin-dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.admin-dl div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.admin-dl dt,
.admin-dl dd {
  margin: 0;
}

.admin-dl dd {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.admin-cell-stack {
  display: grid;
  gap: 8px;
}

.admin-cell-row span,
.admin-subtext {
  display: block;
  color: var(--soft);
  font-size: 12px;
}

.admin-res-id {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.admin-detail-link,
.admin-filters a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}


.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-returned {
  border-color: rgba(82, 255, 142, 0.76);
  color: #dfffea;
  background: rgba(82, 255, 142, 0.12);
  box-shadow: 0 0 14px rgba(82, 255, 142, 0.16);
}

.admin-returned-form {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 840px) {
  .admin-detail-summary-grid,
  .admin-detail-section-grid {
    grid-template-columns: 1fr;
  }
}

/*
  Admin request table spacing
  Added in Version: 2.5.3
  Last Updated: 2026-04-26 06:26 PM EST
*/
.admin-page {
  width: min(100% - 24px, 1320px);
}

.admin-table-scroll {
  margin-top: 18px;
  overflow-x: auto;
}

.admin-requests-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0 14px;
}

.admin-requests-table thead th {
  padding: 0 18px 12px;
  text-align: left;
  vertical-align: bottom;
  white-space: nowrap;
}

.admin-requests-table tbody td {
  padding: 18px;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.032);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-requests-table tbody td:first-child {
  border-left: 1px solid var(--line);
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.admin-requests-table tbody td:last-child {
  border-right: 1px solid var(--line);
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.compact-admin-table th:nth-child(1),
.compact-admin-table td:nth-child(1) {
  width: 20%;
}

.compact-admin-table th:nth-child(2),
.compact-admin-table td:nth-child(2) {
  width: 24%;
}

.compact-admin-table th:nth-child(3),
.compact-admin-table td:nth-child(3) {
  width: 10%;
}

.compact-admin-table th:nth-child(4),
.compact-admin-table td:nth-child(4),
.compact-admin-table th:nth-child(5),
.compact-admin-table td:nth-child(5),
.compact-admin-table th:nth-child(6),
.compact-admin-table td:nth-child(6) {
  width: 12%;
}

.compact-admin-table th:nth-child(7),
.compact-admin-table td:nth-child(7) {
  width: 10%;
  min-width: 150px;
}

.admin-requests-table tbody td strong {
  display: block;
  line-height: 1.3;
}

.admin-cell-stack {
  gap: 14px;
}

.admin-cell-row {
  display: grid;
  gap: 4px;
}

.admin-cell-row span,
.admin-subtext {
  margin-top: 4px;
  line-height: 1.45;
}

.admin-detail-link {
  display: inline-block;
  margin-top: 6px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .admin-page {
    width: min(100% - 18px, 1320px);
  }

  .admin-requests-table {
    min-width: 980px;
  }
}

/*
  Admin quick stats
  Added in Version: 2.5.0
  Last Updated: 2026-04-26 03:05 PM EDT
  Notes:
  - Adds top-of-admin quick stats for pending, approved upcoming, and monthly revenue.
*/
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
}

.admin-stat-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.admin-stat-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-stat-card strong {
  display: block;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.admin-stat-card p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 13px;
}

@media (max-width: 740px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}


/*
  Rental Agreement Module
  Added in Version: 2.7.0
  Last Updated: 2026-04-29 08:06 PM EDT
*/
.agreement-page .container {
  max-width: 980px;
}

.agreement-page .card {
  text-align: left;
}

.agreement-page .centered {
  text-align: center;
}

.agreement-form {
  display: grid;
  gap: 20px;
}

.agreement-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.agreement-section h3 {
  margin: 0 0 12px;
}

.agreement-summary-grid,
.agreement-equipment-grid,
.agreement-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.agreement-summary-grid div,
.agreement-equipment-grid label,
.agreement-status-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
}

.agreement-summary-grid span,
.agreement-status-grid span,
.agreement-action-panel span {
  display: block;
  margin-bottom: 4px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agreement-summary-grid strong,
.agreement-status-grid strong {
  display: block;
  color: var(--text);
}

.agreement-summary-grid p,
.agreement-status-grid p {
  margin: 6px 0 0;
  color: var(--muted);
}

.agreement-terms-box {
  max-height: 420px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.agreement-terms-box h3,
.agreement-terms-box h4 {
  margin-top: 0;
}

.agreement-terms-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 14px;
}

.agreement-terms-box th,
.agreement-terms-box td {
  padding: 8px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.signature-wrap {
  padding: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

#signaturePad {
  display: block;
  width: 100%;
  min-height: 180px;
  border-radius: calc(var(--radius) - 4px);
  cursor: crosshair;
  touch-action: none;
}

.signature-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.inline-admin-form {
  display: inline-flex;
  margin: 6px 6px 0 0;
}

.agreement-action-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.agreement-result-actions {
  margin-top: 16px;
}

@media (max-width: 820px) {
  .agreement-summary-grid,
  .agreement-equipment-grid,
  .agreement-status-grid {
    grid-template-columns: 1fr;
  }

  .signature-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .nav-wrap,
  .footer,
  .quick-actions,
  .signature-actions,
  button {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .card,
  .agreement-section,
  .agreement-terms-box {
    border-color: #bbb;
    background: #fff;
    box-shadow: none;
  }
}

/*
  10-20 Rentals Booking System
  File: style.css
  Version: 2.4.1 append
  Last Updated: 2026-04-29 11:12 PM EDT

  Changes in 2.4.1:
  - Fixed pickup pre-check photo upload cards so they are readable on iPhone/mobile.
  - Removed the light photo card background that made the white text hard to see.
  - Added high-contrast file upload styling without changing pre-check database, email, upload, or admin logic.

  Changes in 2.4.0:
  - Added pickup pre-check upload, photo preview/export, and admin action styling.
  - Keeps existing reservation, agreement, and public site styling unchanged.
*/

.precheck-page .precheck-card {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.precheck-photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.precheck-photo-input {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.precheck-photo-input input[type="file"] {
  width: 100%;
  margin-top: 2px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.precheck-photo-input input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--text);
  font-weight: 800;
}

.precheck-photo-input input[type="file"]::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--text);
  font-weight: 800;
}

.inline-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px 6px 0 0;
  text-decoration: none;
}

.precheck-status-grid {
  margin-top: 14px;
}

@media (max-width: 820px) {
  .precheck-photo-upload-grid,
  .precheck-status-grid {
    grid-template-columns: 1fr;
  }

  .precheck-photo-input {
    padding: 14px;
    font-size: 16px;
  }

  .precheck-photo-input input[type="file"] {
    padding: 12px;
    font-size: 15px;
  }
}

/*
  10-20 Rentals Booking System
  File: style.css
  Version: 2.4.2 append
  Last Updated: 2026-04-29 11:14 PM EDT

  Changes in 2.4.2:
  - Added stacked mobile-friendly styling for pre-check questions.
  - Places checkbox confirmation controls under each question instead of inline with the question text.
  - No global layout, reservation, agreement, admin, or upload behavior changed.
*/

.precheck-question-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.precheck-question-item {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  padding: 16px;
}

.precheck-question-item p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.precheck-answer-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.precheck-answer-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
}

.precheck-answer-row span {
  line-height: 1;
}

@media (max-width: 820px) {
  .precheck-question-item {
    padding: 14px;
  }

  .precheck-question-item p {
    font-size: 16px;
  }

  .precheck-answer-row {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    border-radius: 14px;
    padding: 12px;
  }
}


/*
  10-20 Rentals Booking System
  File: style.css
  Version: 2.4.3 append
  Last Updated: 2026-04-29 11:23 PM EDT

  Changes in 2.4.3:
  - Added agreement acknowledgment card styling to match the pickup pre-check confirmation layout.
  - Puts the Yes, confirmed checkbox under each rental agreement acknowledgment for mobile readability.
  - No agreement save, signature, database, email, admin, or reservation behavior changed.
*/

.agreement-question-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.agreement-question-item {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  padding: 16px;
}

.agreement-question-item p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.agreement-answer-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.agreement-answer-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
}

.agreement-answer-row span {
  line-height: 1;
}

@media (max-width: 820px) {
  .agreement-question-item {
    padding: 14px;
  }

  .agreement-question-item p {
    font-size: 16px;
  }

  .agreement-answer-row {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    border-radius: 14px;
    padding: 12px;
  }
}


/*
  10-20 Rentals Booking System
  File: style.css
  Version: 2.7.3 append
  Last Updated: 2026-05-01 01:57 PM EDT

  Changes in 2.7.3:
  - Adds friend/free reservation admin notice styling.
*/

.friend-free-notice {
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.12);
  color: var(--text);
}

.friend-free-grid {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
}

.friend-free-table-note {
  color: #86efac;
  font-weight: 800;
}

.admin-subtext.friend-free-table-note {
  display: block;
  margin-top: 4px;
}

@media (max-width: 820px) {
  .friend-free-grid {
    padding: 14px;
  }
}
