/* assets/css/garage.css */
/* Purpose: only styles used by views/garage.view.php (safe + isolated) */

/* Subnav */
.race-subnav .nav-link {
  border-radius: 999px;
}
.race-subnav .nav-link.active{
  font-weight: 800;
}

/* Small helper text */
.muted-small{
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ------------------------------------------------------------
   KV tiles (Current Setup + Latest Working Tune)
   ------------------------------------------------------------ */
.kv{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255,255,255,.75);
}

.kv .k{
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.70;
}

.kv .v{
  margin-top: 0.25rem;
  font-weight: 800;
  font-size: 1.02rem;
}

/* Make the 2 kv blocks (Last saved / Revisions) feel even */
.row.g-2 .kv{
  padding: 0.65rem 0.75rem;
}

/* ------------------------------------------------------------
   Tune grid cards
   ------------------------------------------------------------ */
.tune-card{
  border-radius: 1rem;
}
.tune-card .card-body{
  display: flex;
  flex-direction: column;
}

/* ------------------------------------------------------------
   Team Garage polish (safe + scoped)
   ------------------------------------------------------------ */
.team-garage .team-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
}

.team-garage .team-card hr{
  opacity: 0.12;
}

.team-garage .team-summary{
  border-radius: 0.75rem;
  overflow: hidden;
}

.team-garage .team-summary .list-group-item{
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.team-garage .team-card .role-badge{
  border-radius: 999px;
  font-weight: 700;
}

.team-garage .team-card .text-bg-dark{
  color: #fff !important;
}

.team-garage .team-card .btn-outline-warning{
  font-weight: 600;
}

/* ------------------------------------------------------------
   Tiny UI polish: Garage card headers
   ------------------------------------------------------------ */
.container .card-header{
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.00));
  border-bottom: 1px solid rgba(0,0,0,0.12);
  font-weight: 700;
}