/* Desktop dashboard polish. Mobile layout blijft volledig in style.css. */
@media (min-width: 960px) {
  body {
    background:
      radial-gradient(circle at 8% 0%, rgba(0,73,153,.055), transparent 28rem),
      linear-gradient(180deg, #f5f8fc 0%, #eef4fb 100%);
  }

  .topbar {
    height: 82px;
    padding-left: max(32px, calc((100vw - 1340px) / 2));
    padding-right: max(32px, calc((100vw - 1340px) / 2));
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 28px rgba(7,54,111,.10);
  }

  .brand img {
    width: 202px;
    height: 54px;
  }

  .topbar nav {
    gap: 8px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    background: rgba(255,255,255,.055);
  }

  .topbar nav a {
    min-width: 108px;
    padding: 10px 16px;
    text-align: center;
    border-radius: 9px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
  }

  .topbar nav a:hover {
    background: rgba(255,255,255,.13);
    transform: translateY(-1px);
  }

  .shell {
    width: min(1340px, calc(100% - 64px));
    margin: 28px auto 52px;
  }

  .hero {
    min-height: 68px;
    padding: 13px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(7,54,111,.12);
  }

  .hero h1 {
    font-size: 24px;
    letter-spacing: -.025em;
  }

  .stats {
    gap: 8px;
  }

  .stats div {
    min-width: 94px;
    padding: 7px 12px;
    border-radius: 11px;
  }

  .stats strong {
    font-size: 19px;
  }

  .stats span {
    font-size: 10px;
  }

  .layout {
    grid-template-columns: minmax(370px, 430px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    margin-top: 24px;
  }

  .panel {
    padding: 24px;
    border-radius: 18px;
    border-color: #dbe5f0;
    box-shadow: 0 8px 25px rgba(7,54,111,.055);
  }

  .panel-head {
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7edf4;
  }

  .panel-head h2 {
    font-size: 20px;
  }

  .panel-head .eyebrow {
    margin-bottom: 5px;
  }

  .booking-panel {
    border-top: 4px solid #004999;
  }

  .booking-form {
    gap: 13px;
  }

  .booking-form label {
    gap: 6px;
  }

  .booking-form label > span,
  .edit-form label > span {
    font-size: 12px;
    letter-spacing: .01em;
  }

  .booking-form input,
  .booking-form select,
  .edit-form input,
  .edit-form select {
    height: 49px;
    border-radius: 10px;
    border-color: #cbd8e6;
    background: #fbfdff;
  }

  .booking-form input:hover,
  .booking-form select:hover,
  .edit-form input:hover,
  .edit-form select:hover {
    border-color: #9fb4ca;
  }

  .booking-form .button.primary {
    min-height: 50px;
    margin-top: 3px;
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(0,73,153,.16);
  }

  .vehicles-panel {
    min-width: 0;
  }

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

  .vehicle-tile {
    min-height: 70px;
    padding: 11px 13px;
    border: 1px solid #e2e9f1;
    border-radius: 13px;
    background: #fbfdff;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  }

  .vehicle-tile:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: #c6d7e8;
    box-shadow: 0 7px 18px rgba(7,54,111,.07);
  }

  .vehicle-icon {
    width: 38px;
    height: 38px;
  }

  .vehicle-tile strong {
    font-size: 14px;
  }

  .vehicle-tile small {
    font-size: 11px;
  }

  .active-panel {
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 26px;
  }

  .active-panel .panel-head {
    margin-bottom: 20px;
  }

  .count {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,73,153,.14);
  }

  .reservation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .reservation-card {
    min-width: 0;
    padding: 17px;
    gap: 13px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 4px 15px rgba(7,54,111,.035);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  }

  .reservation-card:hover {
    transform: translateY(-1px);
    border-color: #c9d8e8;
    box-shadow: 0 8px 22px rgba(7,54,111,.07);
  }

  .reservation-top {
    grid-template-columns: 44px minmax(0,1fr) auto;
  }

  .reservation-top h3 {
    font-size: 16px;
  }

  .car-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .status {
    white-space: nowrap;
  }

  .time-row {
    padding: 11px 12px;
    border: 1px solid #e6edf4;
    background: #f4f8fc;
  }

  .reservation-card .button {
    min-height: 44px;
    border-radius: 10px;
  }

  .empty-state {
    padding: 48px 20px 42px;
  }

  .messages {
    margin-bottom: 18px;
  }

  .message {
    border-radius: 12px;
  }

  .page-head {
    margin: 4px 0 22px;
    padding: 0 2px;
  }

  .page-head h1 {
    font-size: 34px;
  }

  .history-list {
    border-radius: 14px;
    overflow: hidden;
  }

  .history-item {
    padding: 18px 8px;
  }

  .settings-row {
    grid-template-columns: minmax(0,1fr) 100px 42px;
    gap: 10px;
  }

  .login-card {
    margin-top: 58px;
    padding: 38px;
  }

  footer {
    padding-bottom: 28px;
  }
}

@media (min-width: 1220px) {
  .reservation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) and (max-width: 1120px) {
  .shell {
    width: min(100% - 40px, 1080px);
  }

  .layout {
    grid-template-columns: minmax(340px, 390px) minmax(0, 1fr);
    gap: 18px;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
  }

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