/* ═══════════════════════════════════════════════════════════════════════════
   TRAINING PAGE — REVAMP 2026
   Premium, clean, modern dark-UI for the Training Hub
   Blue/Indigo accent · tx- prefix
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Type Color Tokens ─────────────────────────────────────────────────── */
:root {
  --tx-shooting:  #f43f5e;
  --tx-dribbling: #f59e0b;
  --tx-passing:   #06b6d4;
  --tx-fitness:   #22c55e;
  --tx-tactical:  #a855f7;
  --tx-mixed:     #6366f1;
  --tx-accent:    99, 102, 241;   /* indigo for hero/buttons */
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.tx-hero {
  position: relative;
  padding: 28px 24px 20px;
  margin: -20px -24px 24px -24px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(145deg, rgba(22, 22, 30, 0.96) 0%, rgba(14, 14, 18, 0.99) 100%);
  border-top: 2px solid rgba(var(--tx-accent), 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 4px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Subtle indigo radial glow */
.tx-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--tx-accent), 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.tx-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tx-hero__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3px 0;
  letter-spacing: -0.3px;
}

.tx-hero__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  font-weight: 400;
}

.tx-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(var(--tx-accent), 0.18), rgba(var(--tx-accent), 0.10));
  border: 1px solid rgba(var(--tx-accent), 0.3);
  border-radius: 12px;
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.tx-hero__cta:hover {
  background: linear-gradient(135deg, rgba(var(--tx-accent), 0.28), rgba(var(--tx-accent), 0.18));
  border-color: rgba(var(--tx-accent), 0.5);
  box-shadow: 0 4px 20px rgba(var(--tx-accent), 0.2);
  transform: translateY(-1px);
}

.tx-hero__cta .elite-icon {
  width: 15px;
  height: 15px;
}

/* ── 7-Day Streak Dots ─────────────────────────────────────────────────── */
.tx-streak {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tx-streak__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}

.tx-streak__dots {
  display: flex;
  gap: 5px;
}

.tx-streak__dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.15s ease;
  position: relative;
}

.tx-streak__dot:hover {
  transform: scale(1.12);
}

