:root {
  --ink: #111418;
  --muted: #66707b;
  --line: #e4e7eb;
  --lime: #b8ff3d;
  --blue: #3c6df0;
  --paper: #f5f7f9;
  --white: #fff;
  --surface: #fff;
  --role-color: #00a86b;
  --desktop-header: #111418;
  --desktop-brand-letter: #111418;
  --desktop-brand-background: #b8ff3d;
  --desktop-brand-text: #ffffff;
  --desktop-light-background: #f5f7f9;
  --desktop-light-panel: #ffffff;
  --desktop-dark-background: #080b0f;
  --desktop-dark-panel: #141920;
  --desktop-radius: 20px;
  --desktop-passenger: #00a86b;
  --desktop-driver: #1769e0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--desktop-light-background);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
}
.country-safe-area {
  height: calc(env(safe-area-inset-top, 0px) + 24px);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  background: #111418;
}
.country-safe-area span {
  display: block;
  width: 100%;
  height: 6px;
  opacity: 0.9;
}
.country-safe-area.country-US span:nth-child(1) { background: #c8102e; }
.country-safe-area.country-US span:nth-child(2) { background: #fff; }
.country-safe-area.country-US span:nth-child(3) { background: #2f55a4; }
.country-safe-area.country-UY span:nth-child(1) { background: #69b9e9; }
.country-safe-area.country-UY span:nth-child(2) { background: #fff; }
.country-safe-area.country-UY span:nth-child(3) { background: #69b9e9; }
.country-safe-area.country-VE span:nth-child(1) { background: #f4d900; }
.country-safe-area.country-VE span:nth-child(2) { background: #003da5; }
.country-safe-area.country-VE span:nth-child(3) { background: #cf142b; }
.country-safe-area.country-default span:nth-child(1) { background: var(--lime); }
.country-safe-area.country-default span:nth-child(2) { background: #fff; }
.country-safe-area.country-default span:nth-child(3) { background: var(--blue); }
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
header {
  height: 72px;
  background: var(--desktop-header);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
}
.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--desktop-brand-background);
  color: var(--desktop-brand-letter);
  margin-right: 8px;
}
.brand b { color: var(--desktop-brand-text); }
.connection {
  font-size: 13px;
  color: #b7c0c9;
}
.connection.online {
  color: var(--lime);
}
main {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: min(760px, 100%);
  background: var(--desktop-light-panel);
  border: 1px solid var(--line);
  border-radius: var(--desktop-radius);
  padding: clamp(28px, 6vw, 64px);
  box-shadow: 0 22px 60px rgba(20, 27, 36, 0.08);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  border: 1px solid #59636e;
  border-radius: 999px;
  padding: 8px 12px;
  background: #252a31;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
body[data-account-theme="passenger"] { --role-color: var(--desktop-passenger); --role-text: var(--desktop-passenger-text, #fff); }
body[data-account-theme="driver"] { --role-color: var(--desktop-driver); --role-text: var(--desktop-driver-text, #fff); }
#authArea .primary,
#accountModal .primary,
#authArea .auth-tabs button.active {
  background: var(--role-color) !important;
  border-color: var(--role-color) !important;
  color: var(--role-text) !important;
}
#authArea .selected-role { color: var(--role-color); }
body[data-account-theme] .account-main-button {
  background: var(--role-color) !important;
  border-color: var(--role-color) !important;
  color: var(--role-text) !important;
}
body[data-account-theme] #accountModal .modal-card {
  border-top: 7px solid var(--role-color);
}
body.dark-mode {
  --ink: #f5f7f9;
  --muted: #aeb8c4;
  --line: #343c47;
  --paper: #080b0f;
  --white: #141920;
  --surface: #141920;
  background: var(--desktop-dark-background);
}
body.dark-mode .card,
body.dark-mode .layout,
body.dark-mode .panel,
body.dark-mode .modal-card,
body.dark-mode form,
body.dark-mode .driver-card,
body.dark-mode .account-chip,
body.dark-mode .offer-card,
body.dark-mode .ride-state-banner,
body.dark-mode .country-admin,
body.dark-mode .finance-admin,
body.dark-mode .admin-module-launcher,
body.dark-mode .admin-country-launcher {
  background-color: var(--desktop-dark-panel);
  color: #f5f7f9;
  border-color: #343c47;
}
.desktop-live-preview {
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f5f7f9;
}
.desktop-preview-stripes { display: grid; gap: 2px; background: #111418; }
.desktop-preview-stripes i { height: 4px; display: block; }
.desktop-preview-header { display: flex; align-items: center; gap: 9px; padding: 14px; }
.desktop-preview-header span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; font-weight: 900; }
.desktop-preview-header b { font-size: 20px; }
.desktop-preview-header em { margin-left: auto; font-size: 11px; opacity: .7; }
.desktop-preview-body { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.desktop-preview-body article { grid-column: 1/-1; min-height: 70px; padding: 18px; border: 1px solid #ccd3dc; background: #fff; }
.desktop-preview-body button { border: 0; border-radius: 11px; padding: 11px; color: #fff; font-weight: 900; }
.desktop-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: #0d1117;
  color: #f5f7f9;
  border-color: #46505d;
}
body.dark-mode small,
body.dark-mode p { color: #b8c1cc; }
body.dark-mode label,
body.dark-mode legend,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode dt,
body.dark-mode dd,
body.dark-mode summary,
body.dark-mode .back,
body.dark-mode .back-to-landing,
body.dark-mode .admin-link { color: #f5f7f9; }
body.dark-mode .status,
body.dark-mode .fare,
body.dark-mode .notice,
body.dark-mode .current-location,
body.dark-mode .suggestions,
body.dark-mode .recent-destination-label,
body.dark-mode .recent-destination-delete-list,
body.dark-mode .selected-role,
body.dark-mode .verified-banner,
body.dark-mode .delivery-request-card,
body.dark-mode .delivery-driver-response,
body.dark-mode .user-message,
body.dark-mode .admin-message,
body.dark-mode .user-support-message,
body.dark-mode .admin-support-message,
body.dark-mode .safety-pin-message,
body.dark-mode .cancelled-message {
  background: #1b222b;
  color: #f5f7f9;
  border-color: #46505d;
}
body.dark-mode .notice.error { background: #431d22; color: #ffb4ac; }
body.dark-mode .notice:not(.error) { background: #12392b; color: #a9f2cf; }
body.dark-mode .fare { background: #23331a; border-color: #58733a; }
body.dark-mode .suggestions button { background: #1b222b; color: #f5f7f9; border-color: #343c47; }
body.dark-mode .suggestions button:hover { background: #27313c; }
body.dark-mode .offer-route-details span { background: #0d1117; }
body.dark-mode a { color: #8eb7ff; }
body.dark-mode button.secondary,
body.dark-mode .actions button:last-child { background: #303945; color: #f5f7f9; border-color: #596675; }
.request-expiry {
  display: block;
  margin: 10px 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff3cd;
  color: #7a4b00;
  font-weight: 900;
  text-align: center;
}
body.dark-mode .request-expiry { background: #493600; color: #ffe292; }
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin: 0 0 10px;
}
h1,
h2 {
  margin: 0 0 12px;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(36px, 7vw, 66px);
  line-height: 0.98;
}
h2 {
  font-size: 38px;
}
.welcome > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.role {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  background: #fff;
  transition: 0.2s;
}
.role:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}
.role b,
.role small {
  display: block;
}
.role b {
  font-size: 22px;
}
.role small {
  margin-top: 8px;
  color: var(--muted);
}
.role.dark {
  background: var(--ink);
  color: #fff;
}
.role.dark small {
  color: #b7c0c9;
}
.hidden {
  display: none !important;
}
.layout {
  width: min(1180px, 100%);
  min-height: 660px;
  display: grid;
  grid-template-columns: 380px 1fr;
  background: var(--desktop-light-panel);
  border-radius: var(--desktop-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(20, 27, 36, 0.1);
}
.panel {
  padding: 32px;
  overflow: auto;
}
.map {
  min-height: 540px;
  background: #dfe5e9;
  position: relative;
}
.map-load-status { position:absolute; inset:0; z-index:900; display:grid; place-content:center; text-align:center; gap:8px; padding:24px; background:#e8edf1; color:#27313a; }
.map-load-status small { display:block; color:#65717c; }
.map-load-status button { border:0; border-radius:11px; padding:12px 18px; background:#1769e0; color:#fff; font-weight:900; }
.map-load-status.error { background:#f3f5f7; }
.back {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0;
  margin-bottom: 36px;
}
label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 22px 0;
}
input {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cfd5db;
  border-radius: 13px;
  padding: 15px 14px;
  font-size: 16px;
  outline: none;
}
input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(60, 109, 240, 0.14);
}
.primary,
.actions button {
  width: 100%;
  border: 0;
  border-radius: 13px;
  padding: 15px;
  font-weight: 800;
}
.primary {
  background: var(--lime);
  color: var(--ink);
}
.status {
  margin-top: 24px;
  padding: 18px;
  border-radius: 15px;
  background: #eef3ff;
  border: 1px solid #d5e0ff;
  line-height: 1.55;
}
.code {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.12em;
  display: block;
  margin: 7px 0;
}
.actions {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.actions button {
  background: var(--ink);
  color: #fff;
}
.actions button:last-child {
  background: #e9edf1;
  color: var(--ink);
}
.fare {
  margin: 18px 0;
  padding: 17px;
  border: 1px solid #cfe39f;
  background: #f4ffe2;
  border-radius: 14px;
}
.fare strong {
  display: block;
  font-size: 28px;
}
.fare small {
  color: var(--muted);
}
.pickup-choice {
  border: 0;
  padding: 0;
  margin: 22px 0;
}
.pickup-choice legend {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}
.pickup-choice label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  font-weight: 500;
}
.pickup-choice input {
  width: auto;
  margin: 0;
}
.current-location {
  padding: 13px;
  border-radius: 12px;
  background: #f1f4f7;
  color: var(--muted);
  font-size: 14px;
}
.autocomplete {
  position: relative;
}
.suggestions {
  position: absolute;
  z-index: 1000;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(20, 27, 36, 0.15);
  overflow: hidden;
}
.suggestions button {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
  padding: 12px 14px;
  font-size: 14px;
}
.suggestions button:hover {
  background: #f2f6ff;
}
.suggestions button:last-child {
  border-bottom: 0;
}
.suggestion-empty {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
body.dark-mode .suggestion-empty { color: #d6dce5; }
@media (max-width: 760px) {
  header {
    height: 62px;
    padding: 0 16px;
  }
  main {
    padding: 12px;
    display: block;
  }
  .card {
    margin-top: 22px;
  }
  .role-grid {
    grid-template-columns: 1fr;
  }
  .layout {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 86px);
  }
  .panel {
    padding: 24px;
  }
  .map {
    min-height: 48vh;
    order: -1;
  }
  h2 {
    font-size: 32px;
  }
}

select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cfd5db;
  border-radius: 13px;
  padding: 15px 14px;
  background: #fff;
  font: inherit;
}
.role-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.admin-role {
  background: #eef3ff;
}
.map-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  border: 2px solid var(--blue);
}
.map-symbol.person {
  background: var(--lime);
  border-color: #6ea800;
}
.map-symbol.busy {
  opacity: 0.55;
  filter: grayscale(1);
}
.admin-card {
  width: min(1000px, 100%);
  padding: 38px;
}
.admin-summary {
  padding: 15px;
  background: #eef3ff;
  border-radius: 14px;
  margin: 20px 0;
}
.admin-ride {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px;
  margin: 12px 0;
}
.admin-ride small,
.admin-ride strong {
  display: block;
  margin-top: 6px;
}
.admin-ride p {
  color: var(--muted);
  font-size: 14px;
}
.assign {
  display: flex;
  gap: 8px;
  align-items: end;
}
.assign select {
  margin: 0;
}
.assign button {
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 13px 18px;
  font-weight: 800;
}
.passenger-actions {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.passenger-actions button,
.secondary {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  font-weight: 800;
  background: #fff;
}
.passenger-actions .danger {
  color: #b42318;
  border-color: #f0b6b1;
  background: #fff6f5;
}
.edit-ride {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.edit-ride h3 {
  margin: 0;
}
.edit-ride .secondary {
  margin-top: 9px;
}
.trip-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 13px 0;
}
.trip-summary span {
  padding: 10px 6px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.trip-summary small,
.trip-summary strong {
  display: block;
}
.trip-summary small {
  color: var(--muted);
  font-size: 11px;
}
.trip-addresses {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0 8px;
  border-bottom: 1px solid var(--line);
}
.auth-tabs button {
  border: 0;
  background: none;
  padding: 13px;
  font-weight: 800;
  color: var(--muted);
}
.auth-tabs button.active {
  color: var(--ink);
  border-bottom: 3px solid var(--blue);
}
.auth-form {
  max-width: 500px;
}
.notice {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #ecfdf3;
  color: #067647;
}
.notice.error {
  background: #fff1f0;
  color: #b42318;
}
.admin-link {
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  margin-top: 20px;
}
.account-chip {
  padding: 12px;
  border-radius: 12px;
  background: #eef3ff;
  font-weight: 800;
}
.driver-card,
.assigned-driver {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111418, #29313a);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(17, 20, 24, 0.2);
}
.driver-card b,
.driver-card strong,
.driver-card span,
.driver-card small,
.assigned-driver b,
.assigned-driver strong,
.assigned-driver span,
.assigned-driver small {
  display: block;
}
.driver-card strong,
.assigned-driver strong {
  font-size: 24px;
}
.driver-card small,
.assigned-driver small {
  color: var(--lime);
  font-weight: 800;
}
.driver-avatar {
  display: grid !important;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 28px;
}
.verified-banner {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #d9fbe7;
  color: #067647;
}
.offers {
  margin-top: 18px;
}
.offer-card {
  position: relative;
  border: 2px solid var(--blue);
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
  background: #f8faff;
}
.offer-number {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1769e0;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(23, 105, 224, 0.3);
}
.numbered-offer-marker {
  background: transparent;
  border: 0;
}
.numbered-offer-marker span {
  width: 38px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  color: #fff;
  background: #1769e0;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
}
.numbered-offer-marker span b {
  transform: rotate(45deg);
}
.numbered-destination-marker {
  background: transparent;
  border: 0;
}
.numbered-destination-marker span {
  width: 38px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #00a86b;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
}
.offer-route-legend {
  position: absolute;
  z-index: 700;
  left: 10px;
  bottom: 12px;
  display: grid;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #172033;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.offer-route-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.offer-route-legend i {
  width: 20px;
  height: 5px;
  border-radius: 5px;
}
.offer-route-legend .blue { background: #1769e0; }
.offer-route-legend .green { background: #00a86b; }
.offer-route-details {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
  margin-top: 10px;
}
.offer-route-details span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 11px;
  background: #fff;
}
.offer-route-details small {
  font-size: 10px;
  font-weight: 900;
}
.offer-route-details b { font-size: 13px; }
.offer-route-details .to-passenger {
  color: #1769e0;
  border: 2px solid #1769e0;
}
.offer-route-details .to-destination {
  color: #008f5a;
  border: 2px solid #00a86b;
}
.recent-destination-label {
  margin-top: 10px;
  padding: 11px;
  border: 1px solid #cfd9e8;
  border-radius: 12px;
  background: #f7faff;
}
.recent-destination-label select {
  width: 100%;
  margin-top: 6px;
}
.recent-destination-label small {
  display: block;
  margin-top: 5px;
  color: #607089;
}
.recent-destination-label .compact,
.test-locked-notification {
  margin-top: 8px;
  width: 100%;
}
.recent-destination-delete-list { margin: 12px 0 0; padding: 10px; border: 1px solid #cfd9e8; border-radius: 10px; max-height: 220px; overflow-y: auto; }
.recent-destination-delete-list legend { padding: 0 5px; font-size: 12px; }
.recent-destination-delete-list label { display: flex; align-items: flex-start; gap: 9px; margin: 7px 0; font-weight: 600; line-height: 1.3; }
.recent-destination-delete-list input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; }
.delivery-unavailable-card { text-align: center; max-width: 520px; }
.delivery-unavailable-icon { font-size: 54px; margin-bottom: 8px; }
.delivery-unavailable-card .primary { margin-top: 12px; }
.offer-earnings {
  margin-top: 9px;
  align-items: center;
}
@media (max-width: 430px) {
  .offer-route-details { grid-template-columns: 1fr; }
}
.offer-card p {
  font-size: 13px;
  line-height: 1.5;
}
.offer-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
}
.offer-card button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px;
  background: var(--lime);
  font-weight: 900;
}
.admin-user {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 13px;
  margin: 9px 0;
}
.admin-user.driver-account,
.finance-person.driver-account,
.finance-account-list article.driver-account { background: #e8f1ff; border-left: 6px solid #1769e0; }
.admin-user.passenger-account,
.finance-person.passenger-account,
.finance-account-list article.passenger-account { background: #e8f9ee; border-left: 6px solid #159447; }
.admin-user { display: block; }
.admin-user > summary { cursor: pointer; list-style: none; padding: 4px; }
.admin-user > summary::-webkit-details-marker { display: none; }
.admin-user > summary b { display: block; font-size: 18px; text-decoration: underline; }
.admin-user-expanded { display: grid; grid-template-columns: 1fr 270px; gap: 12px; margin-top: 14px; }
.admin-live-totals { display: grid; grid-template-columns: repeat(2,minmax(150px,1fr)); gap: 12px; margin-top: 12px; }
.admin-live-totals button { border: 1px solid #cfd9e5; border-radius: 14px; padding: 15px; background: #fff; text-align: left; }
.admin-live-totals small,.admin-live-totals b { display: block; }
.admin-live-totals b { font-size: 28px; margin-top: 4px; }
.country-pin-form { margin: 18px 0; padding: 16px; border: 1px solid #d9e0e7; border-radius: 14px; background: #f8faff; }
.email-admin { padding: 18px; border: 1px solid #d9e0e7; border-radius: 16px; background: #fff; }
.email-filters { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0; }
.email-filters button.active { background:#17212c; color:#fff; }
.email-item { padding:14px; border-radius:13px; margin:10px 0; border:1px solid #d9e0e7; }
.email-item.driver { background:#e8f1ff; border-left:6px solid #1769e0; }
.email-item.passenger { background:#e8f9ee; border-left:6px solid #159447; }
.email-item.unknown { background:#f1f1f1; border-left:6px solid #777; }
.email-item.outbound { opacity:.9; }
.email-item header { height:auto; background:transparent; color:inherit; box-shadow:none; display:flex; justify-content:space-between; gap:12px; }
.email-item p { white-space:pre-wrap; }
#emailBody { min-height:340px; resize:vertical; font-size:16px; line-height:1.55; }
.email-signature-settings { margin:20px 0; padding:16px; border:1px solid #bfcbd8; border-radius:14px; background:#f8faff; }
.email-signature-settings summary { cursor:pointer; font-weight:900; color:#174d9b; }
.email-signature-preview img { display:block; max-width:420px; max-height:180px; margin-top:10px; border-radius:8px; }
#financeMonthly .finance-person,
#financeDrivers .finance-person { background: #e8f1ff; border-left: 6px solid #1769e0; }
#financeClients .finance-person { background: #e8f9ee; border-left: 6px solid #159447; }
@media (max-width:650px){.admin-user-expanded{grid-template-columns:1fr}.admin-live-totals{grid-template-columns:1fr}}
.admin-user small,
.admin-user span {
  display: block;
  margin-top: 4px;
}
.user-action {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.admin-user select {
  margin: 0;
}
.user-action button {
  border: 0;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 11px;
}
.user-action button:disabled {
  opacity: 0.6;
}
.user-status {
  width: max-content;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  background: #fff3cd;
}
.user-status.approved {
  background: #d9fbe7;
  color: #067647;
}
.user-status.paused {
  background: #eef3ff;
  color: #2949a3;
}
.user-status.rejected,
.user-status.deleted {
  background: #fff1f0;
  color: #b42318;
}
.landing-card {
  width: min(980px, 100%);
  overflow: hidden;
}
.landing-copy {
  text-align: center;
}
.landing-copy > p:last-child {
  color: var(--muted);
  font-size: 17px;
}
.road-scene {
  position: relative;
  height: 250px;
  margin: 28px -64px;
  background: #273039;
  overflow: hidden;
  border-top: 14px solid #bcc5cc;
  border-bottom: 14px solid #bcc5cc;
  box-shadow: inset 0 12px 25px rgba(0, 0, 0, 0.22);
}
.road-scene:before,
.road-scene:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #fff 0 54px,
    transparent 54px 92px
  );
  opacity: 0.85;
}
.road-scene:before {
  top: 74px;
}
.road-scene:after {
  bottom: 74px;
}
.road-line {
  position: absolute;
  left: -5%;
  width: 110%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #f4cf3a 0 70px,
    transparent 70px 110px
  );
}
.line-one {
  top: 119px;
}
.line-two {
  top: 127px;
}
.moving-vehicle {
  position: absolute;
  font-size: 42px;
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.35));
  will-change: transform;
}
.car-one {
  top: 12px;
  animation: drive-right 8s linear infinite;
}
.truck-one {
  top: 82px;
  animation: drive-left 12s linear infinite;
}
.moto-one {
  bottom: 10px;
  animation: drive-right 6s linear infinite 1s;
}
.car-two {
  bottom: 77px;
  animation: drive-left 9s linear infinite 2s;
}
@keyframes drive-right {
  from {
    transform: translateX(-120px) scaleX(-1);
  }
  to {
    transform: translateX(calc(100vw + 1100px)) scaleX(-1);
  }
}
@keyframes drive-left {
  from {
    transform: translateX(calc(100vw + 1100px));
  }
  to {
    transform: translateX(-150px);
  }
}
.entry-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.entry-buttons button {
  border: 0;
  border-radius: 17px;
  padding: 19px;
  text-align: left;
  box-shadow: 0 8px 18px rgba(17, 20, 24, 0.12);
  transition: 0.2s;
}
.entry-buttons button:hover {
  transform: translateY(-2px);
}
.entry-buttons b,
.entry-buttons small {
  display: block;
}
.entry-buttons b {
  font-size: 19px;
}
.entry-buttons small {
  margin-top: 5px;
}
.entry-passenger {
  background: var(--lime);
  color: var(--ink);
}
.entry-driver {
  background: var(--blue);
  color: #fff;
}
.entry-driver small {
  color: #e4eaff;
}
.selected-role {
  margin: 5px 0 0;
  padding: 12px;
  border-radius: 12px;
  background: #eef3ff;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.back-to-landing {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0;
  font-weight: 700;
}
.entry-delivery {
  background: #ffcc4d;
  color: #111;
}
.entry-delivery-driver {
  background: #17202a;
  color: #fff;
}
.entry-delivery-driver small {
  color: #c8d0d8;
}
.delivery-vehicles {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
}
.delivery-vehicles legend {
  font-weight: 900;
}
.delivery-vehicles label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.delivery-vehicles input {
  width: auto;
  margin: 0;
}
.user-filters {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 10px;
  margin: 12px 0 18px;
}
.user-filters input,
.user-filters select {
  margin: 0;
}
.user-details > b {
  font-size: 18px;
}
.account-type {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.user-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 12px 0;
}
.user-details dl div {
  min-width: 0;
}
.user-details dt {
  font-size: 11px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}
.user-details dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  align-items: end;
}
.password-field input {
  margin-top: 8px;
}
.toggle-password {
  height: 51px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
  padding: 0 14px;
}
.text-button,
.account-edit-link {
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 800;
  padding: 12px 0;
}
.account-edit-link {
  margin-bottom: 12px;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(17, 20, 24, 0.6);
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 28px;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 32px;
}
.reset-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  margin: 9px 0;
}
.reset-request small,
.reset-request span {
  display: block;
  margin-top: 4px;
}
.reset-request button {
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  padding: 12px;
  font-weight: 800;
}
.modal-card.wide {
  width: min(900px, 100%);
}
.history-section {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.history-grand {
  padding: 18px;
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
}
.history-grand small,
.history-grand strong,
.history-grand span {
  display: block;
}
.history-grand strong {
  font-size: 30px;
  color: var(--lime);
}
.daily-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}
.history-ride {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  margin: 10px 0;
}
.history-ride small,
.history-ride strong {
  display: block;
  margin-top: 4px;
}
.history-ride p {
  font-size: 13px;
  color: var(--muted);
}
.reservation-section,
.wallet-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.wallet-card {
  padding: 18px;
  border-radius: 16px;
  margin: 10px 0;
  color: #111;
}
.wallet-card small,
.wallet-card strong,
.wallet-card b {
  display: block;
}
.wallet-card strong {
  font-size: 32px;
}
.wallet-card.green {
  background: #d9fbe7;
}
.wallet-card.yellow {
  background: #fff4b8;
}
.wallet-card.orange {
  background: #ffd8a8;
}
.wallet-card.red {
  background: #ffc9c9;
}
.reservation-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 14px 0;
}
.reservation-totals span {
  text-align: center;
  background: #eef3ff;
  padding: 10px;
  border-radius: 10px;
}
.reservation-totals small,
.reservation-totals b {
  display: block;
}
.reservation-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin: 10px 0;
}
.reservation-card small,
.reservation-card span,
.reservation-card strong {
  display: block;
  margin-top: 5px;
}
.reservation-driver {
  margin-top: 8px;
  padding: 9px;
  background: #eef3ff;
  border-radius: 9px;
  font-weight: 800;
}
.reservation-buttons {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.reservation-buttons button,
.reservation-card > button {
  border: 0;
  border-radius: 9px;
  padding: 9px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin-top: 8px;
}
.reservation-day {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  margin: 12px 0;
  background: #fafbfc;
}
.reservation-day h4 {
  margin: 0 0 8px;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.inline-check input,
.day-selector input {
  width: auto;
  margin: 0;
}
.fare > h4 {
  margin: 4px 0 10px;
}
.quote-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.quote-totals span {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid #dce8bd;
  border-radius: 11px;
  padding: 10px 6px;
}
.quote-totals small,
.quote-totals b {
  display: block;
}
.quote-totals small {
  min-height: 30px;
  font-size: 11px;
}
.quote-totals b {
  font-size: 18px;
}
.quote-days {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.quote-days article {
  background: #fff;
  border: 1px solid #dce8bd;
  border-radius: 12px;
  padding: 12px;
}
.quote-days article > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.quote-days article strong {
  font-size: 20px;
}
.quote-days article small,
.quote-days article span,
.quote-days article em {
  display: block;
  margin-top: 5px;
}
.quote-days article p {
  font-size: 12px;
  line-height: 1.5;
  margin: 7px 0;
}
.quote-days article em {
  font-size: 12px;
  color: var(--muted);
}
.quote-lock-note {
  font-size: 12px;
  margin-bottom: 0;
}
.reservation-summary-title {
  margin: 22px 0 6px;
}
.empty-reservations {
  color: var(--muted);
  font-size: 13px;
  padding: 12px;
  background: #f5f7f9;
  border-radius: 11px;
}
.tariff-admin {
  margin: 28px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tariff-note {
  color: var(--muted);
  font-size: 13px;
}
.day-selector {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.day-selector legend {
  font-weight: 800;
  font-size: 13px;
}
.day-selector label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tariff-rule {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  margin: 10px 0;
}
.tariff-rule small,
.tariff-rule strong,
.tariff-rule span {
  display: block;
  margin-top: 4px;
}
.tariff-rule.inactive {
  opacity: 0.58;
}
.tariff-rule button {
  border: 0;
  border-radius: 9px;
  padding: 9px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin-left: 5px;
}
.money-input {
  position: relative;
}
.money-input > span {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 900;
  z-index: 1;
}
.money-input input {
  padding-left: 34px;
}
.mile-preview {
  padding: 13px;
  border-radius: 11px;
  background: #eef3ff;
  font-size: 13px;
  font-weight: 700;
  margin: -10px 0 14px;
}
.zelle-help {
  display: block;
  line-height: 1.55;
  margin-top: 10px;
}
.purchase-record,
.travel-package {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin: 8px 0;
}
.purchase-record small,
.travel-package small {
  display: block;
  margin-top: 4px;
}
.purchase-record button,
.travel-package button {
  border: 0;
  border-radius: 9px;
  padding: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}
.offer-decisions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
}
.offer-card .reject-offer {
  background: #fff1f0;
  color: #b42318;
  border: 1px solid #f0b6b1;
}
.driver-dashboard {
  margin: 18px 0;
}
.next-trip-clock {
  padding: 18px;
  border-radius: 17px;
  background: linear-gradient(135deg, #111418, #25303b);
  color: #fff;
}
.next-trip-clock > small {
  color: var(--lime);
  font-weight: 900;
  letter-spacing: 0.08em;
}
.next-trip-clock > b {
  display: block;
  margin: 6px 0 14px;
  font-size: 16px;
  text-transform: capitalize;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.countdown-grid span {
  text-align: center;
  padding: 10px 5px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
}
.countdown-grid strong,
.countdown-grid small {
  display: block;
}
.countdown-grid strong {
  font-size: 28px;
  color: var(--lime);
}
.countdown-grid small {
  font-size: 10px;
  text-transform: uppercase;
}
.driver-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.driver-wallet-head h3 {
  margin: 0;
}
.driver-wallet-head button {
  border: 0;
  border-radius: 9px;
  background: #eef3ff;
  color: var(--blue);
  padding: 8px 12px;
  font-weight: 800;
}
.driver-wallet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 16px;
  border-radius: 15px;
  background: #d9fbe7;
}
.driver-wallet label {
  margin: 0;
}
.driver-wallet select {
  margin-top: 7px;
}
.driver-earnings-total {
  text-align: right;
}
.driver-earnings-total small,
.driver-earnings-total strong,
.driver-earnings-total span {
  display: block;
}
.driver-earnings-total strong {
  font-size: 34px;
}
.driver-earnings-total span {
  font-size: 12px;
  color: #067647;
}
.scheduled-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.scheduled-heading h3 {
  margin: 0;
}
.scheduled-heading small {
  color: var(--muted);
}
.scheduled-heading > b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.driver-scheduled-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 12px 0;
  background: #fff;
}
.scheduled-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #111418;
  color: #fff;
  padding: 12px;
}
.scheduled-date span {
  text-transform: capitalize;
  font-size: 12px;
  color: var(--lime);
  font-weight: 800;
}
.scheduled-date strong {
  font-size: 19px;
  margin-top: 6px;
}
.scheduled-info {
  padding: 14px;
}
.scheduled-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 20px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 11px;
}
.route-stop {
  position: relative;
  padding-left: 19px;
  margin-top: 13px;
}
.route-stop:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid #6ea800;
}
.destination-stop:before {
  background: var(--blue);
  border-color: #244eb6;
}
.route-stop small,
.route-stop strong {
  display: block;
}
.route-stop small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 900;
}
.route-stop strong {
  font-size: 13px;
  margin-top: 2px;
}
.scheduled-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.scheduled-numbers span {
  padding: 8px 5px;
  border-radius: 9px;
  background: #f5f7f9;
  text-align: center;
}
.scheduled-numbers small,
.scheduled-numbers b {
  display: block;
}
.scheduled-numbers small {
  font-size: 9px;
  color: var(--muted);
}
.scheduled-numbers b {
  font-size: 12px;
  margin-top: 3px;
}
.scheduled-info > button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px;
  margin-top: 12px;
  background: var(--lime);
  font-weight: 900;
}
.driver-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.driver-title-row h2 {
  margin-bottom: 12px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-availability {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 18px;
  border-left: 1px solid #3b4249;
}
.header-availability > b {
  font-size: 12px;
  white-space: nowrap;
}
.driver-header-mode {
  padding: 8px 11px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  box-shadow: none;
  white-space: nowrap;
}
.header-connected {
  color: #6dff7e;
}
.header-disconnected {
  color: #ff6b6b;
}
.availability-switch {
  position: relative;
  display: block;
  width: 68px;
  height: 38px;
  margin: 0;
  flex: 0 0 auto;
}
.header-switch {
  width: 54px;
  height: 30px;
}
.availability-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.availability-switch span {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: #e14b4b;
  transition: 0.25s;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25);
}
.availability-switch span:before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: 0.25s;
}
.header-switch span:before {
  width: 24px;
  height: 24px;
  left: 3px;
  top: 3px;
}
.availability-switch input:checked + span {
  background: #19a74d;
}
.availability-switch input:checked + span:before {
  transform: translateX(30px);
}
.header-switch input:checked + span:before {
  transform: translateX(24px);
}
.availability-switch input:disabled + span {
  opacity: 0.55;
}
.radar-waiting {
  text-align: center;
  padding: 20px;
  border-radius: 17px;
  background: #07150e;
  color: #fff;
  margin: 16px 0;
}
.radar-waiting > strong,
.radar-waiting > small {
  display: block;
}
.radar-waiting > strong {
  font-size: 19px;
  color: var(--lime);
  margin-top: 12px;
}
.radar-waiting > small {
  color: #a8b8ae;
  margin-top: 5px;
}
.radar {
  position: relative;
  width: 150px;
  height: 150px;
  margin: auto;
  border: 2px solid #32dc78;
  border-radius: 50%;
  overflow: hidden;
  background:
    repeating-radial-gradient(circle, #0d2b1a 0 1px, transparent 2px 36px),
    linear-gradient(
      90deg,
      transparent 49.5%,
      rgba(50, 220, 120, 0.35) 50%,
      transparent 50.5%
    ),
    linear-gradient(
      transparent 49.5%,
      rgba(50, 220, 120, 0.35) 50%,
      transparent 50.5%
    );
}
.radar > b {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: var(--lime);
  color: #111;
}
.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  left: 50%;
  top: 0;
  transform-origin: 0 100%;
  background: linear-gradient(
    45deg,
    rgba(50, 220, 120, 0.02),
    rgba(50, 220, 120, 0.45)
  );
  animation: radar-spin 2.5s linear infinite;
}
.radar-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: radar-pulse 1.6s ease-in-out infinite;
}
.dot-one {
  left: 30px;
  top: 48px;
}
.dot-two {
  right: 30px;
  bottom: 38px;
  animation-delay: 0.5s;
}
.dot-three {
  right: 43px;
  top: 30px;
  animation-delay: 1s;
}
@keyframes radar-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes radar-pulse {
  50% {
    opacity: 0.25;
    transform: scale(0.65);
  }
}
@media (max-width: 760px) {
  .role-grid.three {
    grid-template-columns: 1fr;
  }
  .admin-card {
    padding: 24px;
  }
  .assign {
    display: block;
  }
  .assign button {
    width: 100%;
    margin-top: 8px;
  }
  .admin-user {
    grid-template-columns: 1fr;
  }
  .user-action,
  .user-filters {
    grid-template-columns: 1fr;
  }
  .user-action button {
    padding: 13px;
  }
  .user-details dl {
    grid-template-columns: 1fr;
  }
  .trip-summary {
    grid-template-columns: 1fr;
  }
  .assigned-driver strong {
    font-size: 21px;
  }
  .tariff-grid,
  .quote-totals {
    grid-template-columns: 1fr 1fr;
  }
  .tariff-rule {
    grid-template-columns: 1fr;
  }
  .reservation-totals {
    grid-template-columns: 1fr 1fr;
  }
  .landing-card {
    margin-top: 12px;
  }
  .road-scene {
    height: 220px;
    margin: 24px -28px;
  }
  .entry-buttons {
    grid-template-columns: 1fr;
  }
  .landing-copy h1 {
    font-size: 42px;
  }
  .driver-wallet {
    grid-template-columns: 1fr;
  }
  .driver-earnings-total {
    text-align: left;
  }
  .driver-scheduled-card {
    grid-template-columns: 78px 1fr;
  }
  .scheduled-numbers {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .moving-vehicle {
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }
}
.delivery-cargo,
.delivery-requests {
  margin-top: 16px;
}
.delivery-cargo textarea,
.delivery-lead-card textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  resize: vertical;
}
.weight-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}
.delivery-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.delivery-request-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  margin: 12px 0;
  background: #fff;
}
.delivery-request-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.delivery-request-head button {
  border: 0;
  border-radius: 9px;
  padding: 8px 11px;
  background: #fff1f0;
  color: #b42318;
  font-weight: 800;
}
.delivery-request-card > small,
.delivery-request-card > span {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.delivery-request-card > p {
  font-size: 13px;
  line-height: 1.5;
}
.delivery-driver-response {
  border: 1px solid #d9e2ef;
  border-radius: 13px;
  padding: 12px;
  margin-top: 9px;
  background: #f8faff;
}
.delivery-driver-response.selected {
  border-color: #68ba30;
  background: #efffdf;
}
.delivery-driver-response b,
.delivery-driver-response span,
.delivery-driver-response a {
  display: block;
  margin-top: 4px;
}
.delivery-driver-response p {
  font-size: 13px;
}
.delivery-driver-response button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px;
  background: var(--lime);
  font-weight: 900;
}
.selected-label {
  color: #267600;
}
.delivery-lead-card > small {
  display: block;
  margin-top: 4px;
}
.delivery-lead-card label {
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 760px) {
  .weight-row {
    grid-template-columns: 1fr;
  }
  .delivery-request-head {
    align-items: flex-start;
  }
}
.offer-map-popup .leaflet-popup-content-wrapper {
  background: #111;
  color: #fff;
  border: 3px solid var(--lime);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.offer-map-popup .leaflet-popup-tip {
  background: #111;
}
.map-offer-message {
  min-width: 210px;
  text-align: center;
  padding: 5px;
}
.map-offer-message b,
.map-offer-message span,
.map-offer-message small {
  display: block;
}
.map-offer-message b {
  color: var(--lime);
  font-size: 16px;
}
.map-offer-message span {
  font-weight: 900;
  margin-top: 6px;
}
.map-offer-message small {
  margin-top: 5px;
  color: #d8e0e6;
}
.offer-card > .offer-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.offer-card > .offer-decisions button {
  margin: 0;
}
.offer-card > .offer-decisions .reject-offer {
  background: #fff1f0;
  color: #b42318;
  border: 1px solid #f0b6b1;
}
.top-offers {
  margin: 4px 0 20px;
  padding: 14px;
  border-radius: 18px;
  background: #fff8d8;
  border: 3px solid #ffb000;
  box-shadow: 0 10px 28px rgba(255, 139, 0, 0.25);
  animation: offer-attention 1s ease-in-out infinite alternate;
}
.top-offers h3 {
  margin: 0 0 8px;
  color: #9a4500;
}
.map-radar-waiting {
  position: absolute;
  z-index: 800;
  left: 8px;
  bottom: 26px;
  width: 190px;
  padding: 14px;
  border-radius: 22px;
  text-align: center;
  background: rgba(7, 21, 14, 0.92);
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.map-radar-waiting .radar {
  width: 110px;
  height: 110px;
}
.map-radar-waiting strong,
.map-radar-waiting small {
  display: block;
}
.map-radar-waiting strong {
  margin-top: 8px;
  color: var(--lime);
  font-size: 16px;
}
.map-radar-waiting small {
  margin-top: 4px;
  color: #b8c8be;
}
@keyframes offer-attention {
  from {
    box-shadow: 0 8px 18px rgba(255, 139, 0, 0.2);
  }
  to {
    box-shadow: 0 10px 34px rgba(255, 85, 0, 0.48);
  }
}
.cancelled-message {
  text-align: center;
  padding: 18px;
  border-radius: 14px;
  background: #fff1f0;
  color: #8f1d16;
}
.cancelled-message strong,
.cancelled-message span {
  display: block;
}
.cancelled-message strong {
  font-size: 22px;
}
.cancelled-message span {
  margin-top: 7px;
}
.post-ride-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.post-ride-actions button {
  margin: 0;
}
@media (max-width: 600px) {
  .post-ride-actions {
    grid-template-columns: 1fr;
  }
}
.active-driver-ride {
  margin: 4px 0 24px;
  padding: 14px;
  border: 3px solid #1769e0;
  border-radius: 20px;
  background: #f7faff;
  box-shadow: 0 12px 30px rgba(23, 105, 224, 0.2);
}
.active-driver-ride .status {
  margin: 0;
  background: #fff;
  border: 0;
}
.active-trip-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  align-items: center;
}
.active-trip-heading small {
  grid-column: 1/-1;
  color: #1769e0;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.active-trip-heading > b {
  font-size: 22px;
}
.driver-verification {
  padding: 6px 9px;
  border-radius: 20px;
  font-size: 11px;
}
.driver-verification.verified {
  background: #d9fbe7;
  color: #067647;
}
.driver-verification.pending {
  background: #fff4b8;
  color: #805500;
}
.active-trip-person {
  margin-top: 13px;
}
.active-trip-addresses {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}
.active-trip-addresses span {
  display: block;
  padding: 11px;
  border-radius: 11px;
  background: #f2f5f8;
}
.active-trip-addresses small,
.active-trip-addresses b {
  display: block;
}
.active-trip-addresses small {
  font-size: 10px;
  color: var(--muted);
}
.active-trip-addresses b {
  margin-top: 3px;
}
.active-trip-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}
.active-trip-numbers span {
  text-align: center;
  padding: 9px 5px;
  border-radius: 10px;
  background: #eaf1ff;
}
.active-trip-numbers small,
.active-trip-numbers b {
  display: block;
}
.active-trip-numbers small {
  font-size: 10px;
  color: var(--muted);
}
.driver-trip-actions {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.driver-trip-actions button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px;
  font-weight: 900;
  color: #fff;
}
.driver-trip-actions .go-pickup {
  background: #1769e0;
}
.driver-trip-actions .start-trip {
  background: #159447;
}
.driver-trip-actions .finish-trip {
  background: #111418;
}
.driver-trip-actions .cancel-trip {
  background: #fff1f0;
  color: #b42318;
  border: 1px solid #e7aaa5;
}
.driver-trip-actions button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.cancel-confirm {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px;
  background: #c92a2a;
  color: #fff;
  font-weight: 900;
}
.modal-card textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  resize: vertical;
}
@media (max-width: 600px) {
  .active-trip-heading {
    grid-template-columns: 1fr;
  }
  .active-trip-heading small {
    grid-column: auto;
  }
  .active-trip-numbers {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.sound-enable {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  background: #ffb000;
  color: #111;
  font-weight: 900;
  margin: 4px 0 14px;
}
.message-inbox {
  margin: 14px 0;
}
.user-message {
  position: relative;
  padding: 16px 42px 16px 16px;
  border: 2px solid #1769e0;
  border-radius: 15px;
  background: #eef4ff;
}
.user-message + .user-message {
  margin-top: 9px;
}

.user-message-image,
.admin-message-image,
.message-image-preview img {
  display: block;
  width: min(100%, 520px);
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  margin: 10px 0;
}
.message-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.admin-ride-create {
  padding: 18px;
  border: 2px solid #7c3aed;
  border-radius: 18px;
  background: #f3e8ff;
}
.admin-connected-drivers {
  margin: 10px 0 16px;
  padding: 12px;
  border-radius: 14px;
  background: #ecfdf5;
  border: 1px solid #86efac;
}
.admin-session-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #166534;
  font-weight: 800;
}
.admin-connected-drivers h4 { margin: 0 0 9px; color: #166534; }
.admin-live-four-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.admin-live-four-lines .live-count {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 11px;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.admin-live-section { display: grid; gap: 8px; }
.live-section-panel { margin: 0 4px 6px; }
.live-count-side { display: flex; align-items: center; gap: 10px; }
.live-count-arrow { min-width: 16px; font-style: normal; text-align: center; }
.admin-live-four-lines .live-count b {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 17px;
}
.admin-live-four-lines .drivers-online { background: #2563eb; }
.admin-live-four-lines .drivers-background { background: #e5a000; color: #17212b; }
.admin-live-four-lines .passengers-online { background: #159447; }
.admin-live-four-lines .active-trips { background: #7c3aed; }
.admin-live-map {
  height: 430px;
  margin: 0 0 18px;
  border: 2px solid #c4b5fd;
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
}
.map-symbol.admin-driver, .map-symbol.admin-passenger {
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .35);
}
.map-symbol.admin-connected { background: #2563eb; }
.map-symbol.admin-background { background: #f59e0b; }
.map-symbol.admin-waiting { background: #eab308; }
.map-symbol.admin-accepted { background: #86efac; }
.map-symbol.admin-arriving { background: #8b5cf6; }
.map-symbol.admin-on_trip { background: #166534; }
.connected-driver-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.connected-driver {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 11px;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 5px 14px rgba(22, 163, 74, 0.2);
}
.connected-driver small { color: #dcfce7; }
.connected-driver.busy { background: #15803d; }
.connected-driver.no-gps { background: #166534; }
.live-operations-board { display: grid; gap: 10px; }
.live-trip-pair {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  color: #111827;
}
.live-person, .live-trip-state, .live-person-card { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; }
.live-person { background: rgba(255,255,255,.72); }
.live-trip-state { place-content: center; text-align: center; }
.live-trip-state span, .live-person small { font-size: 12px; font-weight: 800; }
.live-waiting { background: #fde68a; }
.live-accepted { background: #bbf7d0; }
.live-arriving { background: #ddd6fe; }
.live-on_trip { background: #166534; color: #fff; }
.live-on_trip .live-person { background: rgba(255,255,255,.16); }
.live-person-card.connected { background: #2563eb; color: #fff; }
.live-person-card.connected span { color: #dbeafe; }
.live-person-card.background, .live-person.background {
  background: #f59e0b;
  color: #111827;
}
@media (max-width: 720px) {
  .live-trip-pair { grid-template-columns: 1fr; }
}
.admin-ride-create form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.admin-address-block {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid #c4b5fd;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}
.admin-address-block h4 { margin: 0 0 10px; }
.admin-address-fields {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(130px, 1fr));
  gap: 10px;
}
.admin-address-street { min-width: 0; }
.admin-address-validation {
  display: block;
  margin-top: 9px;
  font-weight: 800;
}
.admin-address-validation.pending { color: #92400e; }
.admin-address-validation.valid { color: #166534; }
.admin-address-block.address-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}
.setting-label-with-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.compact-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #166534;
  font-weight: 900;
}
.compact-switch input { width: auto; margin: 0; }
.admin-ride-pin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
}
.admin-ride-pin button {
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: #b6ff3f;
  color: #111827;
  font-weight: 900;
}
@media (max-width: 900px) {
  .admin-address-fields { grid-template-columns: 1fr 1fr; }
  .admin-address-street { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .admin-address-fields { grid-template-columns: 1fr; }
  .admin-address-street { grid-column: auto; }
}
.ride-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.ride-status-legend button {
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 900;
  border: 2px solid transparent;
}
.ride-status-legend .waiting { background: #fff3bf; }
.ride-status-legend .accepted { background: #dbeafe; }
.ride-status-legend .arriving { background: #cffafe; }
.ride-status-legend .on-trip { background: #dcfce7; }
.ride-status-legend .completed { background: #d1fae5; }
.ride-status-legend .cancelled { background: #fee2e2; }
.ride-status-legend .all { background: #e5e7eb; }
.ride-status-legend button.active { border-color: #111827; box-shadow: 0 0 0 2px #fff; }
.ride-status-tools > label { display: block; margin: 10px 0 18px; }
.admin-ride-group {
  padding: 14px;
  border-radius: 18px;
  margin: 14px 0;
}
.admin-ride-group h4 { margin: 0 0 12px; }
.group-waiting { background: #fff8d6; }
.group-accepted { background: #e8f1ff; }
.group-arriving { background: #ddf8ff; }
.group-on_trip { background: #e5f9ea; }
.group-completed { background: #ecfdf5; }
.group-cancelled { background: #fff1f2; }
.admin-ride.ride-waiting { border-left: 7px solid #eab308; background: #fff3bf; }
.admin-ride.ride-accepted { border-left: 7px solid #2563eb; background: #dbeafe; }
.admin-ride.ride-arriving { border-left: 7px solid #06b6d4; background: #cffafe; }
.admin-ride.ride-on_trip { border-left: 7px solid #16a34a; background: #dcfce7; }
.admin-ride.ride-completed { border-left: 7px solid #059669; background: #d1fae5; }
.admin-ride.ride-cancelled { border-left: 7px solid #dc2626; background: #fee2e2; }
.user-message > b {
  font-size: 18px;
}
.user-message p {
  white-space: normal;
  line-height: 1.5;
  margin-bottom: 0;
}
.user-message > button {
  position: absolute;
  right: 9px;
  top: 7px;
  border: 0;
  background: none;
  font-size: 24px;
}
.admin-controls,
.admin-messages {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.admin-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0;
}
.admin-switch input {
  width: 24px;
  height: 24px;
  margin: 0;
}
.admin-messages textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}
.admin-message {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 10px;
}
.admin-message small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.admin-message p {
  white-space: pre-wrap;
}
.admin-message button {
  border: 0;
  border-radius: 8px;
  padding: 9px;
  margin-left: 5px;
  font-weight: 800;
}
.feature-disabled {
  display: none !important;
}
.verified-top-banner {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: -4px -4px 14px;
  padding: 15px;
  border-radius: 14px;
  background: #087a3e;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 22px rgba(8, 122, 62, 0.3);
}
.safety-pin-message {
  margin: 14px 0;
  padding: 14px;
  border-left: 5px solid #1769e0;
  border-radius: 12px;
  background: #eef5ff;
  color: #17324d;
}
.safety-pin-message b,
.safety-pin-message span {
  display: block;
}
.safety-pin-message span {
  margin-top: 6px;
  line-height: 1.45;
}
.ride-chat:not(.hidden) {
  position: fixed;
  z-index: 1400;
  top: 105px;
  right: 24px;
  width: min(430px, calc(100vw - 32px));
  max-height: 54vh;
  overflow: auto;
  margin: 0;
  padding: 15px;
  border: 3px solid #1769e0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}
.ride-chat.chat-unread {
  border-color: #ff9800;
  animation: chat-alert 0.8s ease-in-out infinite alternate;
}
.ride-chat.chat-unread h3:before {
  content: "🔔 ";
}
@keyframes chat-alert {
  to {
    box-shadow: 0 16px 48px rgba(255, 111, 0, 0.65);
  }
}
@media (max-width: 700px) {
  .ride-chat:not(.hidden) {
    top: 82px;
    right: 10px;
    width: calc(100vw - 20px);
    max-height: 48vh;
  }
  .map-radar-waiting {
    left: 8px;
    bottom: 26px;
    width: 155px;
  }
  .map-radar-waiting .radar {
    width: 90px;
    height: 90px;
  }
}
.mode-back {
  border: 0 !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  background: #1769e0 !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 16px rgba(23, 105, 224, 0.3);
  text-decoration: none !important;
}
.mode-back:hover {
  background: #0d55bd !important;
}
.driver-top-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
}
.driver-top-controls .driver-trip-actions {
  grid-template-columns: repeat(4, minmax(125px, 1fr));
  gap: 7px;
  margin: 0;
}
.driver-top-controls .driver-trip-actions button {
  padding: 12px 8px;
  font-size: 12px;
}
.chat-toggle:not(.hidden) {
  position: fixed;
  z-index: 1410;
  right: 24px;
  top: 124px;
  border: 0;
  border-radius: 24px;
  padding: 12px 18px;
  background: #1769e0;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.chat-toggle.chat-unread {
  background: #ff7a00;
  animation: chat-alert 0.8s ease-in-out infinite alternate;
}
.ride-chat:not(.hidden) {
  top: 178px;
}
.chat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chat-heading h3 {
  margin: 0;
}
.chat-heading > button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #e8edf4;
  color: #111;
  font-size: 26px;
  line-height: 1;
}
.chat-heading + div {
  margin-top: 10px;
}
@media (max-width: 900px) {
  .driver-top-controls {
    grid-template-columns: 1fr;
  }
  .driver-top-controls .mode-back {
    width: max-content;
  }
  .driver-top-controls .driver-trip-actions {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .chat-toggle:not(.hidden) {
    top: 98px;
    right: 10px;
  }
  .ride-chat:not(.hidden) {
    top: 152px;
  }
  .driver-top-controls .driver-trip-actions {
    grid-template-columns: 1fr 1fr;
  }
  .mode-back {
    padding: 12px 15px !important;
  }
}
.finance-admin {
  margin: 22px 0;
  padding: 18px;
  border: 2px solid #1769e0;
  border-radius: 18px;
  background: #f8faff;
}
.finance-filter {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.finance-filter label {
  margin: 0;
}
.finance-filter button {
  height: 51px;
}
.finance-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin: 18px 0;
}
.finance-totals span {
  padding: 14px;
  border-radius: 12px;
  background: #111418;
  color: #fff;
}
.finance-totals small,
.finance-totals b {
  display: block;
}
.finance-totals b {
  font-size: 22px;
  color: var(--lime);
  margin-top: 4px;
}
.finance-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.finance-columns > section {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
}
.finance-columns input {
  margin: 0 0 8px;
}
.finance-person,
.finance-trip {
  border-bottom: 1px solid var(--line);
  padding: 10px 4px;
}
.finance-person small,
.finance-person strong,
.finance-trip small,
.finance-trip span,
.finance-trip strong {
  display: block;
  margin-top: 4px;
}
.finance-trip {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
}
.finance-trip strong {
  color: #067647;
}
@media (max-width: 760px) {
  .finance-filter,
  .finance-columns {
    grid-template-columns: 1fr;
  }
  .finance-totals {
    grid-template-columns: 1fr 1fr;
  }
  .finance-trip {
    grid-template-columns: 1fr;
  }
}
.driver-billing-card {
  grid-column: 1/-1;
  margin: 10px 0;
  padding: 14px;
  border-radius: 13px;
  background: #fff4b8;
}
.driver-billing-card b,
.driver-billing-card strong,
.driver-billing-card small {
  display: block;
}
.driver-billing-card strong {
  font-size: 18px;
  margin-top: 4px;
}
.driver-billing-card small {
  margin-top: 5px;
}
.driver-billing-admin {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid #d5e0ff;
  border-radius: 12px;
  background: #f5f8ff;
}
.driver-billing-admin > label {
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.driver-billing-admin input {
  margin: 0;
}
.driver-billing-admin small {
  display: block;
  margin: 8px 0;
  color: var(--muted);
}
.driver-billing-admin button {
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 10px;
  background: #1769e0;
  color: #fff;
  font-weight: 900;
}
.country-admin {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}
.country-admin form {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.driver-credit-admin {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}
.driver-credit-balance {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
}
.driver-billing-card details {
  margin-top: 10px;
}
.driver-billing-card details small {
  display: block;
  margin-top: 6px;
}
.driver-billing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.driver-billing-head button {
  border: 0;
  border-radius: 9px;
  padding: 9px 15px;
  background: #1769e0;
  color: #fff;
  font-weight: 900;
}
.driver-billing-card > #driverBillingDetails {
  margin-top: 12px;
}
.driver-cancellations {
  margin-top: 13px;
  padding: 12px;
  border: 1px solid #ffc7c2;
  border-radius: 12px;
  background: #fff4f2;
}
.driver-cancellations summary {
  cursor: pointer;
  color: #a5271d;
  font-weight: 900;
}
.driver-cancellations ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.driver-cancellations li {
  margin: 9px 0;
}
.driver-cancellations li span {
  display: block;
  margin-top: 3px;
  color: #6d241e;
}
.driver-cancellations p {
  margin: 9px 0 0;
  color: var(--muted);
}
.header-community-counts {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 3px;
}
.header-community-counts span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  border-radius: 18px;
  background: #252c33;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}
.header-community-counts b {
  color: var(--lime);
  font-size: 14px;
}
.counter-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.counter-settings input {
  margin-top: 7px;
}
@media (max-width: 700px) {
  header {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-left {
    gap: 8px;
  }
  .header-availability {
    gap: 5px;
    padding-left: 8px;
  }
  .header-availability > #headerAvailabilityText {
    display: none;
  }
  .driver-header-mode {
    padding: 7px 9px !important;
    font-size: 11px !important;
  }
  .header-community-counts {
    gap: 3px;
  }
  .header-community-counts span {
    padding: 5px 7px;
    font-size: 11px;
  }
  .header-community-counts b {
    font-size: 12px;
  }
  .counter-settings {
    grid-template-columns: 1fr;
  }
}
.driver-wallet .driver-rating-summary {
  grid-column: 1/-1;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(6, 118, 71, 0.2);
}
.driver-wallet .driver-rating-summary > small {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
  color: #067647;
}
.driver-bonus-card,
.driver-trip-earnings {
  grid-column: 1/-1;
}
.driver-bonus-card {
  padding: 14px;
  border-radius: 13px;
  background: #eef3ff;
}
.driver-bonus-card h4 {
  margin: 0 0 10px;
}
.driver-bonus-card article {
  padding: 10px 0;
  border-top: 1px solid #d5e0ff;
}
.driver-bonus-card article:first-of-type {
  border-top: 0;
}
.driver-bonus-card article b,
.driver-bonus-card article span,
.driver-bonus-card article small {
  display: block;
}
.driver-bonus-card article b {
  color: #1769e0;
}
.driver-bonus-card article small {
  margin-top: 4px;
  color: var(--muted);
}
.driver-trip-earnings article {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-top: 9px;
}
.driver-trip-earnings article > div {
  display: flex;
  justify-content: space-between;
}
.driver-trip-earnings article strong {
  color: #067647;
}
.driver-trip-earnings article small,
.driver-trip-earnings article span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.driver-trip-earnings article p {
  font-size: 12px;
  line-height: 1.5;
}
.safety-check-card {
  border-top: 8px solid #1769e0;
}
.safety-check-card details {
  margin-top: 16px;
}
.safety-check-card summary {
  cursor: pointer;
  font-weight: 900;
  color: #1769e0;
}
.safety-check-card .danger {
  width: 100%;
  border: 0;
  border-radius: 13px;
  padding: 15px;
  background: #c92a2a;
  color: #fff;
  font-weight: 900;
}
.trip-profile-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #adff2f;
}
.trip-vehicle-photo {
  width: 110px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}
.ride-chat,
.ride-rating {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  background: #fff;
}
.ride-chat > div {
  max-height: 180px;
  overflow: auto;
  background: #f6f8fa;
  padding: 10px;
  border-radius: 10px;
}
.ride-chat p {
  max-width: 85%;
  padding: 8px 10px;
  border-radius: 10px;
  margin: 6px 0;
}
.ride-chat .mine {
  margin-left: auto;
  background: #d9ff94;
}
.ride-chat .theirs {
  background: #fff;
  border: 1px solid #ddd;
}
.ride-chat form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.ride-chat input {
  flex: 1;
}
.ride-rating form {
  display: grid;
  gap: 10px;
}
.driver-rating-summary {
  margin: 10px 0;
  padding: 15px;
  border-radius: 14px;
  background: #111418;
  color: #fff;
}
.driver-rating-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.driver-rating-head small,
.driver-rating-head strong,
.driver-rating-head span {
  display: block;
}
.driver-rating-head strong {
  font-size: 30px;
  color: var(--lime);
  margin: 3px 0;
}
.rating-stars {
  color: #ffb000;
  font-weight: 900;
  letter-spacing: 2px;
}
.driver-rating-summary details {
  margin-top: 12px;
}
.driver-rating-summary summary {
  cursor: pointer;
  font-weight: 900;
}
.driver-rating-summary article {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #39414a;
}
.driver-rating-summary article p {
  margin: 5px 0;
}
.driver-rating-summary article small {
  color: #c7cdd3;
}
.admin-ratings {
  margin: 22px 0;
  padding: 18px;
  border: 2px solid #ffb000;
  border-radius: 16px;
  background: #fffdf5;
}
.admin-rating {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.admin-rating:last-child {
  border-bottom: 0;
}
.admin-rating b,
.admin-rating small {
  display: block;
  margin-top: 5px;
}
.admin-rating p {
  margin: 8px 0 0;
}
.admin-rating button {
  align-self: center;
  border: 0;
  border-radius: 9px;
  padding: 10px 14px;
  background: #fff1f0;
  color: #b42318;
  font-weight: 900;
}
@media (max-width: 600px) {
  .admin-rating {
    grid-template-columns: 1fr;
  }
  .admin-rating button {
    width: 100%;
  }
}
.passenger-driver-rating {
  margin-top: 7px !important;
  color: #ffd34e !important;
  font-weight: 900 !important;
}
.passenger-driver-rating b {
  display: inline !important;
  color: #ffd34e;
}
.passenger-driver-rating.unrated {
  color: #cbd2d9 !important;
  font-weight: 700 !important;
}
.chat-suggestions {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid #cfd8e3;
  border-radius: 11px;
  background: #f7f9fc;
}
.chat-suggestions summary {
  cursor: pointer;
  color: #1769e0;
  font-weight: 900;
}
.chat-suggestions select {
  margin-top: 9px;
  margin-bottom: 0;
  background: #fff;
}
.chat-suggestions + form {
  margin-top: 10px;
}
.map-symbol.destination {
  background: #1769e0;
  color: #fff;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
}
.footer-admin {
  margin: 22px 0;
  padding: 18px;
  border: 2px solid #6fae00;
  border-radius: 16px;
  background: #fbfff3;
}
.footer-admin form {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}
.footer-admin textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}
.admin-footer-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.admin-footer-block.inactive {
  opacity: 0.55;
}
.admin-footer-block small,
.admin-footer-block span {
  display: block;
  margin-top: 5px;
}
.admin-footer-block p {
  margin: 7px 0;
  white-space: pre-wrap;
}
.admin-footer-block img {
  display: block;
  width: 150px;
  height: 90px;
  object-fit: cover;
  margin-top: 9px;
  border-radius: 10px;
}
.footer-block-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.footer-block-actions button {
  border: 0;
  border-radius: 8px;
  padding: 9px;
  background: #eaf1ff;
  color: #174d9d;
  font-weight: 800;
}
.footer-block-actions button:last-child {
  background: #fff1f0;
  color: #b42318;
}
.country-content-footer {
  padding: 34px 20px;
  margin-top: 36px;
  background: #111418;
  color: #fff;
}
.country-footer-blocks {
  width: min(1100px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.country-footer-block {
  min-width: 0;
  padding: 18px;
  border: 1px solid #39414a;
  border-radius: 16px;
  background: #1c2228;
}
.country-footer-block h3 {
  margin: 0 0 11px;
  color: var(--lime);
}
.country-footer-block p {
  line-height: 1.55;
  white-space: normal;
}
.country-footer-block img,
.country-footer-block video,
.country-footer-block iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #000;
}
.country-footer-block img {
  max-height: 360px;
  object-fit: cover;
}
.country-footer-block video,
.country-footer-block iframe {
  aspect-ratio: 16/9;
}
.country-footer-block.footer-link > a {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--lime);
  color: #111;
  text-decoration: none;
  font-weight: 900;
}
@media (max-width: 650px) {
  .admin-footer-block {
    grid-template-columns: 1fr;
  }
  .footer-block-actions {
    grid-template-columns: 1fr 1fr;
  }
  .country-content-footer {
    padding: 24px 14px;
  }
  .country-footer-blocks {
    grid-template-columns: 1fr;
  }
}
.country-footer-block.footer-advertisement {
  grid-column: 1/-1;
  padding: 25px;
  border: 2px solid var(--lime);
  background: linear-gradient(135deg, #102b22, #1769e0);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.footer-advertisement .ad-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--lime);
  color: #111;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.footer-advertisement h3 {
  font-size: 28px;
}
.footer-advertisement p {
  font-size: 17px;
}
.promotion-warning {
  padding: 12px;
  border-left: 5px solid #ff9800;
  border-radius: 10px;
  background: #fff4d6;
  color: #754500;
  font-weight: 700;
}
.contact-admin-button {
  width: 100%;
  margin: 9px 0 14px;
  padding: 12px;
  border: 2px solid #1769e0;
  border-radius: 11px;
  background: #eef4ff;
  color: #174d9d;
  font-weight: 900;
}
.support-history {
  margin-top: 24px;
}
.user-support-message {
  padding: 14px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}
.user-support-message b,
.user-support-message small {
  display: block;
}
.user-support-message small {
  margin-top: 4px;
  color: var(--muted);
}
.user-support-message p {
  white-space: pre-wrap;
}
.admin-support-reply,
.admin-support-existing-reply {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #e9fbd8;
  color: #245b09;
}
.support-admin {
  margin: 0 0 22px;
  padding: 18px;
  border: 2px solid #1769e0;
  border-radius: 16px;
  background: #f7faff;
}
.support-admin .section-title select {
  width: auto;
  min-width: 150px;
  margin: 0;
}
.support-message-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 15px 0;
}
.support-message-counts span {
  padding: 13px;
  border-radius: 12px;
  background: #eaf1ff;
}
.support-message-counts span.unread {
  background: #fff0d5;
}
.support-message-counts span.replied {
  background: #e9fbd8;
}
.support-message-counts small,
.support-message-counts b {
  display: block;
}
.support-message-counts b {
  font-size: 24px;
  margin-top: 3px;
}
.admin-support-message {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.admin-support-message.unread {
  border: 3px solid #ff9800;
}
.support-message-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.support-message-head b,
.support-message-head small {
  display: block;
}
.support-message-head small {
  margin-top: 4px;
  color: var(--muted);
}
.support-message-head > span {
  height: max-content;
  padding: 5px 9px;
  border-radius: 20px;
  background: #eef3ff;
  font-size: 11px;
  font-weight: 900;
}
.admin-support-message > p {
  white-space: pre-wrap;
}
.admin-support-message > textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  font: inherit;
}
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.support-actions button {
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  background: #1769e0;
  color: #fff;
  font-weight: 800;
}
.support-actions button:last-child {
  background: #5d6670;
}
@media (max-width: 600px) {
  .support-message-counts {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .support-message-head {
    display: block;
  }
  .support-message-head > span {
    display: inline-block;
    margin-top: 8px;
  }
}
.image-preview {
  margin-top: 9px;
  min-height: 24px;
  color: var(--muted);
}
.image-preview img {
  display: block;
  width: min(180px, 100%);
  height: 130px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.remove-image {
  margin-top: 8px;
  border: 1px solid #e7aaa5;
  border-radius: 9px;
  padding: 9px 12px;
  background: #fff1f0;
  color: #b42318;
  font-weight: 800;
}
.admin-image-remove {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  font-weight: 600;
}
.admin-image-remove input {
  width: auto;
  margin: 0;
}
.register-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 15px;
  border: 2px solid #1769e0;
  border-radius: 14px;
  background: #eef4ff;
}
.register-progress b,
.register-progress small,
.register-progress strong {
  display: block;
}
.register-progress small {
  margin-top: 3px;
  color: var(--muted);
}
.register-progress strong {
  margin-top: 6px;
  font-size: 20px;
  color: #1769e0;
}
.loading-clock {
  font-size: 38px;
  animation: clock-pulse 0.8s ease-in-out infinite alternate;
}
@keyframes clock-pulse {
  to {
    transform: scale(1.16);
    opacity: 0.65;
  }
}
#registerSubmit:disabled {
  cursor: wait;
  opacity: 0.65;
}
.admin-edit-card {
  padding-bottom: 0;
}
.admin-save-top {
  margin: 4px 52px 16px 0;
  font-size: 17px;
  border: 3px solid #6fae00;
}
.admin-edit-actions {
  position: sticky;
  z-index: 4;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px -28px 0;
  padding: 16px 28px;
  background: #fff;
  border-top: 2px solid var(--line);
  box-shadow: 0 -10px 24px rgba(17, 20, 24, 0.1);
}
.temporary-password-result {
  margin: 18px 0 28px;
  padding: 18px;
  border: 2px solid #6fae00;
  border-radius: 14px;
  background: #f3fae8;
}
.temporary-password-result h3 {
  margin-top: 0;
}
.temporary-password-result input {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  background: #fff;
}
.temporary-password-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.stuck-ride-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.stuck-ride-actions button {
  min-height: 52px;
  font-weight: 800;
}
#adminSaveChanges {
  font-size: 17px;
  border: 3px solid #6fae00;
}
@media (max-width: 600px) {
  .admin-edit-actions {
    grid-template-columns: 1fr;
  }
  .admin-save-top {
    margin-right: 42px;
  }
}
.admin-country-selector {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px;
  margin: -10px 0 18px;
  background: #111418;
  color: #fff;
  border-radius: 16px;
}
.admin-country-selector label {
  margin: 0;
}
.admin-country-selector select {
  margin-top: 7px;
}
.admin-country-selector small {
  display: block;
  margin-top: 8px;
  color: #cbd2d9;
}
.assignment-admin {
  padding: 18px;
  border: 2px solid #1769e0;
  border-radius: 16px;
  background: #f5f8ff;
}
.assignment-admin h3 {
  margin-top: 0;
}
.assignment-admin > label {
  margin: 12px 0;
}
.assignment-admin .primary {
  margin-top: 8px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.section-title h3,
.section-title p {
  margin: 0;
}
.section-title button {
  width: auto;
  white-space: nowrap;
}
.finance-account-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 9px;
  margin: 12px 0;
}
.finance-account-totals span {
  padding: 12px;
  border-radius: 12px;
  background: #eef3ff;
}
.finance-account-totals small,
.finance-account-totals b {
  display: block;
}
.finance-account-totals b {
  font-size: 22px;
  margin-top: 4px;
}
.finance-account-list {
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.finance-account-list article {
  display: grid;
  gap: 4px;
  padding: 11px;
  border-bottom: 1px solid var(--line);
}
.finance-account-list article:last-child {
  border-bottom: 0;
}
.finance-account-list small {
  color: var(--muted);
}
.finance-monthly,
.finance-accounts {
  margin-bottom: 22px;
}
@media (max-width: 600px) {
  .section-title {
    align-items: stretch;
    flex-direction: column;
  }
  .section-title button {
    width: 100%;
  }
}
.thumb-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.thumb-choice button {
  border: 2px solid #d9e0e7;
  border-radius: 14px;
  padding: 15px;
  background: #fff;
  font-weight: 900;
}
.thumb-choice button[data-vote="up"].selected {
  border-color: #159447;
  background: #e9fbd8;
  color: #08652e;
}
.thumb-choice button[data-vote="down"].selected {
  border-color: #c92a2a;
  background: #fff1f0;
  color: #9d2019;
}
.reputation-summary {
  margin: 10px 0;
  padding: 15px;
  border-radius: 14px;
  background: #111418;
  color: #fff;
}
.reputation-counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.reputation-counts span {
  padding: 12px;
  border-radius: 11px;
  text-align: center;
  font-size: 18px;
}
.reputation-counts .positive {
  background: #0b783f;
}
.reputation-counts .negative {
  background: #9d2019;
}
.reputation-summary details {
  margin-top: 12px;
}
.reputation-summary article {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #39414a;
}
.reputation-summary article p {
  margin: 5px 0;
}
.reputation-summary article small {
  color: #c7cdd3;
}
.trip-reputation {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #eaf1ff;
  font-weight: 900;
}
.review-vote {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 900;
}
.review-vote.up {
  background: #e9fbd8;
  color: #08652e;
}
.review-vote.down {
  background: #fff1f0;
  color: #9d2019;
}
.footer-html {
  grid-column: 1/-1;
}
.footer-html img,
.footer-html video {
  max-width: 100%;
  height: auto;
}
.footer-html a {
  color: var(--lime);
}
.reputation-privacy {
  display: block;
  margin-top: 9px;
  color: #c7cdd3;
  text-align: center;
}
.passenger-pin-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 15px;
  border: 3px solid #1769e0;
  border-radius: 15px;
  background: #eef5ff;
}
.passenger-pin-card small,
.passenger-pin-card strong,
.passenger-pin-card span {
  display: block;
}
.passenger-pin-card strong {
  margin-top: 3px;
  font-size: 34px;
  letter-spacing: 0.18em;
  color: #111;
}
.passenger-pin-card span {
  grid-column: 1/-1;
  color: #17324d;
}
.passenger-pin-card button {
  border: 0;
  border-radius: 10px;
  padding: 10px 13px;
  background: #1769e0;
  color: #fff;
  font-weight: 900;
}
.pin-inline-form {
  display: flex;
  align-items: end;
  gap: 6px;
  padding: 6px;
  border: 2px solid #1769e0;
  border-radius: 12px;
  background: #eef5ff;
}
.pin-inline-form label {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
}
.pin-inline-form input {
  width: 82px;
  margin: 3px 0 0;
  padding: 8px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.15em;
}
.pin-inline-form button {
  width: auto !important;
  padding: 9px !important;
  background: #1769e0 !important;
  color: #fff !important;
  white-space: nowrap;
}
.driver-top-controls .driver-trip-actions {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}
@media (max-width: 900px) {
  .driver-top-controls .driver-trip-actions {
    grid-template-columns: 1fr 1fr;
  }
  .pin-inline-form {
    grid-column: 1/-1;
  }
  .passenger-pin-card {
    grid-template-columns: 1fr auto;
  }
}
.ride-state-banner {
  margin: 0 0 15px;
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}
.ride-state-banner strong,
.ride-state-banner span {
  display: block;
}
.ride-state-banner strong {
  font-size: 20px;
}
.ride-state-banner span {
  margin-top: 5px;
}
.ride-state-banner.state-assigned,
.ride-state-banner.state-on-trip,
.ride-state-banner.state-completed {
  background: #087a3e;
}
.ride-state-banner.state-arriving,
.ride-state-banner.state-waiting {
  background: #1769e0;
}
.ride-state-banner.state-at-pickup {
  background: #f4bd00;
  color: #2b2100;
}
.ride-state-banner.state-cancelled {
  background: #b42318;
}
.price-calculation-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border: 2px solid #1769e0;
  border-radius: 13px;
  background: #eef5ff;
}
.price-calculation-progress > span {
  font-size: 34px;
  animation: clock-pulse 0.8s ease-in-out infinite alternate;
}
.price-calculation-progress b,
.price-calculation-progress strong,
.price-calculation-progress small {
  display: block;
}
.price-calculation-progress strong {
  margin: 3px 0;
  color: #1769e0;
  font-size: 22px;
}
.price-calculation-progress small {
  color: #4b5968;
}
@media (max-width: 900px) {
  .pin-inline-form {
    grid-column: auto;
  }
  .driver-top-controls .driver-trip-actions {
    grid-template-columns: 1fr 1fr;
  }
}
.driver-balance-card {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  padding: 14px;
  border-radius: 13px;
  background: #d9fbe7;
}
.driver-balance-card small,
.driver-balance-card strong,
.driver-balance-card b {
  display: block;
}
.driver-balance-card strong {
  font-size: 24px;
}
.driver-balance-card b {
  grid-column: 1/-1;
  color: #067647;
}
.driver-title-row {
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111418, #1769e0);
  color: #fff;
}
.driver-title-row h2 {
  margin: 0;
}
.driver-title-row:after {
  content: "Gestión de viajes y ganancias";
  display: block;
  font-size: 12px;
  color: #dce8ff;
}
.account-main-button {
  width: 100%;
  margin: 4px 0 10px;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #eef4ff, #fff) !important;
  color: #174d9d !important;
  box-shadow: 0 7px 18px rgba(23, 105, 224, 0.14);
  font-size: 16px;
  text-align: left;
}
.driver-wallet-head {
  display: block;
}
.wallet-main-button {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #111418, #1769e0) !important;
  color: #fff !important;
  text-align: left;
  box-shadow: 0 10px 24px rgba(23, 105, 224, 0.25);
}
.wallet-main-button > span {
  grid-row: 1/3;
  font-size: 28px;
}
.wallet-main-button > b {
  font-size: 18px;
}
.wallet-main-button > small {
  color: #dce8ff;
}
.wallet-main-button.open {
  background: linear-gradient(135deg, #067647, #159447) !important;
}
.finance-trip-vehicle {
  display: block;
  margin-top: 5px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #eef4ff;
  color: #174d9d;
  font-weight: 800;
}
.account-enable-edit {
  width: 100%;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #1769e0;
  border-radius: 12px;
  background: #eef4ff;
  color: #174d9d;
  font-weight: 900;
}
#accountForm:not(.editing) > button[type="submit"] {
  display: none;
}
#accountForm input[readonly] {
  background: #f5f7f9;
  color: #5d6670;
}
.passenger .account-main-button,
#passenger .account-main-button {
  background: linear-gradient(135deg, #dff8b8, #f7ffe9) !important;
  color: #315d00 !important;
  border-left: 6px solid #79b800 !important;
}
.driver .account-main-button,
#driver .account-main-button {
  background: linear-gradient(135deg, #dfeaff, #f5f8ff) !important;
  color: #143f91 !important;
  border-left: 6px solid #1769e0 !important;
}
.admin-control-center {
  margin-bottom: 22px;
}
.admin-country-selector {
  display: none;
}
.admin-country-launcher,
.admin-module-launcher {
  padding: 20px;
  margin-bottom: 14px;
  border: 1px solid #d9e0e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 20, 24, 0.08);
}
.admin-country-launcher h3,
.admin-module-launcher h3 {
  margin: 0 0 15px;
}
.admin-country-launcher > div,
.admin-module-launcher > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.admin-country-launcher button,
.admin-module-launcher button {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 105px;
  padding: 14px;
  border: 1px solid #d9e0e7;
  border-radius: 14px;
  background: #fff;
  color: #1f3f8f;
  box-shadow: 0 5px 14px rgba(17, 20, 24, 0.06);
  transition: 0.2s;
}
.admin-country-launcher button:hover,
.admin-module-launcher button:hover {
  transform: translateY(-2px);
  border-color: #1769e0;
}
.admin-country-launcher button.active,
.admin-module-launcher button.active {
  border: 3px solid #1769e0;
  background: #eef4ff;
}
.admin-module-launcher button[data-admin-module="emails"] { background:#e8f9ee; border:2px solid #159447; color:#0d6b32; }
.admin-country-launcher button span,
.admin-module-launcher button span {
  font-size: 31px;
}
.admin-country-launcher button b,
.admin-module-launcher button b {
  font-size: 15px;
}
.admin-country-launcher button small {
  color: #687482;
}
.people-shortcuts {
  margin-top: 14px !important;
  grid-template-columns: repeat(3, 1fr) !important;
}
.people-shortcuts button {
  min-height: auto !important;
  display: block !important;
  font-weight: 900;
}
.people-shortcuts button.active {
  background: #d9fbe7 !important;
  border-color: #159447 !important;
}
.admin-module-hidden {
  display: none !important;
}
@media (max-width: 650px) {
  .admin-country-launcher > div,
  .admin-module-launcher > div {
    grid-template-columns: repeat(2, 1fr);
  }
  .people-shortcuts {
    grid-template-columns: 1fr !important;
  }
}

/* Portada profesional RutaGo */
body {
  background:
    radial-gradient(circle at 20% 0, #eef5ff 0, transparent 38%),
    linear-gradient(180deg, #f7f9fc 0, #edf1f5 100%);
}
header {
  height: 78px;
  background: rgba(13, 18, 24, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(10, 18, 28, 0.14);
}
.brand {
  display: flex;
  align-items: center;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.brand span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 0 0 5px rgba(171, 255, 47, 0.09);
}
.connection.online {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.connection.online:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(171, 255, 47, 0.12);
}
main {
  padding: 48px 24px 70px;
}
.landing-card {
  width: min(1040px, 100%);
  padding: 0 !important;
  border: 1px solid rgba(25, 42, 62, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(24, 38, 55, 0.14);
  overflow: hidden;
}
.landing-copy {
  position: relative;
  padding: 58px 48px 42px;
  background: linear-gradient(135deg, #fff 0, #f4f8ff 100%);
}
.landing-copy:after {
  content: "";
  position: absolute;
  right: 55px;
  top: 42px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #b6ff3f 0 4%, transparent 5% 100%),
    linear-gradient(135deg, rgba(23, 105, 224, 0.08), rgba(171, 255, 47, 0.14));
  opacity: 0.8;
}
.landing-copy .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1769e0;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.landing-copy h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 900;
  line-height: 0.96;
  color: #10151b;
}
.landing-copy > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.6;
  color: #5d6977;
}
.road-scene {
  height: 205px;
  margin: 0;
  background: linear-gradient(180deg, #26323e 0, #17212b 100%);
  border: 0;
  border-top: 10px solid #dce3e8;
  border-bottom: 10px solid #dce3e8;
  box-shadow: inset 0 16px 30px rgba(0, 0, 0, 0.24);
}
.road-scene:before,
.road-scene:after {
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0 48px,
    transparent 48px 94px
  );
}
.road-scene:before {
  top: 54px;
}
.road-scene:after {
  bottom: 54px;
}
.road-line {
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #f5c842 0 62px,
    transparent 62px 105px
  );
}
.line-one {
  top: 96px;
}
.line-two {
  top: 104px;
}
.moving-vehicle {
  width: 64px;
  height: 26px;
  font-size: 0;
  border-radius: 10px 16px 8px 8px;
  background: linear-gradient(135deg, #2879ef, #1753a8);
  filter: drop-shadow(0 8px 7px rgba(0, 0, 0, 0.36));
}
.moving-vehicle:before {
  content: "";
  position: absolute;
  left: 15px;
  top: -12px;
  width: 33px;
  height: 16px;
  border-radius: 12px 15px 0 0;
  background: #a9d4ff;
  border-bottom: 4px solid #2879ef;
}
.moving-vehicle:after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b0f13;
  box-shadow: 37px 0 #0b0f13;
}
.truck-one {
  width: 76px;
  background: linear-gradient(135deg, #ffb52f, #d87500);
}
.truck-one:before {
  left: 43px;
  width: 25px;
  background: #dbeeff;
  border-bottom-color: #e89112;
}
.moto-one {
  width: 45px;
  height: 13px;
  border-radius: 8px;
  background: #b6ff3f;
}
.moto-one:before {
  left: 17px;
  top: -10px;
  width: 10px;
  height: 12px;
  border: 0;
  background: #e9f8ff;
}
.moto-one:after {
  left: 2px;
  bottom: -8px;
  box-shadow: 31px 0 #0b0f13;
}
.car-two {
  background: linear-gradient(135deg, #8e5eea, #5634a8);
}
.entry-buttons {
  padding: 30px 34px 36px;
  gap: 14px;
  background: #fff;
}
.entry-buttons button {
  position: relative;
  min-height: 98px;
  padding: 20px 22px 20px 76px;
  border: 1px solid #e0e6ec;
  border-radius: 18px;
  background: #fff !important;
  color: #17212b !important;
  box-shadow: 0 8px 24px rgba(17, 32, 48, 0.08);
  overflow: hidden;
}
.entry-buttons button:before {
  position: absolute;
  left: 20px;
  top: 23px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 21px;
}
.entry-buttons button:after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 34px;
  font-size: 24px;
  color: #8b96a3;
  transition: 0.2s;
}
.entry-buttons button:hover {
  transform: translateY(-3px);
  border-color: #aac5ee;
  box-shadow: 0 14px 30px rgba(17, 32, 48, 0.13);
}
.entry-buttons button:hover:after {
  right: 16px;
  color: #1769e0;
}
.entry-buttons b {
  font-size: 18px;
}
.entry-buttons small {
  color: #697582 !important;
  line-height: 1.4;
}
.entry-passenger:before {
  content: "👤";
  background: #eaffc8;
}
.entry-driver:before {
  content: "🚘";
  background: #e7efff;
}
.entry-delivery:before {
  content: "📦";
  background: #fff1c8;
}
.entry-delivery-driver:before {
  content: "🚚";
  background: #e8edf2;
}
@media (max-width: 760px) {
  main {
    padding: 18px 10px 45px;
  }
  .landing-card {
    border-radius: 22px;
  }
  .landing-copy {
    padding: 38px 22px 30px;
  }
  .landing-copy:after {
    right: 15px;
    top: 18px;
    width: 75px;
    height: 75px;
  }
  .landing-copy h1 {
    font-size: 42px;
  }
  .landing-copy > p:last-child {
    font-size: 16px;
  }
  .road-scene {
    height: 160px;
    margin: 0;
  }
  .road-scene:before {
    top: 40px;
  }
  .road-scene:after {
    bottom: 40px;
  }
  .line-one {
    top: 74px;
  }
  .line-two {
    top: 82px;
  }
  .entry-buttons {
    padding: 20px;
  }
  .entry-buttons button {
    min-height: 88px;
    padding-left: 70px;
  }
}

/* Portada administrable y vehículo RutaGo */
.landing-copy {
  isolation: isolate;
  overflow: hidden;
}
.landing-copy-content {
  position: relative;
  z-index: 2;
}
.landing-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing-copy.has-hero-image:before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 15, 24, 0.9) 0%,
    rgba(8, 15, 24, 0.7) 48%,
    rgba(8, 15, 24, 0.18) 100%
  );
}
.landing-copy.has-hero-image:after {
  display: none;
}
.landing-copy.has-hero-image .landing-copy-content {
  text-align: left;
}
.landing-copy.has-hero-image .eyebrow {
  background: var(--lime);
  color: #162008;
}
.landing-copy.has-hero-image h1,
.landing-copy.has-hero-image > div > p:last-child {
  max-width: 620px;
  margin-left: 0;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.road-scene {
  position: relative;
  overflow: hidden;
  perspective: 700px;
}
.rutago-car {
  position: absolute;
  z-index: 4;
  left: -34%;
  bottom: 28px;
  width: 245px;
  height: 92px;
  filter: drop-shadow(0 15px 10px rgba(0, 0, 0, 0.42));
  animation: rutago-drive 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.car-body {
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 245px;
  height: 55px;
  border-radius: 34px 55px 17px 16px;
  background: linear-gradient(165deg, #c6ff59 0, #98e620 42%, #65a900 100%);
  border-bottom: 6px solid #477b00;
  box-shadow:
    inset 0 8px 10px rgba(255, 255, 255, 0.38),
    inset -10px -7px 12px rgba(35, 70, 0, 0.22);
}
.car-body:before {
  content: "";
  position: absolute;
  left: 17px;
  top: 12px;
  width: 15px;
  height: 11px;
  border-radius: 8px 2px 2px 8px;
  background: #f8ffce;
  box-shadow: 0 0 13px #efff8c;
}
.car-body:after {
  content: "";
  position: absolute;
  right: 7px;
  top: 18px;
  width: 8px;
  height: 18px;
  border-radius: 3px;
  background: #e53626;
}
.car-body b {
  position: absolute;
  left: 94px;
  top: 20px;
  color: #112000;
  font-size: 18px;
  font-style: italic;
  letter-spacing: -1px;
}
.car-roof {
  position: absolute;
  z-index: 2;
  left: 61px;
  bottom: 62px;
  width: 126px;
  height: 43px;
  border-radius: 56px 62px 5px 4px;
  background: linear-gradient(145deg, #a9f037, #6daf0c);
  clip-path: polygon(15% 100%, 31% 10%, 70% 0, 96% 100%);
}
.car-roof i {
  position: absolute;
  top: 8px;
  height: 29px;
  background: linear-gradient(145deg, #d9eff7, #648398);
  border: 3px solid #477b00;
}
.car-roof i:first-child {
  left: 35px;
  width: 37px;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.car-roof i:last-child {
  left: 76px;
  width: 34px;
  clip-path: polygon(0 0, 68% 7%, 100% 100%, 0 100%);
}
.wheel {
  position: absolute;
  z-index: 5;
  bottom: 0;
  width: 38px;
  height: 38px;
  border: 7px solid #111820;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #b9c1c8 0 24%,
    #4b5965 26% 47%,
    #171d22 49%
  );
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.22);
}
.wheel:after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: repeating-conic-gradient(#1a2026 0 14deg, #303840 14deg 28deg);
  z-index: -1;
  animation: wheel-spin 0.55s linear infinite;
}
.wheel-back {
  left: 37px;
}
.wheel-front {
  right: 31px;
}
.car-handle {
  position: absolute;
  left: 146px;
  top: 12px;
  width: 18px;
  height: 3px;
  border-radius: 4px;
  background: #416c0b;
}
.car-light {
  position: absolute;
  right: 22px;
  top: 8px;
  width: 20px;
  height: 10px;
  border-radius: 70% 20% 20% 40%;
  background: #eaff99;
  box-shadow: 10px 0 25px #eaff74;
}
.road-scene.vehicle-disabled .rutago-car {
  display: none;
}
@keyframes rutago-drive {
  0% {
    left: -32%;
    transform: scale(0.82);
  }
  35% {
    left: 39%;
    transform: scale(1);
  }
  58% {
    left: 39%;
    transform: scale(1);
  }
  100% {
    left: 115%;
    transform: scale(0.86);
  }
}
@keyframes wheel-spin {
  to {
    transform: rotate(360deg);
  }
}
.landing-admin {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid #d5dee8;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f5f9ff);
  box-shadow: 0 9px 25px rgba(17, 32, 48, 0.08);
}
.landing-admin form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.landing-admin textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  resize: vertical;
}
.landing-admin-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: #dff8b8;
  color: #315d00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.driver-offer-counter {
  position: sticky;
  top: 10px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  margin-left: auto;
  padding: 9px 13px;
  border: 2px solid #b77900;
  border-radius: 999px;
  background: #ffcc4d;
  color: #17212b;
  box-shadow: 0 6px 18px rgba(183, 121, 0, 0.28);
  font-weight: 900;
}
.driver-offer-counter b {
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 27px;
  padding: 0 6px;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
}
.driver-offer-counter small { color: inherit; font-weight: 800; }
.landing-admin-preview {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  min-height: 48px;
  padding: 10px;
  border: 1px dashed #b8c7d7;
  border-radius: 13px;
  background: #fff;
}
.landing-admin-preview img {
  width: 160px;
  height: 85px;
  object-fit: cover;
  border-radius: 9px;
}
.landing-admin-preview span {
  color: #526170;
  font-size: 13px;
  font-weight: 700;
}
.landing-admin-preview .no-image {
  grid-column: 1/-1;
  text-align: center;
}
@media (max-width: 760px) {
  .landing-copy.has-hero-image:before {
    background: rgba(8, 15, 24, 0.72);
  }
  .rutago-car {
    width: 190px;
    height: 73px;
    transform-origin: bottom left;
  }
  .car-body {
    transform: scale(0.78);
    transform-origin: bottom left;
  }
  .car-roof {
    transform: scale(0.78);
    transform-origin: bottom left;
  }
  .wheel {
    transform: scale(0.78);
    transform-origin: center bottom;
  }
  .wheel-front {
    right: 23px;
  }
  .wheel-back {
    left: 29px;
  }
  @keyframes rutago-drive {
    0% {
      left: -55%;
    }
    36% {
      left: 25%;
    }
    60% {
      left: 25%;
    }
    100% {
      left: 120%;
    }
  }
  .landing-admin-preview {
    grid-template-columns: 1fr;
  }
  .landing-admin-preview img {
    width: 100%;
    height: 130px;
  }
}

/* Personalización adicional de portada */
.road-scene {
  background: linear-gradient(180deg, #42505d 0, #202b35 62%, #182129 100%);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 38px rgba(0, 0, 0, 0.22);
}
.road-scene:before,
.road-scene:after {
  display: none !important;
}
.road-scene.has-road-image {
  background-size: cover;
  background-position: center 58%;
}
.entry-buttons button {
  background: var(--entry-color, #fff) !important;
  color: var(--entry-text, #17212b) !important;
  border-color: rgba(25, 38, 52, 0.14);
}
.entry-buttons button:before {
  background: rgba(255, 255, 255, 0.72) !important;
}
.entry-buttons button:after {
  color: inherit !important;
  opacity: 0.7;
}
.entry-buttons button:hover:after {
  color: inherit !important;
  opacity: 1;
}
.entry-buttons small {
  color: inherit !important;
  opacity: 0.82;
}
.landing-button-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 15px;
  border: 1px solid #d8e1eb;
  border-radius: 14px;
  background: #fff;
}
.landing-button-colors legend {
  padding: 0 7px;
  font-weight: 900;
}
.landing-button-colors label {
  margin: 0;
  font-size: 12px;
}
.landing-button-colors input[type="color"] {
  width: 100%;
  height: 48px;
  padding: 4px;
  cursor: pointer;
}
@media (max-width: 760px) {
  .landing-button-colors {
    grid-template-columns: 1fr 1fr;
  }
}

/* Editor visual y encuadre de portada */
.landing-eyebrow-bar {
  padding: 24px 30px 12px;
  background: #fff;
  text-align: center;
}
.landing-eyebrow-bar .eyebrow {
  display: inline-block;
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eaffc8;
  color: #2f6500;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.landing-copy.has-hero-image {
  min-height: 310px;
  display: flex;
  align-items: center;
}
.landing-copy.has-hero-image .landing-copy-content {
  width: 100%;
}
.landing-copy.has-hero-image .landing-hero-image {
  object-fit: cover;
}
.landing-copy-content h1.hidden,
.landing-copy-content p.hidden {
  display: none !important;
}
.landing-live-preview {
  margin: 18px 0 24px;
  border: 1px solid #cdd8e4;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(18, 38, 58, 0.12);
}
.preview-eyebrow {
  padding: 10px;
  text-align: center;
  background: #fff;
  color: #2f6500;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.preview-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 25px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #eef4ff);
  text-align: center;
}
.preview-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 15, 24, 0.74),
    rgba(8, 15, 24, 0.22)
  );
  opacity: 0;
}
.preview-hero.has-image:after {
  opacity: 1;
}
.preview-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-hero > div {
  position: relative;
  z-index: 2;
  color: #17212b;
}
.preview-hero.has-image > div {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.preview-hero b,
.preview-hero span {
  display: block;
}
.preview-hero b {
  font-size: 28px;
}
.preview-hero span {
  margin-top: 8px;
  font-size: 12px;
}
.preview-road {
  position: relative;
  height: 105px;
  background: linear-gradient(#465562, #1c2731);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.preview-road span {
  position: absolute;
  left: 43%;
  bottom: 20px;
  padding: 9px 20px;
  border-radius: 22px 30px 10px 10px;
  background: linear-gradient(145deg, #c6ff59, #65a900);
  color: #152500;
  font-weight: 900;
  font-style: italic;
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.35);
}
.preview-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 10px;
}
.preview-buttons i {
  height: 32px;
  border-radius: 8px;
  background: #ddd;
}
.image-position-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 15px;
  border: 1px solid #d8e1eb;
  border-radius: 14px;
  background: #f9fbfd;
}
.image-position-controls legend {
  padding: 0 7px;
  font-weight: 900;
}
.image-position-controls label {
  margin: 0;
}
.image-position-controls output {
  float: right;
  color: #1769e0;
  font-weight: 900;
}
.image-position-controls input[type="range"] {
  width: 100%;
  margin-top: 9px;
  accent-color: #1769e0;
}
@media (max-width: 760px) {
  .landing-eyebrow-bar {
    padding: 18px 18px 8px;
  }
  .landing-copy.has-hero-image {
    min-height: 250px;
  }
  .image-position-controls {
    grid-template-columns: 1fr;
  }
  .preview-hero {
    min-height: 160px;
  }
  .preview-hero b {
    font-size: 22px;
  }
}

/* Brillo regulable de la imagen principal */
.landing-copy.has-hero-image:before {
  background: rgba(8, 15, 24, var(--hero-overlay, 0)) !important;
}
.landing-copy.has-hero-image h1,
.landing-copy.has-hero-image > div > p:last-child {
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.72),
    0 0 18px rgba(0, 0, 0, 0.28);
}
.preview-hero.has-image:after {
  background: rgba(8, 15, 24, var(--preview-overlay, 0));
  opacity: 1;
}
.overlay-control {
  grid-column: 1/-1;
  padding-top: 8px;
  border-top: 1px solid #dde5ed;
}
.overlay-control small {
  display: block;
  margin-top: 5px;
  color: #627180;
}
.overlay-control input[type="range"] {
  accent-color: #ffb000;
}

/* Vehículos múltiples, seguridad GPS y creación administrativa */
.vehicle-registration,
.admin-create-account {
  padding: 16px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}
.vehicle-registration h4 {
  margin: 0 0 10px;
}
.admin-create-account form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.external-navigation {
  background: #fff !important;
  color: #1769e0 !important;
  border: 1px solid #1769e0 !important;
}

/* Contraste accesible para botones verde lima y panel de direcciones en modo oscuro */
button.primary,
input.primary,
.primary {
  color: #111418 !important;
}
body[data-account-theme] #authArea .primary,
body[data-account-theme] #accountModal .primary,
body[data-account-theme] .account-main-button,
body[data-account-theme] #authArea .auth-tabs button.active {
  color: var(--role-text) !important;
}
body.dark-mode .recent-destination-label,
body.dark-mode .recent-destination-delete-list {
  background: #1b222b !important;
  color: #f5f7f9 !important;
  border-color: #46505d !important;
}
body.dark-mode .recent-destination-label small {
  color: #c6d0db !important;
}

/* Indicaciones para el conductor y control para volver al GPS. */
.driver-navigation-banner {
  position: absolute; z-index: 850; top: 12px; left: 12px; right: 12px;
  border-radius: 16px; padding: 12px 16px; background: #123c30; color: white;
  box-shadow: 0 8px 24px #10271d70; pointer-events: none;
  font-family: system-ui, sans-serif;
}
.driver-navigation-banner strong { display: block; font-size: 17px; line-height: 1.35; }
.driver-navigation-banner small { display: block; margin-top: 4px; opacity: .9; }
.driver-center-map {
  position: absolute; z-index: 850; right: 12px; top: 88px;
  border: 0; border-radius: 22px; padding: 11px 14px; background: #fff;
  color: #123c30; font-weight: 800; box-shadow: 0 4px 14px #0003; cursor: pointer;
}
@media (max-width: 700px) {
  .driver-navigation-banner { top: 9px; left: 9px; right: 9px; padding: 9px 12px; }
  .driver-navigation-banner strong { font-size: 14px; }
  .driver-center-map { right: 9px; top: 80px; padding: 9px 11px; font-size: 12px; }
}

/* Recordatorio de pertenencias y reportes privados de objetos olvidados. */
.belongings-reminder {display:grid;gap:.35rem;background:#e9f9eb;border-left:5px solid #16803e;border-radius:12px;padding:1rem;margin:.8rem 0;color:#123924}
.lost-found-open {width:100%;margin:.65rem 0;padding:.85rem;border:1px solid #25559b;border-radius:12px;background:#eef5ff;color:#123e7c;font-weight:700;cursor:pointer}
#adminLostFoundReports {display:grid;gap:1rem}
.lost-found-card {display:grid;gap:.6rem;padding:1rem;border:1px solid #d7e2ef;border-radius:14px;background:#fff;overflow-wrap:anywhere}
.lost-found-card > div:first-child {display:grid;gap:.2rem}
.lost-found-card small {display:block;color:#465b72}
.lost-found-card p {white-space:pre-wrap;margin:.2rem 0}
.lost-found-card .support-actions {display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}
.lost-found-card .support-actions label {display:flex;gap:.5rem;align-items:center}
.lost-found-photo {display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:auto}
.replacement-choice-actions {display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1rem}
.replacement-choice-actions button {flex:1 1 12rem;min-height:3rem}
/* Botón de recordatorio legible en los temas claro y oscuro. */
#remindBelongingsButton,
body.dark-mode #remindBelongingsButton {
  background: #1559b7;
  border: 2px solid #0f438c;
  color: #ffffff;
}
#remindBelongingsButton:hover,
body.dark-mode #remindBelongingsButton:hover {
  background: #104b9b;
}
#remindBelongingsButton:focus-visible {
  outline: 3px solid #ffcf33;
  outline-offset: 2px;
}

/* Selector visual de cobertura y acceso claro al inicio desde registro. */
.service-zone-map {height:390px;min-height:300px;width:100%;border:2px solid #bacce4;border-radius:15px;overflow:hidden;background:#e9f0f8;margin:1rem 0}
#serviceZoneMapHint {font-weight:700;color:#173f79}
#backToLanding,
body.dark-mode #backToLanding {
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;min-width:190px;padding:12px 18px;margin:0 0 18px;
  border:2px solid #0d4696;border-radius:14px;
  background:#1559b7;color:#fff;font-size:15px;font-weight:800;
  letter-spacing:normal;text-transform:none;box-shadow:0 4px 12px rgba(14,68,137,.22);
  cursor:pointer;
}
#backToLanding:hover,body.dark-mode #backToLanding:hover {background:#0d448f;color:#fff}
#backToLanding:focus-visible {outline:3px solid #ffcd32;outline-offset:3px}
@media(max-width:600px){.service-zone-map{height:320px}#backToLanding{width:100%}}

.country-coverage-control {padding:1rem;border:2px solid #98b8e2;border-radius:14px;background:#eef5ff;margin:1rem 0;color:#142f53}
.country-coverage-control > label {display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;cursor:pointer}
.country-coverage-control > p {margin:.65rem 0 0;color:#25456b}
body.dark-mode .country-coverage-control {background:#172b43;color:#f5f9ff;border-color:#5b8cc5}
body.dark-mode .country-coverage-control > p {color:#d1e4ff}
