:root {
  --bg: #080807;
  --surface: #11100e;
  --surface-2: #181714;
  --line: rgba(241, 205, 122, 0.16);
  --gold: #d6ad55;
  --gold-2: #f1d284;
  --text: #f7f1e4;
  --muted: #a7a095;
  --green: #36c46b;
  --red: #ef4444;
  --orange: #f59e0b;
  --gray: #777b84;
  --blue: #38bdf8;
  --yellow: #facc15;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 85, 0.16), transparent 31rem),
    linear-gradient(145deg, #060606 0%, #0f0d09 48%, #070707 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.82);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.6rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(241, 210, 132, 0.45);
  background: linear-gradient(145deg, #2a2112, #0c0b09);
  color: var(--gold-2);
  font-weight: 800;
}

.brand-logo {
  width: 3rem !important;
  height: 3rem !important;
  max-width: 3rem !important;
  max-height: 3rem !important;
  object-fit: contain;
  flex: 0 0 auto;
  border: 1px solid rgba(241, 210, 132, 0.28);
  background: #000;
}

.admin-brand .brand-logo,
.app-shell .brand-logo,
.sidebar .brand-logo {
  width: 2.4rem !important;
  height: 2.4rem !important;
  max-width: 2.4rem !important;
  max-height: 2.4rem !important;
  padding: 0.15rem;
}

.brand strong,
.brand span,
.sidebar-footer span,
.sidebar-footer small {
  display: block;
}

.brand span,
.sidebar-footer span,
.sidebar-footer small,
.eyebrow,
.metric-card small,
.qr-box span,
.mini-row {
  color: var(--muted);
}

.module-nav {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
}

.module-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.65rem;
  padding: 0 0.85rem;
  border: 1px solid transparent;
  background: transparent;
  color: #d9d2c7;
  text-align: left;
}

.module-link:hover,
.module-link.active {
  border-color: rgba(214, 173, 85, 0.36);
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold-2);
}

.sidebar-footer {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #0c0b09;
}

.sidebar-footer strong {
  display: block;
  margin: 0.25rem 0;
  color: var(--gold-2);
}

.workspace {
  min-width: 0;
  padding: 1.5rem;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h2 {
  font-size: 1.05rem;
}

.topbar-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.service-strip span {
  min-height: 2.25rem;
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(241, 210, 132, 0.17);
  background: rgba(214, 173, 85, 0.07);
  color: #e5dccd;
  font-size: 0.84rem;
}

.search-control {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.search-control input,
.delivery-grid input,
.delivery-grid select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d0c0a;
  color: var(--text);
  padding: 0.75rem 0.85rem;
}

.gold-button,
.outline-button,
.action-button,
.segmented button,
.icon-button {
  min-height: 2.6rem;
  border: 1px solid rgba(214, 173, 85, 0.38);
}

.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0cf7e, #b8872d);
  color: #12100a;
  font-weight: 800;
  padding: 0 1rem;
}

.outline-button,
.action-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 173, 85, 0.08);
  color: var(--gold-2);
  padding: 0 1rem;
}

.top-link {
  white-space: nowrap;
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.login-shell {
  width: min(28rem, calc(100vw - 2rem));
}

.login-panel,
.form-panel {
  border: 1px solid var(--line);
  background: rgba(17, 16, 14, 0.92);
  padding: 1.25rem;
}

.login-logo {
  display: block;
  width: min(17rem, 78vw);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto 1rem;
  border: 1px solid rgba(241, 210, 132, 0.18);
  background: #000;
}

.login-brand {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 1rem;
}

.auth-form,
.record-form {
  display: grid;
  gap: 0.85rem;
}

.auth-form label,
.record-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.auth-form input,
.record-form input,
.record-form select,
.record-form textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  background: #0d0c0a;
  color: var(--text);
  padding: 0.75rem 0.85rem;
}

.record-form textarea {
  min-height: 5rem;
}

.form-alert,
.form-success {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(239, 68, 68, 0.42);
  color: #ffd2d2;
  background: rgba(239, 68, 68, 0.08);
}

.form-success {
  border-color: rgba(54, 196, 107, 0.42);
  color: #d7ffe4;
  background: rgba(54, 196, 107, 0.08);
}

.form-page {
  min-height: 100vh;
  padding: 1.5rem;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.45fr);
  gap: 1rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.compact-table {
  width: 100%;
  border-collapse: collapse;
}

.compact-table th,
.compact-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem;
  text-align: left;
}

.compact-table th {
  color: var(--gold-2);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.metric-card,
.section-panel {
  border: 1px solid var(--line);
  background: rgba(17, 16, 14, 0.88);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.22);
}

