/*--------------------------------------------------------------
# Reglamentos Section - Custom Styles
--------------------------------------------------------------*/

/* Reglamento Cards */
.reglamento-card {
  background: #fff;
  borderradius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #dc3545;
  margin-bottom: 15px;
}

.reglamento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.reglamento-card.karting {
  border-left-color: #0d6efd;
}

.reglamento-card.deportivo {
  border-left-color: #ffc107;
}

/* Icon */
.reglamento-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e3e7ed 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #dc3545;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.reglamento-card.karting .reglamento-icon {
  color: #0d6efd;
}

.reglamento-card.deportivo .reglamento-icon {
  color: #ffc107;
}

.reglamento-card:hover .reglamento-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #e3e7ed 0%, #d1d6dd 100%);
}

/* Content */
.reglamento-content {
  flex: 1;
  min-width: 0;
}

.reglamento-content h5 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.3;
}

.file-type {
  font-size: 0.75rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.file-type i {
  font-size: 1rem;
}

/* Actions */
.reglamento-actions {
  flex-shrink: 0;
}

.reglamento-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.reglamento-actions .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .reglamento-card {
    flex-direction: column;
    text-align: center;
  }
  
  .reglamento-content h5 {
    font-size: 0.9rem;
  }
  
  .reglamento-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Accordion Custom Styles for Reglamentos */
.accordion-custom .accordion-button {
  font-size: 1.1rem;
  padding: 18px 25px;
}

.accordion-custom .accordion-body {
  padding: 30px 25px;
  background: #f8f9fa;
}

/* Alert Box */
.alert-info {
  border-radius: 12px;
  border-left: 5px solid #0dcaf0;
  background: linear-gradient(135deg, rgba(13, 202, 240, 0.05) 0%, rgba(255,255,255,1) 100%);
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
