/* Enhanced Fixture Cards with Rwanda-inspired Design */

/* Bootstrap Grid Enhancements */
.fixtures-row {
  margin-top: 6px;
  margin-left: -4px;
  margin-right: -4px;
}

.fixtures-row [class*="col-"] {
  padding-left: 4px;
  padding-right: 4px;
  margin-bottom: 8px;
}

/* Fixture Card Design */
.fixture-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 6px 8px;
  transition: all 0.25s ease;
  height: 100%;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Glass Morphism Effect */
.glass-effect {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.fixture-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #00a651, #fdd216, #3498db);
  border-radius: 4px 4px 0 0;
}

.fixture-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

.fixture-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  background: #1a52763d;
}

/* VS Animation */
.pulse-element {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

/* Team Layout */
.fixture-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.team {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 42%;
}

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

.team-right {
  justify-content: flex-end;
  text-align: right;
  flex-direction: row-reverse;
}

.team img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin: 0 4px;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.fixture-card:hover .team img {
  transform: scale(1.05);
}

.team span {
  font-weight: 600;
  font-size: 10px;
  color: white;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixture-divider {
  width: 16%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vs {
  background: linear-gradient(135deg, #1a5276 0%, #3498db 100%);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Match Score */
.fixture-score {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3px 0;
}

.fixture-score span {
  font-size: 14px;
  font-weight: 700;
  color: white;
  display: inline-block;
  width: 16px;
  text-align: center;
}

.score-divider {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 2px;
  width: auto !important;
}

/* Match Info */
.fixture-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 4px;
  margin-top: 3px;
  font-size: 9px;
}

.time {
  font-weight: 600;
  color: #3498db;
  font-size: 10px;
}

.stadium {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
}

.stadium i {
  margin-right: 2px;
  font-size: 8px;
}

/* Match Details Footer */
.fixture-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.fixture-details-left,
.fixture-details-right {
  display: flex;
  gap: 3px;
}

.btn-fixture-details,
.btn-view-highlights,
.btn-match-stats,
.btn-set-reminder {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 8px;
  padding: 2px 5px;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-fixture-details:hover,
.btn-view-highlights:hover,
.btn-match-stats:hover,
.btn-set-reminder:hover {
  background: rgba(52, 152, 219, 0.2);
  color: white;
}

.btn-fixture-details i,
.btn-view-highlights i,
.btn-match-stats i,
.btn-set-reminder i {
  margin-right: 2px;
  font-size: 7px;
}

/* Status Badges */
.fixture-status-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 7px;
  font-weight: 600;
  display: flex;
  align-items: center;
  z-index: 3;
}

.fixture-status-badge i {
  margin-right: 1px;
  font-size: 6px;
}

.upcoming {
  background-color: rgba(41, 128, 185, 0.9);
  color: white;
}

.live {
  color: white;
}

.completed {
  color: white;
}

/* Empty State */
.fixtures-empty-state {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.fixtures-empty-state i {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.fixtures-empty-state h3 {
  color: white;
  margin-bottom: 10px;
  font-weight: 600;
}

.fixtures-empty-state p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
  margin: 0 auto;
}

/* Media Queries */
@media (max-width: 767px) {
  .fixtures-row {
    margin-top: 3px;
    margin-left: -2px;
    margin-right: -2px;
  }

  .fixtures-row [class*="col-"] {
    padding-left: 2px;
    padding-right: 2px;
    margin-bottom: 4px;
  }

  .fixture-card {
    padding: 5px 6px;
  }

  .team img {
    width: 20px;
    height: 20px;
    margin: 0 2px;
  }

  .team span {
    font-size: 8px;
    max-width: 60px;
  }

  .vs {
    width: 16px;
    height: 16px;
    font-size: 7px;
  }

  .time {
    font-size: 8px;
  }

  .stadium {
    font-size: 7px;
  }

  .fixture-footer {
    flex-direction: row;
    gap: 2px;
  }

  .btn-fixture-details,
  .btn-view-highlights,
  .btn-match-stats,
  .btn-set-reminder {
    padding: 1px 3px;
    font-size: 7px;
  }

  .fixture-score span {
    font-size: 12px;
    width: 12px;
  }

  .score-divider {
    font-size: 8px;
  }
}