.metric-card {
  display: grid;
  gap: 0.35rem;
  min-height: 8rem;
  padding: 1rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-card strong {
  font-size: 1.65rem;
}

.metric-card.alert {
  border-color: rgba(245, 158, 11, 0.38);
}

.metric-card.danger {
  border-color: rgba(239, 68, 68, 0.42);
}

.metric-card.warning {
  border-color: rgba(250, 204, 21, 0.34);
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #d9d2c7;
  font-size: 0.82rem;
}

.status-dot::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--status);
  border-radius: 50%;
}

.available { --status: var(--green); }
.rented { --status: var(--red); }
.due { --status: var(--orange); }
.passive { --status: var(--gray); }
.reserved { --status: var(--blue); }
.service { --status: var(--yellow); }

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.is-hidden {
  display: none !important;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(20rem, 0.8fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.section-panel {
  padding: 1rem;
}

.section-panel.large {
  min-height: 27rem;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.segmented {
  display: inline-flex;
  padding: 0.18rem;
  border: 1px solid var(--line);
  background: #0d0c0a;
}

.segmented button {
  border: 0;
  min-height: 2rem;
  padding: 0 0.75rem;
  background: transparent;
  color: var(--muted);
}

.segmented button.active {
  background: rgba(214, 173, 85, 0.18);
  color: var(--gold-2);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.calendar-day {
  min-height: 8.3rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0c0a;
}

.calendar-day strong {
  display: block;
  margin-bottom: 0.55rem;
}

.booking-chip {
  display: block;
  margin-top: 0.35rem;
  padding: 0.38rem;
  background: rgba(56, 189, 248, 0.12);
  color: #caecff;
  font-size: 0.76rem;
  border-left: 3px solid var(--blue);
}

.booking-chip.rent {
  background: rgba(239, 68, 68, 0.12);
  color: #ffd2d2;
  border-color: var(--red);
}

.booking-chip.due {
  background: rgba(245, 158, 11, 0.12);
  color: #ffe2a9;
  border-color: var(--orange);
}

.action-stack {
  display: grid;
  gap: 0.7rem;
}

.action-button {
  width: 100%;
  text-align: left;
}

.qr-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  margin-bottom: 1rem;
}

.fake-qr {
  width: 5.5rem;
  aspect-ratio: 1;
  border: 0.5rem solid #f8e6ba;
  background:
    linear-gradient(90deg, #111 40%, transparent 40% 60%, #111 60%) 0 0 / 24px 24px,
    linear-gradient(#111 40%, transparent 40% 60%, #111 60%) 0 0 / 24px 24px,
    #f8e6ba;
}

.damage-map {
  position: relative;
  height: 9rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 12%, rgba(241, 210, 132, 0.2) 12% 88%, transparent 88%),
    linear-gradient(#22201b, #0d0c0a);
}

.damage-map::before {
  content: "";
  position: absolute;
  inset: 2rem 1.5rem;
  border: 2px solid rgba(241, 210, 132, 0.55);
  border-radius: 4rem 4rem 1.8rem 1.8rem;
}

.damage-map button {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid #fff1c8;
  background: var(--red);
  border-radius: 50%;
}

.damage-map button:nth-child(1) { left: 32%; top: 42%; }
.damage-map button:nth-child(2) { left: 70%; top: 63%; }
.damage-map button:nth-child(3) { left: 58%; top: 30%; }

.mini-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.finance-list {
  display: grid;
  gap: 0.65rem;
}

.finance-list span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fleet-table,
.reservation-board {
  display: grid;
  gap: 0.55rem;
}

.fleet-row,
.reservation-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.2rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0c0a;
}

.status-pill {
  justify-self: end;
  padding: 0.35rem 0.6rem;
  color: #080807;
  background: var(--status);
  font-weight: 800;
  font-size: 0.75rem;
}

.module-placeholder {
  min-height: 18rem;
  display: grid;
  align-content: center;
}

.module-placeholder h2 {
  max-width: 48rem;
  font-size: 1.65rem;
}

.roadmap-panel {
  margin-bottom: 1rem;
}

.roadmap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.roadmap-list span {
  min-height: 2.2rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(241, 210, 132, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #dfd5c3;
}

.delivery-modal {
  width: min(54rem, calc(100vw - 2rem));
  border: 1px solid var(--line);
  background: #11100e;
  color: var(--text);
  padding: 1rem;
}

.delivery-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.icon-button {
  width: 2.4rem;
  padding: 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.delivery-grid label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.signature-box {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--muted);
}

#signaturePad {
  width: 100%;
  height: 11rem;
  background: #f8f1e3;
  touch-action: none;
}

menu {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border: 1px solid rgba(241, 210, 132, 0.45);
  background: #14110b;
  color: var(--gold-2);
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .module-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metrics-grid,
  .layout-grid,
  .layout-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .workspace {
    padding: 1rem;
  }

  .topbar,
  .topbar-actions,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .module-nav,
  .metrics-grid,
  .layout-grid,
  .layout-grid.three,
  .calendar-grid,
  .delivery-grid,
  .fleet-row,
  .reservation-card {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 6.5rem;
  }

  .status-pill {
    justify-self: start;
  }
}

/* Admin module pages */
.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  background:
    radial-gradient(circle at top left, rgba(214, 173, 85, 0.12), transparent 30rem),
    #070706;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 1rem;
  border-right: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.94);
}

.admin-brand {
  padding: 0 0 1rem;
  margin-bottom: 1rem;
}

.admin-nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav a {
  min-height: 2.65rem;
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  border: 1px solid transparent;
  color: #ddd4c7;
}

.admin-nav a:hover,
.admin-nav a.active {
  border-color: rgba(214, 173, 85, 0.36);
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold-2);
}

.admin-main {
  min-width: 0;
  width: 100%;
  padding: 1.25rem;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-actions span {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-grid.two-one {
  grid-template-columns: minmax(0, 1.6fr) minmax(20rem, 0.9fr);
}

.admin-grid.main-side {
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.65fr);
}

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

.admin-card {
  border: 1px solid var(--line);
  background: rgba(17, 16, 14, 0.9);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.24);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(12rem, 1fr));
  gap: 0.8rem;
}

