/* ==========================================================================
   FORMULARIO ADMISIONES SCOUT - STEP BY STEP
   ========================================================================== */

.scout-form-wrapper {
  max-width: 780px;
  margin: 3rem auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(15, 76, 129, 0.1);
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
}

/* Barra de Progreso y Pasos */
.scout-progress-container {
  position: relative;
  margin-bottom: 2.5rem;
}

.scout-progress-bar {
  height: 6px;
  background: linear-gradient(90deg, #0f4c81, #2e7d32);
  border-radius: 9999px;
  transition: width 0.4s ease;
  margin-bottom: 1.5rem;
}

.scout-steps-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.step-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.step-dot.active {
  background: #0f4c81;
  color: #ffffff;
  border-color: #0f4c81;
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.3);
}

.step-dot.completed {
  background: #2e7d32;
  color: #ffffff;
  border-color: #2e7d32;
}

/* Pasos */
.scout-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.scout-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-header {
  margin-bottom: 2rem;
  text-align: left;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.step-header h3 {
  font-size: 1.6rem;
  color: #0f4c81;
  margin-bottom: 0.4rem;
}

.step-desc {
  color: #64748b;
  font-size: 0.95rem;
}

/* Tarjeta de PDF */
.scout-pdf-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #0f4c81;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.pdf-icon {
  font-size: 2.5rem;
}

.pdf-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #0f4c81;
}

.pdf-info p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.scout-btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f4c81;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.scout-btn-pdf:hover {
  background: #2e7d32;
  transform: translateY(-2px);
}

/* Campos de Formulario */
.scout-form-group {
  margin-bottom: 1.5rem;
}

.scout-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.scout-input, .scout-select, .scout-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.scout-input:focus, .scout-select:focus, .scout-textarea:focus {
  outline: none;
  border-color: #0f4c81;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

.scout-input.error, .scout-select.error, .scout-textarea.error {
  border-color: #e53e3e;
  background-color: #fff5f5;
}

.scout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.scout-radio-group, .scout-checkbox-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.scout-radio-group label, .scout-checkbox-group label, .scout-field-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #334155;
}

.scout-rgpd-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.scout-rgpd-box h4 {
  font-size: 0.95rem;
  color: #0f4c81;
  margin-bottom: 0.8rem;
}

.scout-rgpd-table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
}

.scout-rgpd-table th {
  text-align: left;
  width: 30%;
  padding: 6px 10px;
  color: #475569;
}

.scout-rgpd-table td {
  padding: 6px 10px;
  color: #64748b;
}

.scout-legal-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

/* Botones de Navegación */
.scout-step-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.btn-step {
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-prev {
  background: #f1f5f9;
  color: #475569;
}

.btn-prev:hover {
  background: #e2e8f0;
}

.btn-next {
  background: #0f4c81;
  color: #ffffff;
  margin-left: auto;
}

.btn-next:hover {
  background: #0a3258;
  transform: translateY(-2px);
}

.btn-submit {
  background: linear-gradient(135deg, #0f4c81, #2e7d32);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
  margin-left: auto;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Mensajes de Alerta */
.scout-alert {
  padding: 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.scout-alert.success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}

.scout-alert.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

@media (max-width: 600px) {
  .scout-form-wrapper { padding: 1.5rem; }
  .scout-form-row { grid-template-columns: 1fr; }
  .step-dot { width: 32px; height: 32px; font-size: 0.8rem; }
}
