:root {
  --primary-color: #0d6efd;
  --.club-banner {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
  display: block;
}color: #6c757d;
}

body {
  background-color: #f8f9fa;
  color: #212529;
}

.form-container {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.header-section {
  position: relative;
  margin: -2rem -2rem 2rem -2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.header-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  opacity: 0.3;
}

.club-banner {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.header-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.season-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.main-title {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 0;
  font-weight: 300;
}

.form-section {
  margin-bottom: 2rem;
  padding: 2rem;
  border: none;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #667eea);
}

.form-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.form-section-title {
  margin: -2.5rem 0 1.5rem 0;
  background: linear-gradient(135deg, white, #f8f9fa);
  padding: 0.75rem 1.5rem;
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.1);
}

.form-floating > label {
  color: #6c757d;
  font-weight: 500;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.payment-card {
  border: 1px solid #dee2e6;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 2.5rem;
}

.payment-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.payment-card.selected {
  background-color: #f8f9fa;
  border-color: var(--primary-color);
}

.payment-features {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
}

.pricing-table .table th,
.pricing-table .table td {
  vertical-align: middle;
}

.payment-form {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.pricing-table .table {
  margin-bottom: 0;
}

.pricing-table .card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.price-box {
  background-color: #f8f9fa;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.price-box:hover {
  background-color: #e7f1ff;
  transform: translateY(-2px);
}

.table-primary {
  --bs-table-bg: var(--primary-color);
  --bs-table-color: #fff;
}

.table > :not(caption) > * > * {
  padding: 1rem;
}

.card-footer {
  border-top: 1px solid #dee2e6;
}

.price-card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.price-card:hover::before {
  opacity: 1;
}

.price-card .card-header {
  background: linear-gradient(135deg, var(--primary-color), #667eea);
  position: relative;
  z-index: 1;
}

.price-option {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
}

.price-option:hover {
  background-color: #f8f9fa;
}

.price-option.highlighted {
  background-color: #e7f1ff;
  border: 1px solid var(--primary-color);
}

.price-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.price-period {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.price-details {
  color: var(--secondary-color);
}

.pricing-section {
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.payment-radio {
  position: absolute;
  top: 1.5rem;
  left: 1rem;
}

.payment-label {
  cursor: pointer;
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.payment-radio:checked + .payment-label .payment-features {
  background-color: #e7f1ff;
}

.remove-jugador {
  padding: 0.25rem 0.5rem;
  margin-left: 1rem;
}

.jugador-section {
  position: relative;
  transition: all 0.3s ease;
}

.jugador-section:not(:first-child) {
  margin-top: 2rem;
}

.badge {
  background: linear-gradient(135deg, var(--primary-color), #667eea);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

/* Estilo para el input de fecha */
input[type="date"] {
  min-height: 58px;
  position: relative;
  cursor: pointer;
}

/* Hacer que el calendario sea más visible */
input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

input[type="date"] {
  position: relative;
}

input[type="date"]:before {
  content: attr(data-formatted);
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

input[type="date"]:not([data-formatted=""])::-webkit-datetime-edit {
  visibility: hidden;
}

/* Estilos mejorados para input de fecha */
input[type="date"] {
  min-height: 58px;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 1rem 0.75rem;
  border-radius: 0.375rem;
}

/* Hacer que el icono del calendario sea más visible y táctil */
input[type="date"]::-webkit-calendar-picker-indicator {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.6;
  padding: 8px;
}

/* Mejorar la visualización en móviles */
@media (max-width: 768px) {
  input[type="date"] {
    font-size: 16px; /* Prevenir zoom en iOS */
    padding-right: 40px; /* Espacio para el icono */
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Estilos para validación */
.form-floating > .form-control:focus:invalid,
.form-floating > .form-select:focus:invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-floating > .form-control:focus:valid,
.form-floating > .form-select:focus:valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.invalid-feedback {
  display: none;
  font-size: 0.875em;
  margin-top: 0.25rem;
  color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback {
  display: block;
}

/* Indicador de campo requerido */
.required-field::after {
  content: "*";
  color: #dc3545;
  margin-left: 4px;
}

/* Estilos para la sección de consentimiento */
.consent-container {
  padding: 1rem 0;
}

.consent-question {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.consent-icon {
  flex-shrink: 0;
}

.consent-options {
  margin-top: 1.5rem;
}

.consent-card {
  position: relative;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.consent-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.consent-card input[type="radio"] {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  z-index: 10;
}

.consent-label {
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.consent-option-content {
  text-align: center;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.consent-option-content i {
  font-size: 1.25rem !important;
  margin-bottom: 0.5rem;
}

.consent-option-content h6 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.consent-option-content small {
  font-size: 0.75rem;
  line-height: 1.3;
}

.consent-card input[type="radio"]:checked + .consent-label {
  color: var(--primary-color);
}

.consent-card
  input[type="radio"]:checked
  + .consent-label
  .consent-option-content
  i.text-success {
  color: #198754 !important;
  animation: checkPulse 0.3s ease-in-out;
}

.consent-card
  input[type="radio"]:checked
  + .consent-label
  .consent-option-content
  i.text-danger {
  color: #dc3545 !important;
  animation: checkPulse 0.3s ease-in-out;
}

.consent-card:has(input[type="radio"]:checked) {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
  transform: translateY(-1px);
}

.consent-note {
  margin-top: 1.5rem;
}

.consent-note .alert {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  margin-bottom: 0;
}

/* Estilos adicionales para GDPR */
.gdpr-info .alert {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 1px solid #2196f3;
  border-left: 4px solid #2196f3;
}

.consent-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  border-left: 3px solid var(--primary-color);
}

.consent-text {
  background: white;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.form-check-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.legal-note .alert {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 3px solid #6c757d;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .header-section {
    margin: -1rem -1rem 2rem -1rem;
    padding: 1.5rem;
  }

  .main-title {
    font-size: 1.5rem;
  }

  .club-banner {
    height: 80px;
  }

  .form-section {
    padding: 1.5rem;
  }

  .consent-question {
    padding: 1rem;
  }

  .consent-card {
    padding: 0.75rem;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .consent-option-content {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  .consent-option-content i {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem;
    display: block;
  }

  .consent-option-content h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    text-align: center;
    width: 100%;
  }

  .consent-option-content small {
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.3;
    width: 100%;
    display: block;
  }

  .consent-card input[type="radio"] {
    top: 0.5rem;
    right: 0.5rem;
    width: 18px;
    height: 18px;
    z-index: 20;
  }

  .consent-options .row {
    gap: 1rem;
  }

  .consent-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
  }

  .consent-section {
    padding: 0.75rem;
  }

  .consent-text {
    padding: 0.5rem;
  }

  .gdpr-info .alert {
    padding: 1rem;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-section {
  animation: fadeInUp 0.6s ease-out;
}

.form-section:nth-child(1) {
  animation-delay: 0.1s;
}
.form-section:nth-child(2) {
  animation-delay: 0.2s;
}
.form-section:nth-child(3) {
  animation-delay: 0.3s;
}
.form-section:nth-child(4) {
  animation-delay: 0.4s;
}

/* Botones mejorados */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #667eea);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
  background: linear-gradient(135deg, #0056b3, #5a6fd8);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--primary-color), #667eea);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

/* Progress indicator visual */
.form-section-title {
  margin: -2.5rem 0 1.5rem 0;
  background: linear-gradient(135deg, white, #f8f9fa);
  padding: 0.75rem 1.5rem;
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.1);
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.progress-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #e9ecef;
  z-index: 1;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 120px;
}

.progress-step i {
  font-size: 1.5rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}

.progress-step span {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.progress-step.active i {
  background: linear-gradient(135deg, var(--primary-color), #667eea);
  color: white;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  border-color: var(--primary-color);
}

.progress-step.active span {
  color: var(--primary-color);
  font-weight: 600;
}

.progress-step.completed i {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.progress-step.completed span {
  color: #28a745;
  font-weight: 600;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .header-section {
    margin: -1rem -1rem 2rem -1rem;
    padding: 1.5rem;
  }
  
  .main-title {
    font-size: 1.5rem;
  }
  
  .club-banner {
    height: 100px;
    margin-bottom: 1rem;
  }
  
  .form-section {
    padding: 1.5rem;
  }
}

/* Responsive para tablets */
@media (max-width: 992px) and (min-width: 769px) {
  .club-banner {
    height: 110px;
  }
  
  .main-title {
    font-size: 1.75rem;
  }
}

/* Responsive para pantallas muy pequeñas */
@media (max-width: 480px) {
  .header-section {
    margin: -1rem -1rem 1.5rem -1rem;
    padding: 1rem;
  }
  
  .club-banner {
    height: 80px;
    margin-bottom: 0.75rem;
    border-radius: 6px;
  }
  
  .main-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .season-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .form-container {
    margin: 1rem;
    padding: 1rem;
    border-radius: 8px;
  }
  
  .form-section {
    padding: 1rem;
  }
}

/* Responsive para móviles en orientación horizontal */
@media (max-width: 768px) and (orientation: landscape) {
  .club-banner {
    height: 60px;
  }
  
  .header-section {
    padding: 1rem;
  }
  
  .main-title {
    font-size: 1.4rem;
  }
}