/* Fixture list and detail routes */
.fixtures-content .date-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--lightGrey);
}

.fixtures-content .date-nav-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--blue);
  font-size: 0.875rem;
  transition: color var(--motion-duration-medium) var(--motion-easing-standard);
}

.fixtures-content .date-nav-button:hover {
  color: var(--blueHover);
}

.fixtures-content .nav-icon {
  width: 16px;
  height: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.fixtures-content .prev-icon {
  background-image: url('/static/img/icons/arrow-left.svg');
}

.fixtures-content .next-icon {
  background-image: url('/static/img/icons/arrow-right.svg');
}

.fixtures-content .current-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  color: var(--titleText);
}

.fixtures-content .today-button {
  font-size: 0.75rem;
  color: var(--blue);
  text-decoration: none;
}

.fixtures-content .no-matches {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  text-align: center;
}

.fixtures-content .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--darkGrey);
}

.fixtures-content .empty-state svg {
  opacity: 0.5;
}

.all-matches-container,
.completed-matches-container {
  display: flex;
  flex-direction: column;
}

.live-matches-container {
  display: flex;
  flex-direction: column;
}

.live-matches-container .league-section,
.live-matches-container .league-header,
.live-matches-container .league-fixtures {
  width: 100%;
}

.live-matches-container .league-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--lightGrey);
}

.live-matches-container .league-header h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: var(--titleText);
}

.live-matches-container .league-fixtures {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.5rem;
}

.all-matches-container {
  gap: 1.5rem;
}

.fixtures-content .league-section {
  margin-bottom: 1.5rem;
}

.fixtures-content .league-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--lightGrey);
}

.fixtures-content .league-header h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: var(--titleText);
}

.fixtures-content .country-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.stat-score_datum {
  font-size: 0.75rem;
  color: var(--white-80);
  text-align: center;
  margin-bottom: 0.25rem;
  font-family: "Barlow", sans-serif;
}

.stat-score_rezultat {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 0.5rem;
  font-weight: 500;
  font-family: "Red Hat Display", serif;
  font-optical-sizing: auto;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.detail-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.detail-icon {
  width: 16px;
  height: 16px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-icon-placeholder,
.detail-label,
.detail-secondary,
.detail-item {
  color: var(--textMuted, #8892a0);
}

.detail-icon-placeholder {
  width: 16px;
  height: 16px;
}

.detail-content {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  margin-bottom: 0.1rem;
}

.detail-secondary {
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.stat-score_extra,
.stat-score_penalties {
  font-size: 0.8rem;
  color: var(--white-80);
  padding: 0.15rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  margin-bottom: 0.25rem;
}

.stats_kvote {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #284586;
  background: #284586;
  border-radius: 0.5rem 0.5rem 0 0;
}

.league-background {
  position: absolute;
  top: 58%;
  left: 50%;
  width: 200px;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.05;
  z-index: -1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.overflow:after {
  content: '';
  background: linear-gradient(15deg, rgba(40, 69, 134, 0.6) 20%, rgba(40, 69, 134, 0.2) 50%);
  width: 200px;
  height: 200px;
  position: absolute;
  z-index: -1;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.featherCircle {
  border: 0;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--motion-duration-medium) var(--motion-easing-standard);
}

.featherCircle:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.copy-tooltip {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1000;
  top: 0;
  left: 0;
  transform: translate(-50%, -120%);
  pointer-events: none;
  transition:
    opacity var(--motion-duration-long) var(--motion-easing-standard),
    transform var(--motion-duration-long) var(--motion-easing-standard);
}

.copy-tooltip.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -100%);
}

.match-details-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.25rem 0;
  padding: 0.5rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.8rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feather-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.stats_wld {
  display: flex;
  gap: 4px;
}

.form-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: var(--white);
  font-weight: bold;
  font-size: 12px;
}

.stats__tim {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats__tim.left {
  flex-direction: row;
  text-align: left;
}

.stats__tim.right {
  flex-direction: row-reverse;
  text-align: right;
}

.stats_teamsCard .stats_teamDetails {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.stats_teamsCard .stats__tim,
.stats_teamsCard .stats__tim.left,
.stats_teamsCard .stats__tim.right {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  gap: 0.5rem;
  text-align: center !important;
}

.stats_teamsCard .stats__tim h4 {
  text-align: center;
}

.stats_teamsCard .live__teamImg {
  display: block;
  flex: 0 0 auto;
}

.live__teamImg {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.live__scoreInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.live__rezultat {
  font-size: 1.5rem;
  font-weight: bold;
}

.live__datum {
  font-size: 0.8rem;
  color: var(--textMuted, #8892a0);
}

.live__elapsed,
.isLive {
  color: #dc3545;
}

.live__elapsed {
  font-size: 0.75rem;
  font-weight: bold;
}

@media (max-width: 420px) {
  .fixtures-content .date-navigation {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .fixtures-content .date-nav-button {
    font-size: 0.75rem;
  }

  .fixtures-content .league-header h3 {
    font-size: 0.875rem;
  }
}