.tx-streak__dot--rest {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tx-streak__dot--shooting {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.tx-streak__dot--dribbling {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.tx-streak__dot--passing {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.tx-streak__dot--fitness {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.tx-streak__dot--tactical {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.tx-streak__dot--mixed {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.tx-streak__dot--multi {
  background: linear-gradient(135deg, rgba(var(--tx-accent), 0.15), rgba(168, 85, 247, 0.15));
  color: #c4b5fd;
  border: 1px solid rgba(var(--tx-accent), 0.25);
}

.tx-streak__dot-count {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.tx-streak__dot-day {
  position: absolute;
  bottom: -13px;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── Stats Bar ─────────────────────────────────────────────────────────── */
.tx-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.tx-stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  overflow: hidden;
}

.tx-stat-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.tx-stat__num {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.tx-stat__lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.tx-stat__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 12px;
}

/* Accent lines per stat */
.tx-stat--sessions  { border-top: 2px solid rgba(var(--tx-accent), 0.4); }
.tx-stat--hours     { border-top: 2px solid rgba(6, 182, 212, 0.4); }
.tx-stat--intensity { border-top: 2px solid rgba(245, 158, 11, 0.4); }
.tx-stat--streak    { border-top: 2px solid rgba(239, 68, 68, 0.4); }
.tx-stat--weekly    { border-top: 2px solid rgba(34, 197, 94, 0.4); }

.tx-stat--sessions:hover  { border-color: rgba(var(--tx-accent), 0.6); box-shadow: 0 4px 16px rgba(var(--tx-accent), 0.08); }
.tx-stat--hours:hover     { border-color: rgba(6, 182, 212, 0.6); }
.tx-stat--intensity:hover { border-color: rgba(245, 158, 11, 0.6); }
.tx-stat--streak:hover    { border-color: rgba(239, 68, 68, 0.6); }
.tx-stat--weekly:hover    { border-color: rgba(34, 197, 94, 0.6); }

/* ── Type Distribution Bar ─────────────────────────────────────────────── */
.tx-type-bar {
  margin-bottom: 20px;
}

.tx-type-bar__track {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.tx-type-bar__seg {
  height: 100%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
}

.tx-type-bar__seg--shooting  { background: var(--tx-shooting); }
.tx-type-bar__seg--dribbling { background: var(--tx-dribbling); }
.tx-type-bar__seg--passing   { background: var(--tx-passing); }
.tx-type-bar__seg--fitness   { background: var(--tx-fitness); }
.tx-type-bar__seg--tactical  { background: var(--tx-tactical); }
.tx-type-bar__seg--mixed     { background: var(--tx-mixed); }

.tx-type-bar__labels {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.tx-type-bar__tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.tx-type-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.tx-type-bar__tag--shooting  .tx-type-bar__dot { background: var(--tx-shooting); }
.tx-type-bar__tag--dribbling .tx-type-bar__dot { background: var(--tx-dribbling); }
.tx-type-bar__tag--passing   .tx-type-bar__dot { background: var(--tx-passing); }
.tx-type-bar__tag--fitness   .tx-type-bar__dot { background: var(--tx-fitness); }
.tx-type-bar__tag--tactical  .tx-type-bar__dot { background: var(--tx-tactical); }
.tx-type-bar__tag--mixed     .tx-type-bar__dot { background: var(--tx-mixed); }

/* ── Toolbar: Tabs + Search ────────────────────────────────────────────── */
.tx-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tx-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 3px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tx-tabs::-webkit-scrollbar { display: none; }

.tx-tab {
  padding: 7px 14px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tx-tab:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.tx-tab.active {
  background: rgba(var(--tx-accent), 0.14);
  color: #a5b4fc;
  box-shadow: 0 1px 4px rgba(var(--tx-accent), 0.1);
}

.tx-toolbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tx-search {
  position: relative;
}

.tx-search__icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.tx-search__input {
  width: 170px;
  padding: 8px 12px 8px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  outline: none;
  transition: all 0.2s ease;
}

.tx-search__input:focus {
  width: 220px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(var(--tx-accent), 0.3);
}

.tx-search__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.tx-select {
  padding: 8px 28px 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.tx-select:hover,
.tx-select:focus {
  border-color: rgba(255, 255, 255, 0.15);
}

.tx-select option {
  background: #1a1a24;
  color: #fff;
}

.tx-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: rgba(var(--tx-accent), 0.1);
  border: 1px solid rgba(var(--tx-accent), 0.25);
  border-radius: 10px;
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tx-add-btn:hover {
  background: rgba(var(--tx-accent), 0.18);
  border-color: rgba(var(--tx-accent), 0.4);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(var(--tx-accent), 0.12);
}

.tx-add-btn .elite-icon {
  width: 13px;
  height: 13px;
}

/* ── Training List Container ───────────────────────────────────────────── */
.tx-list-wrap {
  min-height: 120px;
}

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

/* ── Month Group Header ────────────────────────────────────────────────── */
.tx-month-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 6px;
  margin-top: 8px;
}

.tx-month-header:first-child {
  margin-top: 0;
  padding-top: 4px;
}

.tx-month-header__text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.tx-month-header__line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.tx-month-header__count {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRAINING CARD v2 — Type-centric, scannable, rich info
   ═══════════════════════════════════════════════════════════════════════════ */
.tx-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.tx-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Type badge (left column) */
.tx-card__type {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 18px;
  flex-shrink: 0;
}

.tx-card__type--shooting {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.tx-card__type--dribbling {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.tx-card__type--passing {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.tx-card__type--fitness {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.tx-card__type--tactical {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.tx-card__type--mixed {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Card body (middle column) */
.tx-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tx-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tx-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-card__duration {
  font-size: 12px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.tx-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.tx-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.tx-card__type-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.tx-card__type-tag--shooting  { background: rgba(244, 63, 94, 0.12); color: #fb7185; }
.tx-card__type-tag--dribbling { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.tx-card__type-tag--passing   { background: rgba(6, 182, 212, 0.12); color: #22d3ee; }
.tx-card__type-tag--fitness   { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.tx-card__type-tag--tactical  { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.tx-card__type-tag--mixed     { background: rgba(99, 102, 241, 0.12); color: #a5b4fc; }

.tx-card__notes {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Card right side — intensity */
.tx-card__stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 48px;
}

.tx-card__intensity-num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.tx-card__intensity-num--high { color: #f87171; }
.tx-card__intensity-num--mid  { color: #fbbf24; }
.tx-card__intensity-num--low  { color: #4ade80; }

.tx-card__intensity-bar {
  width: 100%;
  height: 3px;
  border-radius: 1.5px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.tx-card__intensity-fill {
  height: 100%;
  border-radius: 1.5px;
  transition: width 0.3s ease;
}

.tx-card__intensity-fill--high { background: #ef4444; }
.tx-card__intensity-fill--mid  { background: #f59e0b; }
.tx-card__intensity-fill--low  { background: #22c55e; }

.tx-card__intensity-lbl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

/* ── Empty State ───────────────────────────────────────────────────────── */
.tx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  text-align: center;
}

.tx-empty__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(var(--tx-accent), 0.08);
  border: 1px solid rgba(var(--tx-accent), 0.12);
  margin-bottom: 18px;
}

.tx-empty__icon .elite-icon {
  width: 28px;
  height: 28px;
  color: rgba(var(--tx-accent), 0.5);
}

.tx-empty__title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 6px;
}

.tx-empty__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 24px;
  max-width: 280px;
  line-height: 1.5;
}

.tx-empty__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: rgba(var(--tx-accent), 0.12);
  border: 1px solid rgba(var(--tx-accent), 0.3);
  border-radius: 10px;
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tx-empty__cta:hover {
  background: rgba(var(--tx-accent), 0.2);
  border-color: rgba(var(--tx-accent), 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--tx-accent), 0.12);
}

.tx-empty__cta .elite-icon {
  width: 14px;
  height: 14px;
}

/* ── No Results (filtered) ─────────────────────────────────────────────── */
.tx-no-results {
  text-align: center;
  padding: 48px 20px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.tx-no-results__icon {
  font-size: 32px;
  margin-bottom: 10px;
  opacity: 0.3;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .tx-hero {
    padding: 22px 18px 16px;
    margin: -16px -16px 18px -16px;
    border-radius: 0 0 16px 16px;
  }

  .tx-hero__title { font-size: 19px; }

  .tx-hero__cta span { display: none; }
  .tx-hero__cta { padding: 10px 12px; }

  .tx-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .tx-stat__num { font-size: 20px; }
  .tx-stat-card { padding: 12px 8px; }

  .tx-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .tx-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .tx-toolbar__right {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tx-search__input {
    width: 100%;
    flex: 1;
  }

  .tx-search {
    flex: 1;
    min-width: 0;
  }

  .tx-search__input:focus {
    width: 100%;
  }

  .tx-add-btn {
    flex: 0 0 auto;
  }

  /* Card responsive: stack intensity below */
  .tx-card {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  .tx-card__type {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 10px;
  }

  .tx-card__stats {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 2px;
    min-width: 0;
  }

  .tx-card__intensity-bar {
    width: 60px;
  }

  .tx-streak__dots {
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .tx-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tx-toolbar__right {
    flex-direction: column;
  }

  .tx-select { width: 100%; }
  .tx-add-btn { width: 100%; justify-content: center; }

  .tx-streak { flex-wrap: wrap; }

  .tx-type-bar__labels { gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes txFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tx-card {
  animation: txFadeUp 0.3s ease both;
}

.tx-card:nth-child(2)  { animation-delay: 0.03s; }
.tx-card:nth-child(3)  { animation-delay: 0.06s; }
.tx-card:nth-child(4)  { animation-delay: 0.09s; }
.tx-card:nth-child(5)  { animation-delay: 0.12s; }
.tx-card:nth-child(6)  { animation-delay: 0.15s; }
.tx-card:nth-child(7)  { animation-delay: 0.18s; }
.tx-card:nth-child(8)  { animation-delay: 0.21s; }
.tx-card:nth-child(9)  { animation-delay: 0.24s; }
.tx-card:nth-child(10) { animation-delay: 0.27s; }

.tx-month-header {
  animation: txFadeUp 0.25s ease both;
}

/* ═══════════════════════════════════════════════════════════════════════════
   OVERRIDE: Suppress old revamp styles on training page
   ═══════════════════════════════════════════════════════════════════════════ */
[data-page="training"] .revamp-hero,
[data-page="training"] .mega-stats-grid,
[data-page="training"] .revamp-toolbar,
[data-page="training"] .revamp-list-container,
[data-page="training"] .training-list-premium {
  display: none !important;
}