.reservation-form {
  grid-template-columns: repeat(4, minmax(11rem, 1fr));
}

.stack-form {
  display: grid;
  gap: 0.8rem;
}

.admin-form label,
.stack-form label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid rgba(241, 210, 132, 0.18);
  background: #0d0c0a;
  color: var(--text);
  padding: 0.72rem 0.8rem;
  outline: none;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
  border-color: rgba(241, 210, 132, 0.65);
}

.admin-form textarea,
.stack-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.admin-form select[multiple] {
  min-height: 11rem;
  padding: 0.35rem;
}

.admin-form select[multiple] option {
  padding: 0.45rem 0.5rem;
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.span-4 {
  grid-column: span 4;
}

.form-submit {
  align-self: end;
  min-height: 3rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 42rem;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--gold-2);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.table-pill {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  padding: 0.25rem 0.55rem;
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold-2);
  border: 1px solid rgba(214, 173, 85, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
}

.summary-stack {
  display: grid;
  gap: 0.75rem;
}

.summary-stack span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-stack strong {
  color: var(--gold-2);
}

.compact-summary-card {
  padding: 0.75rem 1rem;
}

.compact-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.compact-summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.3rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(241, 210, 132, 0.16);
  background: rgba(214, 173, 85, 0.06);
}

.compact-summary b {
  color: var(--muted);
}

.compact-summary strong {
  color: var(--gold-2);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}

.section-heading h2 {
  margin: 0;
}

.section-heading strong {
  color: var(--gold-2);
}

.vehicle-edit-list {
  display: grid;
  gap: 1rem;
}

.vehicle-edit-card {
  border: 1px solid var(--line);
  background: rgba(17, 16, 14, 0.9);
  padding: 1rem;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.2);
}

.vehicle-edit-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vehicle-edit-head strong {
  color: var(--gold-2);
  font-size: 1.05rem;
}

.vehicle-edit-head span {
  color: var(--muted);
}

.vehicle-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.vehicle-edit-grid label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.vehicle-edit-grid input,
.vehicle-edit-grid select {
  width: 100%;
  min-height: 2.45rem;
  border: 1px solid rgba(241, 210, 132, 0.18);
  background: #0d0c0a;
  color: var(--text);
  padding: 0.55rem 0.65rem;
}

.vehicle-edit-grid input:focus,
.vehicle-edit-grid select:focus {
  border-color: rgba(241, 210, 132, 0.65);
}

.whatsapp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(67, 208, 118, 0.32);
  color: #7df0a2;
  background: rgba(67, 208, 118, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.inline-row-form {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) 8rem 10rem 7rem;
  gap: 0.45rem;
  align-items: center;
}

.inline-row-form input,
.inline-row-form select {
  width: 100%;
  min-height: 2.25rem;
  border: 1px solid rgba(241, 210, 132, 0.18);
  background: #0d0c0a;
  color: var(--text);
  padding: 0.45rem 0.55rem;
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1rem 0;
}

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-grid.two-one,
  .admin-grid.main-side,
  .admin-grid.three {
    grid-template-columns: 1fr;
  }

  .admin-form,
  .reservation-form,
  .vehicle-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-main {
    padding: 1rem;
  }

  .admin-topbar,
  .card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-nav,
  .admin-form,
  .reservation-form,
  .vehicle-edit-grid,
  .inline-row-form {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .vehicle-edit-head {
    flex-direction: column;
    align-items: stretch;
  }

  .span-2,
  .span-3,
  .span-4 {
    grid-column: span 1;
  }
}
