/* Clean Glassmorphic Calendar Styles matching Application Identity */

.calendar-header-section {
  margin-top: 2rem !important;
  margin-bottom: 1.25rem !important;
}

.calendar-header-section h2 {
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calendar-header-section h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 32px;
  background: #0d6efd;
  border-radius: 10px;
  flex-shrink: 0;
}

.calendar-header-section p,
.calendar-header-section .text-muted {
  margin-left: calc(6px + 0.6rem);
}

.calendar-modern-container {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #212529;
  margin-bottom: 20px;
}


/* Button override for quick filters */
.btn-white {
  background-color: #ffffff;
  color: #495057;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-white:hover {
  background-color: #f8f9fa;
  color: #0d6efd;
}

.btn-white.active {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  border-color: #0d6efd !important;
}

/* Grid of Cards */
.calendar-tnt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

.tnt-day-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tnt-day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.7);
}

/* Highlight Today's Card */
.tnt-day-card.today {
  border: 2px solid #0d6efd;
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.08);
}

/* Card Header */
.tnt-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.25);
  font-weight: 800;
  font-size: 0.95rem;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: -0.01em;
}

.tnt-day-card.today .tnt-card-header {
  background: rgba(13, 110, 253, 0.04);
  color: #0d6efd;
}

/* Match Rows */
.tnt-match-row {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.tnt-match-row:last-child {
  border-bottom: none;
}

.tnt-match-row:hover {
  background-color: rgba(13, 110, 253, 0.03);
}

.tnt-match-time-link {
  font-weight: 800;
  color: #0d6efd;
  font-size: 0.9rem;
  width: 55px;
  flex-shrink: 0;
  text-align: left;
  text-decoration: none !important;
}

.tnt-match-time-link:hover {
  color: #0a58ca;
}

.tnt-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 10px;
}

.tnt-team-abbr {
  font-weight: 800;
  font-size: 0.9rem;
  color: #212529;
  width: 40px;
  text-align: center;
}

.tnt-flag {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.tnt-vs-divider {
  font-size: 0.75rem;
  color: #adb5bd;
  font-weight: 700;
  text-transform: uppercase;
}

.tnt-match-score-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 40px;
}

.tnt-match-score {
  font-size: 0.95rem;
  font-weight: 800;
  color: #212529;
  min-width: 12px;
  text-align: center;
}

/* Empty State */
.tnt-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 1.5rem;
  color: #8c92ac;
}

.tnt-no-results i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #adb5bd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .calendar-modern-container {
    margin-bottom: 15px;
  }

  .calendar-header-section {
    margin-top: 1.25rem !important;
    margin-bottom: 0.85rem !important;
  }


  .calendar-tnt-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
  }

  .tnt-match-row {
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 576px) {
  .flex-nowrap-mobile {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .flex-nowrap-mobile .btn-white {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    font-size: 0.8rem !important;
  }

  .flex-nowrap-mobile .btn-group {
    height: 34px !important;
  }

  .navigation-controls .btn-outline-secondary {
    width: 34px !important;
    height: 34px !important;
  }

  .navigation-controls span {
    font-size: 0.78rem !important;
    min-width: 75px !important;
  }
}

