/* style.css */

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #0b1f33;
  color: white;
}

.matchTracker {
  max-width: 1024px;
  margin: auto;
  padding: 20px;
}

.matchTracker__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
}

.matchTracker__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.matchTracker__league {
  font-weight: 700;
  font-size: 16px;
}

.matchTracker__date {
  font-weight: 400;
  color: #bbb;
}

.matchTracker__countdown {
  font-size: 22px;
  font-weight: 600;
  background: #1c3b57;
  padding: 6px 12px;
  border-radius: 8px;
}

.matchTracker__teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 40%;
}

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

.team__name {
  font-weight: 600;
  font-size: 16px;
}

.matchTracker__pitch {
  position: relative;
  background-color: #105530;
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
}

.pitch__svg {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.25;
}

.pitch__events {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.matchTracker__tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.tab {
  background: #1c3b57;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}

.tab:hover,
.tab.active {
  background: #2e6aa3;
}

.matchTracker__timeline {
  display: flex;
  justify-content: center;
  padding: 12px;
  background: #142a40;
  border-radius: 8px;
  overflow-x: auto;
}

.timeline__events {
  display: flex;
  gap: 16px;
  align-items: center;
}

.timeline__events img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
