/* ============================================
   INVENTAIRE CASERNE — Style global
   ============================================ */

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #f7f8fa;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ---------- HEADER ---------- */

.app-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-icon {
  font-size: 2rem;
  color: #e63946;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.header-sub {
  font-size: 0.8rem;
  color: #888;
}

.badge-date {
  font-size: 0.72rem;
  color: #aaa;
  text-align: right;
  max-width: 120px;
  line-height: 1.3;
}

/* ---------- VEHICLE CARDS ---------- */

.vehicle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 24px 12px 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  min-height: 160px;
  text-align: center;
}

.vehicle-card:hover,
.vehicle-card:focus {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  border-color: #d0d0d0;
  transform: translateY(-2px);
  color: inherit;
}

.vehicle-card:active {
  transform: scale(0.97);
  box-shadow: none;
}

.vehicle-icon {
  font-size: 2.2rem;
  color: #e63946;
  line-height: 1;
}

.vehicle-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 4px;
}

.vehicle-sub {
  font-size: 0.72rem;
  color: #999;
  line-height: 1.3;
}

.vehicle-arrow {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.82rem;
  color: #ccc;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 400px) {
  .vehicle-card {
    min-height: 140px;
    padding: 18px 8px 16px;
  }

  .vehicle-icon {
    font-size: 1.8rem;
  }

  .vehicle-name {
    font-size: 0.9rem;
  }
}
