/* Stylesheet for FootyLive Pure Web Client */

:root {
  /* Dark Theme variables (default) */
  --bg: #090d16;
  --surface: rgba(22, 30, 49, 0.6);
  --surface-hover: rgba(30, 41, 67, 0.8);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-solid: #111827;
  --surface-solid-alt: #1f2937;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #10b981; /* Emerald */
  --primary-glow: rgba(16, 185, 129, 0.2);
  --accent: #ef4444; /* Red for Live */
  --accent-glow: rgba(239, 68, 68, 0.2);
  --shadow: rgba(0, 0, 0, 0.4);
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
}

[data-theme="light"] {
  /* Light Theme variables */
  --bg: #f3f4f6;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-hover: rgba(255, 255, 255, 0.95);
  --surface-border: rgba(0, 0, 0, 0.08);
  --surface-solid: #ffffff;
  --surface-solid-alt: #f9fafb;
  --text: #111827;
  --text-muted: #6b7280;
  --primary: #059669; /* Darker Emerald */
  --primary-glow: rgba(5, 150, 105, 0.15);
  --accent: #dc2626;
  --accent-glow: rgba(220, 38, 38, 0.15);
  --shadow: rgba(0, 0, 0, 0.06);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(at 0% 0%, var(--primary-glow) 0, transparent 50%),
    radial-gradient(at 100% 100%, var(--accent-glow) 0, transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.app-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  font-size: 1.8rem;
  animation: rotateBall 10s linear infinite;
}

@keyframes rotateBall {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-area h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background-color: var(--accent);
  color: white;
}

.live-pulse {
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.actions-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-bar {
  display: flex;
  gap: 0.5rem;
}

.search-bar input {
  background: var(--surface-solid);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.5rem 1rem;
  width: 250px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-bar input:focus {
  border-color: var(--primary);
}

/* Buttons */
.btn {
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  outline: none;
}

.btn.primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.btn.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn.secondary {
  background-color: var(--surface-solid-alt);
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.btn.secondary:hover {
  background-color: var(--surface-hover);
}

.btn-icon {
  background: var(--surface-solid-alt);
  border: 1px solid var(--surface-border);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.btn-icon:hover {
  color: var(--text);
  border-color: var(--primary);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 0.35rem;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

.tab-link {
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  outline: none;
}

.tab-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.tab-link.active {
  color: white;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Main Content elements */
.main-content {
  flex: 1;
}

.hidden {
  display: none !important;
}

/* Date Picker / calendar style */
.date-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
}

.calendar-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface-solid);
  border: 1px solid var(--surface-border);
  padding: 0.4rem 1rem;
  border-radius: 8px;
}

.calendar-input-wrapper input[type="date"] {
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
}

#display-date-text {
  font-weight: 700;
  font-size: 0.95rem;
}

/* League Standings Bar */
.league-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
}

.league-selector label {
  font-weight: 700;
  font-size: 0.95rem;
}

.league-selector select {
  background: var(--surface-solid);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  flex: 1;
  max-width: 400px;
}

/* Loading state */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  gap: 1rem;
}

.loader {
  border: 4px solid var(--surface-border);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-container p {
  color: var(--text-muted);
  font-weight: 500;
}

/* Error State */
.error-container {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.error-icon {
  font-size: 2rem;
}

.error-details {
  flex: 1;
}

.error-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.error-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Content Section Layout */
.content-section {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.section-meta h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.count-badge {
  background-color: var(--surface-solid-alt);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* Matches Grid & Card */
.matches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.match-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}

.match-card:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px var(--shadow);
}

.match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.match-competition {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-live-badge {
  background-color: var(--accent);
  color: white;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
}

.match-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.team-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.team-display.home {
  justify-content: flex-end;
  text-align: right;
}

.team-display.away {
  justify-content: flex-start;
  text-align: left;
}

.team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.05);
}

.team-name {
  font-size: 0.95rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.score-values {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--surface-border);
}

.score-divider {
  color: var(--text-muted);
  opacity: 0.6;
}

.score-future-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.match-time-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
}

.match-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--surface-border);
  padding-top: 0.5rem;
}

.match-venue {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-matches-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  color: var(--text-muted);
  backdrop-filter: blur(12px);
}

.no-matches-state p {
  font-size: 1rem;
  font-weight: 500;
}

/* Standings Tables Styling */
.standings-tables-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.standings-group {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px var(--shadow);
}

.standings-group h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--surface-border);
  color: var(--primary);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.standings-table th {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 2px solid var(--surface-border);
}

.standings-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--surface-border);
  vertical-align: middle;
}

.standings-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.rank-col {
  width: 35px;
  font-weight: 800;
  text-align: center;
  color: var(--text-muted);
}

.team-col {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.team-col img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.num-col {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.num-col.points {
  font-weight: 800;
  color: var(--primary);
}

/* Footer Styling */
.main-footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Modal Overlay & Card Details */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: fadeInModal 0.2s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: var(--surface-solid);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@keyframes slideUpModal {
  from { transform: translateY(30px); }
  to { transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--surface-border);
}

.modal-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.btn-close:hover {
  color: var(--text);
}

.modal-body {
  padding: 1.5rem;
}

/* Modal Scoreboard */
.modal-scoreboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
}

.modal-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
}

.modal-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 4px;
}

.modal-team-name {
  font-weight: 800;
  font-size: 0.95rem;
}

.modal-score-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-scores {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.modal-score-colon {
  color: var(--text-muted);
  opacity: 0.5;
}

.modal-match-status {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  color: white;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.modal-match-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Modal Info Grid */
.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.info-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.info-item-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.info-item-val {
  font-size: 0.85rem;
  font-weight: 700;
}

.predict-btn {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
  border: none !important;
  transition: all 0.2s ease;
}

.predict-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
  filter: brightness(1.1);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal Tabs */
.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--surface-border);
  margin-bottom: 1rem;
}

.modal-tab-link {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex: 1;
  padding: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
  outline: none;
}

.modal-tab-link:hover {
  color: var(--text);
}

.modal-tab-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.modal-tab-pane {
  display: none;
}

.modal-tab-pane.active {
  display: block;
}

/* Events Timeline Style */
.events-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 6px;
  font-size: 0.85rem;
}

.event-min {
  font-weight: 800;
  color: var(--primary);
  min-width: 32px;
  text-align: right;
}

.event-details {
  flex: 1;
}

.event-type-label {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-right: 0.5rem;
  color: var(--text-muted);
}

.event-player-name {
  font-weight: 700;
}

.event-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.event-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Stats Progress Bars Styling */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 250px;
  overflow-y: auto;
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
}

.stat-name {
  color: var(--text-muted);
  font-weight: 600;
}

.stat-bar-outer {
  background: var(--surface-solid-alt);
  height: 8px;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
}

.stat-bar-inner.home {
  background-color: var(--primary);
  height: 100%;
}

.stat-bar-inner.away {
  background-color: rgba(255, 255, 255, 0.2);
  height: 100%;
  margin-left: auto;
}

/* Scrollbars for list views */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--surface-border);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .app-container {
    padding: 0.75rem;
  }
  
  .main-header {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  
  .actions-area {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-bar input {
    width: 100%;
  }

  .nav-tabs {
    gap: 0.35rem;
  }
  
  .tab-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .match-card-body {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

  .team-display.home {
    justify-content: center;
    text-align: center;
  }

  .team-display.away {
    justify-content: center;
    text-align: center;
  }

  .modal-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Leagues Filter Bar */
.leagues-filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem 0;
  margin-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.leagues-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  outline: none;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  transform: translateY(-1px);
}

.filter-chip.active {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}
