/* Общий контейнер таблицы */
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  
  /* Заголовки дней недели */
  .calendar-table thead th {
    background-color: #f7f7f7;
    font-weight: bold;
    padding: 8px;
    border: 1px solid #ddd;
    color: #444;
  }
  
  /* Стандартные ячейки дат */
  .calendar-table td {
    height: 3rem;
    vertical-align: top;
    padding: 4px;
    border: 1px solid #eee;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    transition: background-color 0.2s ease;
  }
  
  /* Пустые ячейки (до начала месяца или после окончания) */
  .text-muted {
    color: #777 !important;
    cursor: pointer;
  }
  
  /* Текущий день */
  td.today {
    font-weight: bold;
    background-color: #7fc1f89c;
  }
  
  /* Выбранный день */
  td.active {
    background-color: #2196f3;
    color: white !important;
    font-weight: bold;
  }
  
  /* День с событием */
  .event-day::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #e91e63;
    border-radius: 50%;
    position: absolute;
    bottom: 6px;
    right: 6px;
  }
  
  /* Ховер-эффект */
  .calendar-table td:hover:not(td.active):not(:empty) {
    background-color: #f0f8ff;
  }

  #games-list li {
    cursor: pointer;
  }

/* Стили для списка доступных игр */
#gameListWrapper {
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid #ddd;
  padding-top: 0.2rem;
}

.city-tag {
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  width: fit-content;
  height: 100%;
}

.city-tag.inactive {
  filter: grayscale(1) brightness(1.4);
  opacity: 0.5;
}

.city-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* Основной контейнер списка */
.game-option {
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  background: #eee;
}

.game-option:hover {
  background-color: #f8f9fa;
}

/* Эффект для закрытых игр */
.game-locked {
  background-color: #fff5f5;
}

#nameOptions li {
  cursor: pointer;
}

#nameSelectionBlock {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

  /* Стили модального окна подтверждения записи */
  
  /* Адаптивность */
  @media (max-width: 576px) {
    .calendar-table td {
      height: 3rem;
      font-size: 1rem;
    }
  
    .calendar-table thead th {
      padding: 0.1rem;
      font-size: 1rem;
    }

    .game-option {
      padding: 0.75rem;
    }
    .game-details {
      line-height: 1.4;
    }
    .gap-3 {
      gap: 0.5rem !important; /* Уменьшаем отступы на маленьких экранах */
    }
  }
  