/**
 * Add any custom CSS here.
 *
 * This file will be loaded after all other theme stylesheets.
 */

.elementor-widget-image a img[src$=".svg"]{
	width:auto;
}

/* === ELIMINAR EL BORDE EXTERIOR QUE AGRUPA TODO === */
#customer_details .col-1, .woocommerce-additional-fields, .e-checkout__order_review, .woocommerce-checkout-payment {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

/* === ESTILOS GENERALES PARA TODOS LOS ENCABEZADOS DE SECCIÓN === */
#head_rgpd_field,
#datos_socio_field,
#head_datos_membresia_field,
#head_experiencia_profesional_field,
#header_compromisos_field,
#head_proteccion_datos_field,
#header_perfil_field{
  background-color: #f0f4f8;       /* fondo gris azulado suave */
  border-left: 5px solid #1a9e7a;  /* línea izquierda en el verde corporativo */
  border-radius: 6px;
  padding: 12px 18px !important;
  margin-top: 32px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
}

/* Quitar margen extra al H2 dentro de cada sección */
#head_rgpd_field h2,
#datos_socio_field h2,
#head_datos_membresia_field h2,
#head_experiencia_profesional_field h2,
#header_compromisos_field h2,
#head_proteccion_datos_field h2,
#header_perfil_field h2{
  margin-bottom: 0 !important;
  font-size: 22px !important;
  color: #1c1c1c;
}

/* === "Tu solicitud" (columna derecha) === */
#order_review_heading {
  background-color: #f0f4f8;
  border-left: 5px solid #1a9e7a;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 20px;
}

/* AÑADIR solo esta propiedad al bloque de encabezados que viene DESPUÉS de campos con float */
#head_datos_membresia_field,
#head_experiencia_profesional_field,
#header_compromisos_field,
#head_proteccion_datos_field {
  clear: both;
}

/* Bloque de navegación al final de cada paso */
.w-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}
.w-nav-label {
  font-size: 12px;
  color: #6b6b6b;
  text-align: center;
}

/* Contenedor de scroll */
.grc-scroll-container {
  border: 1px solid #D3D1C7;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.grc-scroll-content {
  height: 300px;
  overflow-y: scroll;
  padding: 24px;
  background: #FFFFFF;
  font-size: 14px;
  line-height: 1.7;
  color: #5F5E5A;
  scroll-behavior: smooth;
}

.grc-scroll-content h3 {
  font-size: 15px;
  font-weight: 500;
  color: #1B3A35;
  margin-top: 20px;
  margin-bottom: 8px;
}

.grc-scroll-content p {
  margin-bottom: 12px;
}

/* Indicador de scroll */
.grc-scroll-indicator {
  background: #F1EFE8;
  border-top: 1px solid #D3D1C7;
  padding: 10px 24px;
  text-align: center;
  font-size: 13px;
  color: #888780;
  transition: all 0.3s ease;
}

.grc-scroll-indicator.completado {
  background: #E1F5EE;
  color: #0F6E56;
  border-top-color: #9FE1CB;
}

/* Checkboxes bloqueados */
.grc-checkbox-bloqueado {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.grc-checkbox-desbloqueado {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* Botón "Continuar con la solicitud" */
#gform_submit_button_4,
#gform_4 .gform_button {
    background-color: #1D9E75 !important;
    border-color: #1D9E75 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    transition: background-color 0.2s ease !important;
}

#gform_submit_button_4:hover,
#gform_4 .gform_button:hover {
    background-color: #1B3A35 !important;
    border-color: #1B3A35 !important;
}

#area_especializacion_field .woocommerce-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#area_especializacion_field label {
    display: block !important;
    margin-right: 0 !important;
}

/* Wizard: ocultar todos los pasos por defecto */
.paso-wizard {
  display: none !important;
}

/* Wizard: mostrar solo el paso activo */
.paso-wizard.activo {
  display: flex !important;
}

/* Botón siguiente deshabilitado — paso estatutos */
.w-btn-siguiente:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Navegación del wizard */
/* Navegación del wizard */
.w-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  gap: 0 12px;
  box-sizing: border-box;
}

.w-btn-atras {
  display: inline-block;
  grid-column: 1;
  justify-self: start;
}

.w-nav-label {
  text-align: center;
  white-space: nowrap;
  grid-column: 2;
}

.w-btn-siguiente {
  display: inline-block;
  grid-column: 3;
  justify-self: end;
}

/* Ancho 100% en los widgets HTML que contienen la navegación */
.elementor-widget-html:has(.w-nav) {
  width: 100% !important;
}