@charset "UTF-8";

h1, h2, h3, h4, h5 {
    color: #ffffff;
    margin-top: 0;
    text-align: center;
}

label {
    color:inherit;;
    
}

/* ===== Page layout: form + right panel ===== */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;   /* form | right card */
  gap: 28px;
  align-items: start;
  max-width: 1220px;                  /* overall width similar to screenshot */
}

.orderForReview{
	color: black;font-weight: bold;
	overflow: scroll;
	width: fit-content;
}

/* Stack on small screens */
@media (max-width: 980px) {
  .order-layout { grid-template-columns: 1fr; }
}

/* ===== Form container (rows) ===== */
.customer-form {
  display: grid;
  gap: 18px;                 /* space between rows */
  max-width: 940px;
}

/* Each row */
.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Label above control */
.field {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 180px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  color: #333;
}

/* ---- Row-specific sizing ---- */

.form-group.row-1 .field--first,
.form-group.row-1 .field--last { flex: 1 1 0; }

.form-group.row-2 .field--company,
.form-group.row-2 .field--email { flex: 1 1 0; }
.form-group.row-2 .field--phone  { flex: 0 0 260px; max-width: 260px; }

.form-group.row-3 .field,
.form-group.row-5 .field { flex: 1 1 100%; }

.form-group.row-4 .field--city  { flex: 1 1 0; }
.form-group.row-4 .field--state { flex: 0 0 220px; max-width: 220px; }
.form-group.row-4 .field--zip   { flex: 0 0 180px; max-width: 180px; }

textarea#dnote { min-height: 110px; resize: vertical; }

/* ===== Right-side product card ===== */
.product-card {
  background: #f8fbff;
  border: 3px solid #eabc53;          /* gold frame */
  border-radius: 6px;
  padding: 14px;
  color: #173847;
}

.product-card h4 {
  font-size: 14px;
  margin: 0 0 10px;
  color: #173847;
  letter-spacing: .2px;
}

.product-card .thumb {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #c8d5df;
  border-radius: 4px;
  margin-bottom: 12px;
}

.product-meta {
  font-size: 14px;
  line-height: 1.45;
}
.product-meta b { color: #eabc53; }

.product-note {
  font-size: 13px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #c8d5df;
  font-style: italic;
}

/* Button (optional, if you keep it here) */
.btn-primary {
  display: inline-block;
  background: #eabc53;
  color: #2a4c61;
  font-weight: 800;
  border: none;
  border-radius: 6px;
  padding: 14px 22px;
  cursor: pointer;
}
@media (max-width: 980px) {
  .product-card { order: 2; }
}

.field label .required { color: #eabc53; }

/* Make Prefix/Suffix narrow in row 1 */
.customer-form .form-group.row-1 .field--prefix,
.customer-form .form-group.row-1 .field--suffix {
  flex: 0 0 60px;   /* flex-basis: 60px; no grow/shrink */
  max-width: 60px;
  min-width: 60px;  /* override the 180px min-width */
}


/* Center the grid container within the page width */
.order-layout { margin: 0 auto; }

/* Accessible, responsive checkbox */
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #ffffff;            /* matches your field labels */
  cursor: pointer;
  user-select: none;
}
.checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #eabc53;     /* gold when checked (modern browsers) */
  border: 1.5px solid #2a4c61;
  border-radius: 4px;
}
.checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid #eabc53;
  outline-offset: 2px;
}

