/* ═══════════════════════════════════════════════════════════════════════════
   RALLY ATL — PUBLIC HONOR BOARD STYLESHEET (/public/honor-board.css)
   Compact design system & component classes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Section Block & Grid Containers ── */
#coachingHoursContainer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

#utrImprovementContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: space-around;
}

/* Two-column layout: Quarterly on left, Monthly on right */
.utr-growth-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  align-items: start;
}

@media (min-width: 900px) {
  .utr-growth-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.utr-section-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.utr-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed #e2e8f0;
}

.utr-group-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.utr-month-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.utr-month-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.utr-month-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.utr-month-cards .honor-card {
  max-width: 100%;
}

.content-block {
  background: var(--white, #ffffff);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius, 14px);
  padding: 16px 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow, 0 2px 10px rgba(0, 0, 0, 0.03));
}

.content-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.content-block-title-group h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy, #1a2e44);
  margin: 0 0 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.content-block-sub {
  font-size: 13px;
  color: var(--muted, #64748b);
  margin: 0;
}

/* ── 1.1. Back to Honor Board Breadcrumb Link ── */
.honor-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.honor-back-link:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
  transform: translateX(-2px);
}

/* ── 1.2. Callout Banner linking to Tournament Wins ── */
.content-block--cta {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #eff6ff 100%);
  border: 1.5px solid #86efac;
  border-radius: var(--radius, 14px);
  padding: 20px 24px;
  transition: all 0.25s ease;
}

.content-block--cta:hover {
  border-color: #34d399;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
}

.honor-cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.honor-cta-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 260px;
}

.honor-cta-icon {
  font-size: 34px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #bbf7d0;
}

.honor-cta-body h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy, #0f172a);
  margin: 0 0 4px 0;
}

.honor-cta-body p {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
  line-height: 1.4;
}

.honor-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--green, #10b981);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}

.honor-cta-btn:hover {
  background: var(--green-d, #059669);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
  color: #ffffff;
}

/* ── 2. Honor Card Component ── */
.honor-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius, 10px);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 300px;
}

.honor-card--blue {
  border-top: 3px solid #0284c7;
}

.honor-card--green {
  border-top: 3px solid var(--green, #2ecc71);
}

.honor-card--pink {
  border-top: 3px solid #ec4899;
}

.honor-card--purple {
  border-top: 3px solid #8b5cf6;
}

.honor-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #cbd5e1;
  gap: 4px;
  width: 100%;
}

.honor-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.honor-card-body a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.honor-card-body a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.honor-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── 3. Item Row Component ── */
.honor-row {
  background: var(--white, #ffffff);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.honor-row--card {
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 12px;
}

/* ── 4. Avatar Component ── */
.honor-row .avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: var(--white, #ffffff);
  background: linear-gradient(135deg, #3b82f6, var(--navy, #1a2e44));
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.honor-row .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 5. Row Info & Links ── */
.honor-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.honor-row-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1a2e44);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  transition: color 0.15s ease;
}

.honor-row-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.honor-row-sub {
  font-size: 11px;
  color: var(--muted, #64748b);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.honor-memo {
  font-size: 12px;
  color: #475569;
  line-height: 1.3;
  background: #f8fafc;
  border-left: 3px solid #cbd5e1;
  padding: 4px 8px;
  border-radius: 0 4px 4px 0;
  margin-top: 2px;
}

/* ── 6. Tag & Badge System ── */
.tag-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.tag-badge--blue {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.tag-badge--green {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.tag-badge--purple {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.tag-badge--pink {
  background: #fce7f3;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.tag-badge--default {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.tag-badge--outline {
  background: var(--white, #ffffff);
  color: var(--muted, #64748b);
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 11px;
}

.tag-badge--group {
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  margin-left: 3px;
}

/* ── 7. Metric Badge System ── */
.honor-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.honor-metric-badge--blue {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.honor-metric-badge--green {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.honor-metric-badge--purple {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.honor-metric-unit {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.85;
}

/* ── 8. Loading & Empty States ── */
.honor-loading {
  text-align: center;
  padding: 24px 16px;
  color: var(--muted, #64748b);
  font-size: 14px;
  font-weight: 600;
}

.hours-empty-sub {
  font-size: 12px;
  color: var(--muted, #94a3b8);
  padding: 12px 0;
  text-align: center;
}

.honor-empty-state {
  text-align: center;
  padding: 24px 16px;
  background: var(--white, #ffffff);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius, 12px);
  max-width: 450px;
  margin: 16px auto;
}

.honor-empty-icon {
  font-size: 36px;
  margin-bottom: 6px;
}

.honor-empty-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy, #1a2e44);
  margin-bottom: 2px;
}

.honor-empty-desc {
  font-size: 13px;
  color: var(--muted, #64748b);
  margin: 0;
}