body {
  background-color: #ffffff;
  color: #2e3755;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header.py-2.borde-inferior {
  background-color: #a3b8fd;
  color: #2e5530;
  border-bottom: 2px solid #6d8fff;
}

footer {
  background-color: #6d8fff;
  color: white;
  text-align: center;
}

.logo-link, .enlace-logo {
  text-decoration: none;
  color: inherit;
}

.logo-link:hover, .enlace-logo:hover {
  color: inherit;
}

.borde-inferior {
  border-bottom: 2px solid #6d8fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #2e3755;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover, .nav-link:focus {
  background: #6d8fff;
  color: #fff;
  text-decoration: none;
}

.nav-link.active {
  background: #2e3755;
  color: #fff !important;
}

.dropdown-menu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(109,143,255,0.10);
  border: none;
  min-width: 180px;
  margin-top: 8px;
}

.dropdown-item {
  color: #2e3755;
  font-size: 1.05rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: #e3eaff;
  color: #1a237e;
}

.dropdown-item.active {
  background: #6d8fff;
  color: #fff !important;
}

.dropdown-toggle::after {
  margin-left: 8px;
}

.pequeno {
  font-size: 0.95rem;
}

.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.enlace-logo img {
  border-radius: 8px;
}

.titulo-voley {
  color: #2e3755;
  font-weight: 700;
}

.reglamento-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(109,143,255,0.08);
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  margin-bottom: 2rem;
  border-left: 5px solid #6d8fff;
}

.reglamento-title {
  color: #6d8fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.reglamento-item h4 {
  font-size: 1.1rem;
  color: #2e3755;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.category-table, .time-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.category-table th, .category-table td,
.time-table th, .time-table td {
  border: 1px solid #a3b8fd;
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.category-table th, .time-table th {
  background: #a3b8fd;
  color: #2e3755;
  font-weight: 600;
}

.important-note {
  background: #e3eaff;
  border-left: 5px solid #6d8fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.important-note h4 {
  color: #856404;
  margin-bottom: 15px;
}

.btn-primary {
  background-color: #6d8fff;
  border-color: #6d8fff;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #5a7ce8;
  border-color: #5a7ce8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(109, 143, 255, 0.3);
  text-decoration: none;
  color: white;
}

.texto-blanco {
  color: white;
}

.texto-centrado {
  text-align: center;
}

.boton, .boton-primario {
  background: #6d8fff;
  color: #fff !important;
  border: none;
  border-radius: 30px;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 32px;
  box-shadow: 0 4px 16px rgba(109,143,255,0.15);
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
  text-align: center;
  margin-top: 10px;
  text-decoration: none;
}

.boton:hover, .boton-primario:hover, .boton:focus, .boton-primario:focus {
  background: #2e3755;
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  text-decoration: none !important;
}