body {
  padding-top: 1rem;
  background: #dc3545;
  min-height: 100vh;
  background-image: url('/api/generate-image?search=empty+basketball+court&width=1920&height=1080&seed=b4sk3tb4ll');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

h1.text-white {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

p.text-white {
  text-shadow: 2px 2px 4px rgba(0, 0, 255, 0.9);
}

.team-list {
  min-height: 400px;
  max-height: 500px;
  overflow-y: auto;
}

.team-item {
  padding: 12px 15px;
  margin-bottom: 8px;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  cursor: move;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.delete-player-btn {
  padding: 2px 6px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.team-item:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.team-item.dragging {
  opacity: 0.5;
  transform: rotate(5deg);
}

.team-item.drag-over {
  border-color: #0d6efd;
  border-style: dashed;
  background-color: #cfe2ff;
}

.team-name {
  font-weight: 600;
  font-size: 1.1rem;
  flex-grow: 1;
}

.team-sport {
  display: inline-block;
  padding: 4px 10px;
  background-color: #0d6efd;
  color: white;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 10px;
}

.ranked-list .team-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #764ba2;
  position: relative;
  padding-left: 50px;
}

.ranked-list .team-item .team-sport {
  background-color: rgba(255, 255, 255, 0.3);
}

.rank-number {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffd700;
}

.card {
  border: none;
  border-radius: 15px;
}

.card-header {
  border-radius: 15px 15px 0 0 !important;
  padding: 15px 20px;
}

.card-header.bg-primary {
  background-color: #fd7e14 !important;
  color: #ffffff !important;
}

.hidden {
  display: none;
}

/* Custom scrollbar */
.team-list::-webkit-scrollbar {
  width: 8px;
}

.team-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.team-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.team-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}
