* {
  -webkit-tap-highlight-color: transparent; /* Safari and Chrome */
  outline: none; /* Removes focus outline */
}

.schola-playingroom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 15px;
  background-color: #121212;
  border-radius: 12px;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.assignment-item {
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.assignment-item:hover {
  transform: translateY(-5px);
}

.assignment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  font-size: 18px;
  background-color: #2c2c2c;
  color: #ffffff;
}

.assignment-header i {
  color: #ffffff;
  margin-right: 10px;
}

.assignment-header span {
  flex-grow: 1;
  font-weight: bold;
}

.assignment-header .dropdown-arrow {
  transition: transform 0.3s ease;
  font-size: 16px;
  color: #ffffff;
}

.assignment-header[data-open="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.assignment-games {
  display: none;
  flex-direction: column;
}

.assignment-games .game-item {
  width: 100%;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.assignment-games .game-item:nth-child(odd) {
  background-color: #1e1e1e;
}

.assignment-games .game-item:nth-child(even) {
  background-color: #2c2c2c;
}

.assignment-games .game-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.assignment-games .game-item:hover {
  background-color: #383838;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
  .schola-playingroom {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .assignment-header {
    font-size: 16px;
    padding: 10px;
  }

  .assignment-games .game-item {
    font-size: 14px;
    padding: 12px;
  }
}