/* Mobile tweaks: let fixed-width fields grow on small screens */
@media (max-width: 700px) {
  /* Make “Phone” full width */
  .form-group.row-2 .field--phone {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Make State/Zip fluid (stack or share the row) */
  .form-group.row-4 .field--state,
  .form-group.row-4 .field--zip {
    flex: 1 1 0;
    max-width: 100%;
  }

  /* Give the primary button full-width on small screens */
  .btn-primary { width: 100%; }
}

/* Optional: spacing for the checkbox row to align with other groups */
.form-group.row-6 { gap: 10px; }


.addr-suggest{
  position:absolute;left:0;right:0;top:calc(100% + 4px);
  z-index:9999;background:#fff;border:1px solid #cdd6de;border-radius:6px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);list-style:none;margin:0;padding:6px 0;display:none;
  color: #173847;
}
.addr-suggest__item{padding:8px 10px;cursor:pointer;font-size:14px}
.addr-suggest__item:hover{background:#f2f6fa}



:root {
  --accent: #00577a;            /* sky-500 vibe */
  --bg: #2c2a29;                /* dark-ish background? adjust if needed */
  --card: #ffffff;
  --text: #2c2a29;
  --muted: #8d8f8f;
  --ring: #eabc53
}

.payment-options {
  display: grid;
  gap: 1rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 1rem;
  
}

.plan-card {
  position: relative;
  display: grid;
  gap: .5rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  border: 3px solid rgba(2,6,23,.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer;
}
.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  border-color: rgba(14,165,233,.35);
}
.plan-card.selected {
  box-shadow: 0 0 0 5px var(--ring), 0 10px 24px rgba(0,0,0,.12);
  border-color: var(--accent);
}

.plan-card input[type="radio"] {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
}

.plan-header {
  display: flex; align-items: center; justify-content: space-between;
}

.badge {
  display: inline-block;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(14,165,233,.12);
  color: var(--accent);
  font-weight: 600; font-size: .85rem;
}

.checkoutpaymentprice {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
}
.checkoutpaymentprice span { font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: .15rem; }

.plan-meta {
  margin: .25rem 0 0; padding: 0; list-style: none;
  display: grid; gap: .25rem;
  font-size: .92rem; color: var(--muted);
}
.plan-meta strong { color: var(--text); }

.section-title {
  margin: .25rem 0 .5rem; font-size: 1.05rem; font-weight: 700;
}

.cash-card {
  padding: 1rem; border-radius: 16px; background: var(--card);
  border: 3px solid rgba(2,6,23,.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.cash-head {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem;
}
.cash-radio { transform: scale(1.1); }
.cash-row { display: flex; gap: .75rem; flex-wrap: wrap; color: var(--muted); }
.cash-row span { white-space: nowrap; }
.cash-total { font-weight: 800; color: var(--text); }

.payment-row{
  display:grid;
  grid-template-columns: 1fr 3fr; /* RTO wider, Cash narrower */
  gap:1rem;
  align-items:start;
}
@media (max-width: 1000px){
  .payment-row{ grid-template-columns: 1fr  !important; } /* stack on small screens */
}
.col-cash .plan-card{ height:100%;gap: 1.1rem;     transform: translateY(9px);}


/* === Payment forms (table-free, responsive) === */
.pay-card{
 
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  margin-bottom: 16px;
}

.form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.form-grid.one { grid-template-columns: 1fr; }
.full { grid-column: 1 / -1; }


#ssl_agree{
	width: auto;
}


.actions{ justify-content:flex-end; margin-top:12px; }


.inline-note{ color:var(--muted); font-size:.9rem; margin-top:6px; }
.card-preview-container,
.check-preview-container{ margin-bottom:12px; }

/* Mobile */
@media (max-width: 768px){
  .form-grid{ grid-template-columns: 1fr; }
  .actions button{ width:100%; }
}

#signSectionHeader{
	text-align: center;
}

#mydesinglink{
	color:#00577a
}

#rtoFieldsWrap .section-title { font-weight:600; margin-bottom:.5rem; }
#rtoFields .rto-field { display:grid; gap:.25rem; margin:.5rem 0; }
#rtoFields .rto-field label { font-size:.9rem; }
#rtoFields .rto-field input { padding:.5rem; }
#rtoFields .req { color:#c00; }

/* 3-per-row grid for RTO fields */
.form-grid.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
}

/* Full-width items span all columns (e.g., EMAIL/EMPLOYER) */
.form-grid.cols-3 .full {
  grid-column: 1 / -1;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .form-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}
