/* GameItemComponent Styles */

/* Base game item styling */
.game-item,
.recommendation-item,
.similar-game-item {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;


  /* Similar game item specific styling */
  .similar-game-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

  /* Game info section */
  .game-info {
    flex: 1;
  }

  /* Game name styling */
  .game-name {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .game-name a {
    color: #333;
    text-decoration: none;
  }

  .game-name a:hover {
    color: #007bff;
    text-decoration: underline;
  }

  /* BGG link styling */
  .bgg-link {
    color: #ff5900;
    text-decoration: none;
    font-size: 12px;
    margin-left: 10px;
  }

  .bgg-link:hover {
    text-decoration: underline;
  }

  /* Game ID styling */
  .game-id {
    font-size: 12px;
    color: #666;
  }

  /* Game stats section */
  .game-stats {
    font-size: 14px;
    color: #666;
  }

  /* Game meta section (for game_set variant) */
  .game-meta {
    display: flex;
    gap: 15px;
    margin-top: 4px;
  }

  /* Predicted rating styling */
  .predicted-rating {
    text-align: right;
    min-width: 120px;
    color: #007bff;
    font-weight: 500;
  }

  .rating-value {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
  }

  .rating-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Rank styling */
  .rank {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
    font-weight: bold;
  }

  /* Action buttons styling */
  .remove-btn,
  .add-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
  }

  .add-btn {
    background-color: #28a745;
  }

  .remove-btn:hover {
    background-color: #c82333;
  }

  .add-btn:hover {
    background-color: #218838;
  }
}

.game-item:last-child,
.recommendation-item:last-child,
.similar-game-item:last-child {
  border-bottom: none;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .recommendation-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .predicted-rating {
    text-align: left;
    min-width: auto;
  }

  .game-name {
    font-size: 16px;
  }
}
