/* ==========================================================
   EveryLittle Bit Detailing — fleet account request form
   Builds on styles.css + book.css (same cards, fields, signature pad).
   ========================================================== */
.book-current { color: #fff; border-color: rgba(77,159,255,.55); background: rgba(77,159,255,.1); }

/* ---------- Vehicle counts ---------- */
.count-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.count-card {
  display: grid; gap: 6px; align-content: start; min-width: 0;
  padding: 14px 12px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 2px solid rgba(155,180,255,.22);
  transition: border-color .15s ease, background-color .15s ease;
}
.count-card.has-count { border-color: var(--blue); background: rgba(77,159,255,.08); }
.count-label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #e8ecff; line-height: 1.25; font-size: .95rem; }
.count-icon { width: 26px; height: 26px; fill: var(--muted); flex: none; }
.count-card.has-count .count-icon { fill: var(--blue-bright); }
.count-rate { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.count-rate span { display: block; }
.stepper { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; align-items: center; margin-top: 4px; }
.step-btn {
  height: 44px; border-radius: 10px; cursor: pointer;
  background: var(--surface-2); color: #fff; border: 1.5px solid rgba(155,180,255,.35);
  font: 700 1.3rem/1 var(--font-body);
}
.step-btn:hover { border-color: var(--blue); background: rgba(77,159,255,.14); }
input[type="number"] {
  width: 100%; min-width: 0; height: 44px; padding: 0 6px; text-align: center;
  font: 800 1.25rem var(--font-head); color: #fff;
  background: var(--bg); border: 1.5px solid rgba(155,180,255,.28); border-radius: 10px;
  -moz-appearance: textfield; appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(77,159,255,.28); }
.count-total { margin-top: 14px; font-weight: 700; color: #fff; }
.count-total output { font-family: var(--font-head); font-size: 1.3rem; color: var(--blue-bright); }
.count-tier { color: var(--muted); font-weight: 600; font-size: .92rem; }
.fleet-warn { margin-top: 10px; background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.45); color: #ffe7a8; font-size: .95rem; }
.fleet-warn[hidden] { display: none; }
.fleet-min { margin-top: 8px; }
#fleet-group.is-invalid .count-card { border-color: rgba(255,107,138,.7); }
#fleet-group > .field-error { margin-top: 8px; }

/* ---------- Weekday tiles ---------- */
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.day-tile .tile-body { min-height: 52px; padding: 8px 6px; }
.day-short { display: none; }

/* ---------- Extras ---------- */
.extras-list { grid-template-columns: 1fr !important; }
.extra-desc { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.extra-cost { font-size: .95rem; text-align: right; max-width: 46%; line-height: 1.3; }
.extra-quote { color: #d7c4ff; }

/* ---------- Yard photo ---------- */
.photo-input {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0;
}
.photo-drop {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  min-height: 76px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 2px dashed rgba(155,180,255,.35);
  transition: border-color .15s ease, background-color .15s ease;
}
.photo-drop:hover { border-color: var(--blue); background: rgba(77,159,255,.06); }
.photo-input:focus-visible + .photo-actions, #photo-field:focus-within .photo-drop { outline: 3px solid var(--gold); outline-offset: 3px; }
.photo-icon { width: 34px; height: 34px; fill: var(--blue-bright); flex: none; }
.photo-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.photo-text strong { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-sub { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.photo-thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; border: 1px solid var(--line); }
.photo-thumb[hidden], .photo-actions[hidden] { display: none; }
.is-invalid > .photo-drop { border-color: #ff6b8a; }

/* ---------- Estimate (two totals) ---------- */
.est-month { margin-top: 10px; padding-top: 10px; }
.est-month output { font-size: 1.5rem; }
.estimate-card .est-total output { white-space: nowrap; }
.aside-month { margin-top: 8px; padding-top: 8px; }
.aside-month strong { font-size: 1.35rem; }

@media (min-width: 560px) {
  .count-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .day-grid { grid-template-columns: repeat(6, 1fr); }
  .day-long { display: none; }
  .day-short { display: inline; }
}
@media (max-width: 359px) {
  .count-grid { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .extras-list .addon-opt { flex-wrap: wrap; row-gap: 4px; }
  .extras-list .extra-cost { flex-basis: 100%; max-width: none; text-align: left; padding-left: 36px; }
}
@media (max-width: 419px) {
  .day-long { display: none; }
  .day-short { display: inline; }
}

/* ---------- Fleet thank-you ---------- */
.thanks-next { margin-top: 18px; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
