/* Custom CSS for Padel Tournament Manager */

.my-tournaments-section {
  background-color: #f8f9fa;
  padding: 2rem 0;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.my-groups-section {
  background-color: #e3f2fd;
  padding: 2rem 0;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.quick-actions {
  padding: 2rem 0;
}

.quick-actions .btn {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.quick-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.quick-actions .btn i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.user-stats .card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-stats .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.user-stats .card h2 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-border-primary {
  border-left: 4px solid #0d6efd;
}

.card-border-success {
  border-left: 4px solid #198754;
}

.card-border-info {
  border-left: 4px solid #0dcaf0;
}

.card-border-warning {
  border-left: 4px solid #ffc107;
}

.recent-activity .list-group-item {
  border-left: 4px solid #6c757d;
  transition: all 0.3s ease;
}

.recent-activity .list-group-item:hover {
  background-color: #f8f9fa;
  border-left-color: #0d6efd;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.badge {
  font-size: 0.75rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .quick-actions .btn {
    min-height: 60px;
    font-size: 0.875rem;
  }

  .quick-actions .btn i {
    font-size: 1.2rem;
  }

  .user-stats .card h2 {
    font-size: 1.5rem;
  }
}

/* Loading animation for cards */
.card {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation for multiple cards */
.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

.card:nth-child(4) {
  animation-delay: 0.4s;
}

.card:nth-child(5) {
  animation-delay: 0.5s;
}

.card:nth-child(6) {
  animation-delay: 0.6s;
}