@media (max-width: 640px) {
  .form-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Inherit the context's font-size so the switch scales with text */
.section-title-row { display:flex; align-items:center; justify-content:space-between; gap:.75rem; flex-wrap:wrap; }
.ldw-switcher { display:flex; align-items:center; gap:.5em; font-size:inherit; }
.switch-text { font-weight:600; cursor:pointer; user-select:none; opacity:.7; transition:opacity .2s ease; }
.switch-text.left { order:0; }
.switch-text.right { order:2; }

/* iOS-style switch that scales with the font size */
.ios-switch {
  --switch-h: 1em;                         /* height equals current font size */
  --switch-w: calc(var(--switch-h) * 1.75);/* typical iOS aspect ratio */
  --knob-gap: 0.125em;                     /* inner padding around the knob */
  --track-off: #d1d5db;
  --track-on: var(--brand-gold, #eabc53);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--switch-w);
  height: var(--switch-h);
  cursor: pointer;
}

/* Invisible checkbox spans the switch area */
.ios-switch input {
  appearance: none;
  -webkit-appearance: none;
  outline: 0;
  margin: 0;
  width: var(--switch-w);
  height: var(--switch-h);
  position: absolute;
  opacity: 0;
}

/* Track */
.ios-switch .track {
  position: relative;
  width: var(--switch-w);
  height: var(--switch-h);
  border-radius: 999px;
  background: var(--track-off);
  box-shadow: inset 0 0 0 0.06em rgba(0,0,0,.08);
  transition: background-color .2s ease;
}

/* Knob */
.ios-switch .track::after {
  content: "";
  position: absolute;
  top: var(--knob-gap);
  left: var(--knob-gap);
  width: calc(var(--switch-h) - (var(--knob-gap) * 2));
  height: calc(var(--switch-h) - (var(--knob-gap) * 2));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.06em 0.12em rgba(0,0,0,.2), 0 0.12em 0.5em rgba(0,0,0,.15);
  transition: transform .22s cubic-bezier(.2,.85,.32,1.2);
}

/* ON state */
.ios-switch input:checked + .track { background: var(--track-on); }
.ios-switch input:checked + .track::after {
  transform: translateX(calc(var(--switch-w) - var(--switch-h)));
}

/* Label emphasis based on ON/OFF (uses the .ldw-off class you already toggle) */
.ldw-off .switch-text.left { opacity: 1; }
.ldw-off .switch-text.right { opacity: .5; }
.col-rto:not(.ldw-off) .switch-text.right { opacity: 1; }
.col-rto:not(.ldw-off) .switch-text.left { opacity: .5; }

/* Optional: strike LDW line on cards when OFF */
.col-rto.ldw-off .plan-meta .ldw-line { text-decoration: line-through; opacity: .6; }
select{
	color: #111827;
}

/* Make date inputs match other text inputs */
input[type="text"]:not(.swal2-input),
input[type="email"]:not(.swal2-input),
input[type="tel"]:not(.swal2-input),
input[type="password"]:not(.swal2-input),
input[type="date"]:not(.swal2-input),
textarea:not(.swal2-textarea) {
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  color: #111827;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  appearance: none;            /* cross-browser normalize */
  -webkit-appearance: none;
}

/* Optional: tidy calendar icon behavior (Chromium/WebKit) */
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  margin-right: 6px;
  opacity: .7;
}
input[type="date"]:hover::-webkit-calendar-picker-indicator { opacity: .95; }

/* Optional: hide inner spin/clear (Chromium/WebKit) */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button { display: none; }


/* 1) Responsive grid for the main action buttons */
#paymentActionButtons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 1rem 0 1.25rem;
}
@media (max-width: 1024px)  { #paymentActionButtons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)   { #paymentActionButtons { grid-template-columns: 1fr; } }

/* 2) Modernize those buttons (scoped so other .btn-primary stay intact) */
#paymentActionButtons .btn-primary {
  width: 100%;
  min-height: 44px; /* touch target */
  border-radius: 12px;
  padding: .9rem 1.1rem;
  font-weight: 800;             /* keeps your current bold look */
  font-size: .95rem;
  letter-spacing: .2px;
  background: linear-gradient(180deg, #eabc53, #d7a73d); /* your gold with depth */
  color: #2a4c61;               /* your existing contrast color */
  border: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.06);
  transition: transform .06s ease, box-shadow .2s ease, filter .2s ease;
  text-wrap: balance;
}
#paymentActionButtons .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  filter: brightness(1.02);
}
#paymentActionButtons .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,.10);
}
#paymentActionButtons .btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(234,188,83,.25), 0 0 0 6px rgba(234,188,83,.20);
}

/* 3) Align the secondary .actions-row button with the new look on mobile */
.paymentSectionHeader .actions-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.paymentSectionHeader .actions-row .btn {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: #2a4c61;
  min-height: 44px;
  padding: .7rem 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
@media (max-width: 640px) {
  .paymentSectionHeader .actions-row .btn { width: 100%; }
}

/* 4) Unify pay-card visuals with your token set */
.paymentSectionHeader .pay-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* 5) Slightly larger labels for better readability on mobile */
.paymentSectionHeader label { font-size: .95rem; }

