.ft-container {
  font-family: 'DIN Next LT Arabic Bold';
  margin: 2rem auto;
}

.ft-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 10px;
}

.ft-tab {
  background: #f1f1f1;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 600;
}

.ft-tab:hover {
  background: #4C2882;
  color: #fff;
}

.ft-tab.active {
  background: #4C2882;
  color: #fff;
}

.ft-carousel {
  display: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  gap: 16px;
}

.ft-carousel.active {
  display: flex;
}

.ft-match {
  width: auto;
  flex: 0 0 auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.ft-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ft-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}

.ft-team span {
  font-size: 20px;
  font-weight: bold;
  color: #4C2882;
  white-space: nowrap; 
  width: 100%; 
  overflow: hidden;
  text-overflow: ellipsis;
}

.ft-team img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
}

.ft-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ft-score {
  margin-top: 4px;
  font-weight: bold;
  color: #0073aa;
  font-size: 1.1rem;

  background: #4C2882;
  padding: 2px 10px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.875rem;
}

.ft-meta {
  font-size: 0.9rem;
  color: #555;
}

.ft-time, .ft-date {
  font-weight: bold;
  color: #4C2882;
}

.ft-time {
  font-size: 20px;
  margin-bottom: 0 !important;
}

.ft-date {
  font-size: 12px;
  margin-bottom: 0 !important;
}

.ft-empty {
  color: #999;
  padding: 10px;
  text-align: center;
}


/* WebKit browsers (Chrome, Safari, Edge) */
.ft-carousel::-webkit-scrollbar {
  height: 8px; /* horizontal scrollbar height */
}

.ft-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.ft-carousel::-webkit-scrollbar-thumb {
  background-color: #4C2882;
  border-radius: 4px;
  border: 2px solid #f1f1f1;
}

.ft-carousel::-webkit-scrollbar-thumb:hover {
  background-color: #4b218bff;
}

/* Firefox */
.ft-carousel {
  scrollbar-width: thin;
  scrollbar-color: #4C2882 #f1f1f1;
}
