/* Dashboard Modern Styles - Glassmorphism */

.dashboard-navigation {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem;
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.phase-selector-wrapper, .group-selector-wrapper {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.dashboard-navigation .nav-pills .nav-link,
.group-selector-wrapper .nav-pills .nav-link {
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  color: #6c757d;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  margin-right: 0.5rem;
}

.dashboard-navigation .nav-pills .nav-link:hover,
.group-selector-wrapper .nav-pills .nav-link:hover {
  background: rgba(13, 110, 253, 0.05);
  color: #0d6efd;
}

.dashboard-navigation .nav-pills .nav-link.active,
.group-selector-wrapper .nav-pills .nav-link.active {
  background: #0d6efd;
  color: white;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  transform: translateY(-1px);
}

.group-selector-wrapper {
  margin-top: 1rem;
}

.group-selector-wrapper .nav-pills {
  background: rgba(255, 255, 255, 0.3) !important;
  padding: 0.4rem !important;
  border-radius: 1rem !important;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Match Row Enhancements */
.match-card-body {
  padding: 1.25rem;
}

.match-info-box {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 1.25rem;
  padding: 1.25rem 1rem;
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.match-team-container {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.match-score-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-team-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #212529;
  width: 100%;
  line-height: 1.2;
}

.match-card:hover .match-info-box {
  background: rgba(0, 0, 0, 0.04);
}

.match-time-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6c757d;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.match-score-pill {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-weight: 800;
  font-size: 1.25rem;
  min-width: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.match-score-pill-lg {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 800;
  font-size: 1.6rem;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .border-start-md {
    border-left: 1px solid rgba(0, 0, 0, 0.1) !important;
  }
}



.match-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.guess-status-pill {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem !important;
  border-radius: 0.5rem !important;
  letter-spacing: 0.05em;
  border: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.badge.bg-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.badge.bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #ff4d5a 100%) !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

/* Table Customization */
.modern-table thead th {
  background: rgba(0, 0, 0, 0.02);
  color: #495057;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
}

.modern-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.modern-table tbody tr:hover {
  background: rgba(13, 110, 253, 0.02);
}

.team-flag-table {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .match-score-pill {
    font-size: 1.1rem;
    padding: 0.3rem 0.75rem;
    min-width: 70px;
  }

  .match-score-pill-lg {
    font-size: 1.4rem;
    padding: 0.4rem 0.8rem;
    min-width: 90px;
  }
  
  .match-team-name {
    font-size: 0.9rem;
  }
}