/* Global reservation bar */
#reservationGlobalBar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999; /* above modals/navs—raise if needed */
  display: flex; gap: .75rem; align-items: center; justify-content: center;
  min-height: 44px;
  padding: .4rem .8rem;
  background: linear-gradient(180deg, #fff8e1, #ffe8a3); /* soft gold feel */
  color: #2a4c61;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform .2s ease;
}
#reservationGlobalBar[data-hidden] { display: none; }

#reservationTimerGlobal {
  font-weight: 800;
  letter-spacing: .2px;
}

#reservationGlobalBar .extendBtn {
  border: 0;
  border-radius: 999px;
  padding: .45rem .8rem;
  font-weight: 700;
  cursor: pointer;
  background: #0b6bcb;
  color: #fff;
}

/* Push content down only when bar is visible */
body.has-reservation-bar { padding-top: var(--resvbar-h, 48px); }





.site-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
}

.logo-container {
  text-align: center;
  z-index: 1;
}

.company-logo {
  display: block;
  margin: 0 auto;
}

#reservationHeader {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.site-header .resvTimer {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: #fff3cd;
  color: #7a5a00;
  border: 1px solid #ffe69c;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
}
.site-header .resvTimer.is-hidden { display: none; }

.site-header .resvTimer .extendBtn {
  border: 0;
  border-radius: 999px;
  padding: .35rem .6rem;
  font-weight: 700;
  cursor: pointer;
  background: #0b6bcb;
  color: #fff;
}



/* Only affects the "Reservation Error" SweetAlert */
.sa-reservation-error .sa-reservation-error-actions {
 
  
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

/* Make buttons fill their grid cells */
.sa-reservation-error .sa-reservation-error-actions .swal2-styled {
  width: 100% !important;
  margin: 0 !important;
}

.delivery-disclaimer {
  color: #c62828;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 8px;
}

.pdf-sign-row {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 18px;
}

.signature-arrow-guide {
  position: sticky;
  top: 120px;
  align-self: flex-start;
  animation: bounceUpDown 1.4s ease-in-out infinite;
}

.signature-arrow-guide span {
  display: inline-block;
  color: #edb958;
  font-size: 18px;
  font-weight: bolder;
  letter-spacing: 4px;
  border-bottom: 1px solid rgba(237, 185, 88, 0.45);
  padding-bottom: 8px;
}

.scroll-chevrons {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-chevrons i {
  color: rgba(255, 255, 255, 0.35);
  font-size: 36px;
  line-height: 22px;
}

@keyframes bounceUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .pdf-sign-row {
    flex-direction: column;
    align-items: center;
  }
}
.description {
    font-size: 1.25em;
}

.signature-area-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.sign-here-image {
  display: none;
  position: absolute;
  left: calc(100% + 18px);
  top: 25px;
  width: 100%;
  max-width: 200px;
  height: auto;
  animation: signArrowBounce 1.4s ease-in-out infinite;
}

@keyframes signArrowBounce {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: -10px 0;
  }
}

@media (max-width: 1200px) {
  .sign-here-image {
    display: none !important;
  }
}

.col-cash:has(.plan-card.selected) .section-title,
.col-rto:has(.plan-card.selected) .section-title {
  font-size: 1.45em;
  color: #eabc53;
  position: relative;
  bottom: 1rem;
}

.plan-card.selected {
  transform: translateY(-15px);
}

.plan-card.selected .section-title {
  margin: .25rem 0 1rem;
}
.section-title {
  transition: margin .2s ease;
}

.rto-info-icon {
  margin-left: 6px;
  
  cursor: help;
  font-size: 0.85em;
}

.form-section-full {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.thumb.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    color: #777;
    font-size: 14px;
    text-align: center;
}

/* Driver license upload inside RTO fields */
#fileUploadSection.dl-upload-section {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #d9dee8;
  border-radius: 10px;
  background: #fff;
}

#fileUploadSection .dl-upload-help {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

#fileUploadForm.dl-upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: start;
}

.dl-upload-left,
.dl-upload-right {
  min-width: 0;
}

.dl-upload-left input[type="file"] {
  width: 100%;
  color: inherit;
}

.dl-preview-wrap {
  display: none;
  min-height: 180px;
  border: 1px dashed #c9ced8;
  border-radius: 10px;
  padding: 0.75rem;
  background: #f8fafc;
}

.dl-meta {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.dl-preview-img {
  display: block;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 760px) {
  #fileUploadForm.dl-upload-grid {
    grid-template-columns: 1fr;
  }
}

#fileUploadSection.dl-upload-section {
  color: #2c2a29;
}