/* ============================================================================
 * coaches.css — styly sekce Trenéři (V9.28), vyčleněno z admin.css V9.45
 * (module size §8: admin.css přerostl 5000 řádků po mobilních auditech).
 * Tokeny = admin.css :root. Načítá se v index.html vedle admin.css.
 * ============================================================================ */

/* ─── V9.28 Coaches admin (Apple-Cupertino glass, žádné inline scripts) ─── */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.coach-card {
  display: flex;
  flex-direction: column;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(60, 40, 20, 0.12);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(60, 40, 20, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.coach-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(60, 40, 20, 0.10);
}
.coach-card--inactive { opacity: 0.55; }
.coach-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(125, 43, 31, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.coach-card__avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.coach-card__avatar-placeholder {
  font-size: 32px;
  font-weight: 600;
  color: #7d2b1f;
  letter-spacing: 0.04em;
}
.coach-card__body { text-align: center; flex: 1; }
.coach-card__name {
  font-size: 17px;
  font-weight: 600;
  color: #2c2520;
  margin: 0 0 4px;
}
.coach-card__role {
  font-size: 13px;
  color: #7a6a55;
  margin-bottom: 6px;
}
.coach-card__dan {
  font-size: 12px;
  color: #8e1414;
  font-weight: 500;
  margin-bottom: 8px;
}
.coach-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}
.coach-card__badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.coach-card__badge--signature {
  background: rgba(77, 119, 65, 0.14);
  color: #2f5021;
  border: 1px solid rgba(77, 119, 65, 0.3);
}
.coach-card__badge--inactive {
  background: rgba(140, 100, 70, 0.12);
  color: #6b4a30;
}
.coach-card__actions {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(60, 40, 20, 0.08);
}
.coach-photo-section {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(125, 43, 31, 0.04);
  border-radius: 8px;
  margin-bottom: 12px;
}
.coach-photo-section__current {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(125, 43, 31, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.coach-photo-section__current img { width: 100%; height: 100%; object-fit: cover; }
.coach-photo-section__current .empty { font-size: 11px; color: #8a7a65; }
.coach-photo-section__actions { display: flex; flex-direction: column; gap: 8px; }
.coach-photo-section__actions label.btn { display: inline-flex; align-items: center; cursor: pointer; }
.drawer--coach { width: min(680px, 96vw); }
@media (max-width: 640px) {
  .coaches-grid { grid-template-columns: 1fr; }
}

