body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: #f5f5f5;
}

.step-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  padding-bottom: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.form-label {
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-control,
.form-select {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease !important;
}

.form-control:focus,
.form-select:focus {
  background-color: #fff;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

.form-control::placeholder {
  color: #999;
}

/* Borde rojo para campos no validados */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
  background-color: #fff;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  margin-top: 20px;
}

.btn-primary:hover:not(:disabled) {
  background-color: #0056b3;
  border: none !important;
}

.btn:disabled {
  background-color: #edffc8;
  cursor: not-allowed;
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #666;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.progress-bar-container {
  width: 100%;
  max-width: 400px;
  height: 8px;
  background-color: #f3f3f3;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 20px;
}

.progress-bar {
  height: 100%;
  background-color: #007bff;
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 4px;
}

.progress-text {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.authorization-text {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.row {
  margin-bottom: 20px;
}

.row:last-child {
  margin-bottom: 0;
}

.btn-next {
  display: block !important;
  margin: 0 auto !important;
  width: fit-content !important;
  background-color: #84d309 !important;
  color: #000 !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 5px 30px 9px 30px;
}

/* 🔥 quitar borde rojo en focus/active */
.btn-next:focus,
.btn-next:active,
.btn-next:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.par {
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}
.par0 {
  font-size: 12px;
  text-align: center;
  margin-bottom: 20px;
}
