.ff-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ff-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  border-bottom: 1px solid #d1d5db;
}

.ff-tabs li {
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
}

.ff-tabs li.is-active {
  border-bottom-color: #005bb5;
  font-weight: 600;
}

#ff-tab-content {
  background: #fff;
  padding: 0.75rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

/* Inner vehicle tabs */
.vehicle-tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.vehicle-tabs li {
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  border-radius: 4px;
  background: #e5e7eb;
  cursor: pointer;
}

.vehicle-tabs li.is-active {
  background: #005bb5;
  color: #fff;
}

.vehicle-panels .vehicle-panel {
  font-size: 0.9rem;
}

/* Drivers / residence tables */
.ff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ff-table th,
.ff-table td {
  border: 1px solid #e5e7eb;
  padding: 0.4rem;
}

.ff-table th {
  background: #f3f4f6;
  text-align: left;
}
