/* =====================================================================
   GoalLogic — Favorites Star Button (.fav-btn)
   Inline on every prediction card header: "2026-05-18 | ⭐"
   ===================================================================== */

/* ── Button reset ─────────────────────────────────────────────────────── */
.fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0 2px;
  cursor: pointer;
  line-height: 1;
  color: #9ca3af;          /* Default: grey star */
  font-size: 0.9rem;
  transition: color .2s, transform .15s;
  vertical-align: middle;
}

.fav-btn:hover {
  color: #f59e0b;
  transform: scale(1.2);
}

/* ── Filled (favorited) state ─────────────────────────────────────────── */
.fav-btn.is-fav {
  color: #f59e0b;          /* Gold */
}

.fav-btn.is-fav:hover {
  color: #d97706;
  transform: scale(1.1);
}

/* ── Separator pipe ─────────────────────────────────────────────────────  */
.pc-kickoff .pc-sep {
  margin: 0 4px;
  color: #d1d5db;
  font-weight: 300;
}

/* ── Old favorites page layout (legacy — preserved) ─────────────────────  */
.favorites-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.favorites-title {
  font-size: 22px;
  font-weight: 700;
}

.favorites-section h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.favorites-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.favorite-item {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--surface-card);
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.favorite-item span {
  font-weight: 600;
}

.fav-team-section {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--surface-card);
}

.fav-team-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fav-team-section-header i {
  color: #f59e0b;
}

.fav-team-section-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
}

.fav-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.fav-team-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  color: var(--text-primary);
  text-decoration: none;
}

.fav-team-card-link {
  display: flex;
  overflow: hidden;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.fav-team-card-link img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}

.fav-team-card-name {
  overflow: hidden;
  flex: 1;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fav-team-remove {
  border: 0;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
}

.fav-team-empty {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}
