* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f6f8;
    color: #20252b;
}

.gd-wrap {
    width: min(1000px, calc(100% - 32px));
    margin: 40px auto;
}

.gd-header {
    margin-bottom: 28px;
}

.gd-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
}

.gd-header p {
    margin: 0;
    color: #606770;
}

.gd-card {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.gd-card h2 {
    margin-top: 0;
}

.gd-hidden {
    display: none;
}

.gd-form-row {
    display: grid;
    gap: 10px;
}

.gd-form-row input,
.gd-form-row select,
.gd-form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cdd2d8;
    border-radius: 8px;
    font-size: 16px;
}

.gd-btn {
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 15px;
    cursor: pointer;
}

.gd-btn-primary {
    background: #20252b;
    color: #fff;
}

.gd-btn-secondary {
    background: #e9edf1;
    color: #20252b;
}

.gd-persona-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 14px;
}

.gd-dato {
    padding: 14px;
    background: #f7f8fa;
    border-radius: 8px;
}

.gd-dato-label {
    display: block;
    font-size: 12px;
    color: #747b84;
    margin-bottom: 4px;
}

.gd-opcion {
    border: 1px solid #d9dde2;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}

.gd-campo {
    margin-bottom: 20px;
}

.gd-campo label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.gd-ayuda {
    font-size: 13px;
    color: #6c737c;
    margin-bottom: 8px;
}

.gd-checkbox-list {
    display: grid;
    gap: 8px;
}

.gd-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gd-error {
    margin-top: 14px;
    padding: 12px;
    background: #fff1f1;
    border-radius: 8px;
}

.gd-ok {
    margin-top: 14px;
    padding: 12px;
    background: #eef8f0;
    border-radius: 8px;
}


/* ============================================================
   GESTIÓN DEPORTIVA · GRUPOS Y HORARIOS
============================================================ */

.gd-grupo-card {
    padding: 22px;
}

.gd-grupo-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.gd-grupo-titulo {
    margin: 0 0 6px;
    font-size: 20px;
}

.gd-grupo-descripcion {
    margin: 0;
    color: #68717c;
    line-height: 1.45;
}

.gd-grupo-horarios {
    padding: 16px;
    background: #f7f8fa;
    border-radius: 10px;
}

.gd-grupo-seccion-titulo {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6d7580;
}

.gd-grupo-horario {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(120px, auto);
    gap: 16px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #e1e5e9;
}

.gd-grupo-horario:last-child {
    border-bottom: 0;
}

.gd-grupo-dia {
    font-weight: 600;
}

.gd-grupo-horas {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gd-grupo-horas-separador {
    margin: 0 5px;
    color: #808892;
}

.gd-grupo-instalacion {
    grid-column: 1 / -1;
    font-size: 13px;
    color: #737b85;
}

.gd-grupo-horario-pendiente {
    color: #777f89;
    font-style: italic;
}

.gd-grupo-pie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}

.gd-grupo-plazas {
    font-weight: 600;
}

.gd-grupo-plazas-disponibles {
    color: #2d6b42;
}

.gd-grupo-plazas-completo {
    color: #9d3737;
}

.gd-grupo-boton {
    flex: 0 0 auto;
}


@media (max-width: 640px) {

    .gd-grupo-horario {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .gd-grupo-pie {
        align-items: stretch;
        flex-direction: column;
    }

    .gd-grupo-boton {
        width: 100%;
    }
}



/* ============================================================
   GESTIÓN DEPORTIVA · FOTOGRAFÍA / AVATAR
============================================================ */

.gd-persona-ficha {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    align-items: start;
}

.gd-persona-foto-col {
    text-align: center;
}

.gd-persona-foto {
    width: 140px;
    height: 140px;
    margin: 0 auto 12px;
    overflow: hidden;
    border-radius: 18px;
    background: #eef1f4;
    border: 1px solid #dce1e6;
}

.gd-persona-foto-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gd-persona-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #4e5965;
}

.gd-persona-foto-estado {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
}

.gd-persona-foto-ok {
    color: #2d6b42;
}

.gd-persona-foto-pendiente {
    color: #95691c;
}

.gd-persona-foto-boton {
    display: inline-block;
    cursor: pointer;
}

.gd-foto-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.gd-persona-foto-ayuda {
    margin-top: 8px;
}

.gd-persona-nombre {
    margin: 0 0 18px;
    font-size: 22px;
}

.gd-foto-confirmacion {
    padding: 14px 16px;
    background: #f7f8fa;
    border-radius: 10px;
}

.gd-foto-confirmacion .gd-ayuda {
    margin-top: 6px;
    margin-bottom: 12px;
}


@media (max-width: 700px) {

    .gd-persona-ficha {
        grid-template-columns: 1fr;
    }

    .gd-persona-foto-col {
        margin-bottom: 8px;
    }
}



/* ============================================================
   CORRECCIÓN VISIBILIDAD FOTO / AVATAR
============================================================ */

.gd-persona-avatar.gd-hidden,
.gd-persona-foto-img.gd-hidden {
    display: none;
}



/* ============================================================
   GESTIÓN DEPORTIVA · ECONOMÍA 360
============================================================ */

.gd-economia-bloque {
    margin-top: 24px;
}

.gd-economia-opciones {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.gd-economia-opcion {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 16px;

    border: 1px solid #d9dee4;
    border-radius: 12px;

    background: #ffffff;

    cursor: pointer;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

.gd-economia-opcion:hover {
    background: #fafbfc;
}

.gd-economia-opcion:has(
    input[type="radio"]:checked
) {
    border-color: #7a858f;
    box-shadow: 0 0 0 2px rgba(60,70,80,.08);
    background: #f8f9fa;
}

.gd-economia-opcion input[type="radio"] {
    margin-top: 4px;
    flex: 0 0 auto;
}

.gd-economia-opcion-contenido {
    display: flex;
    flex-direction: column;
    gap: 4px;

    min-width: 0;
}

.gd-economia-opcion-contenido strong {
    font-size: 15px;
}

.gd-economia-etiqueta {
    font-size: 12px;
    font-weight: 600;
    color: #68717b;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.gd-economia-titular {
    font-size: 14px;
}

.gd-economia-iban {
    margin-top: 2px;

    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: .02em;
}

.gd-economia-mandato {
    margin-top: 4px;

    font-size: 13px;
    color: #2d6b42;
    font-weight: 600;
}

#gd-economia-aviso {
    margin-top: 10px;
}

.gd-economia-sin-cuenta {
    padding: 14px 16px;
    margin-bottom: 12px;

    background: #f7f8fa;
    border-radius: 10px;
}

.gd-economia-sin-cuenta p {
    margin: 0;
}


@media (max-width: 640px) {

    .gd-economia-opcion {
        padding: 14px;
    }

    .gd-economia-iban {
        word-break: break-word;
    }
}



/* ============================================================
   EXPEDIENTE DE INSCRIPCIÓN
============================================================ */

.gd-expediente-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.gd-expediente-cabecera h2 {
    margin-bottom: 6px;
}

.gd-expediente-cabecera p {
    margin: 0;
    color: #68717c;
}

.gd-expediente-contador {
    flex: 0 0 auto;
    padding: 7px 11px;
    background: #eef1f4;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.gd-expediente-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid #d9dde2;
    border-radius: 10px;
}

.gd-expediente-item:last-child {
    margin-bottom: 0;
}

.gd-expediente-item-contenido {
    min-width: 0;
}

.gd-expediente-actividad {
    margin: 0 0 6px;
    font-size: 18px;
}

.gd-expediente-grupo {
    margin: 0;
    color: #68717c;
}

.gd-expediente-tipo {
    display: inline-block;
    margin-top: 9px;
    padding: 5px 8px;
    background: #f1f3f5;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.gd-expediente-eliminar {
    flex: 0 0 auto;
}

.gd-expediente-acciones {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

@media (max-width: 640px) {

    .gd-expediente-cabecera,
    .gd-expediente-item,
    .gd-expediente-acciones {
        flex-direction: column;
        align-items: stretch;
    }

    .gd-expediente-contador {
        align-self: flex-start;
    }
}


/* ============================================================
   GESTIÓN DEPORTIVA · FORMULARIO DINÁMICO PÚBLICO
   ============================================================ */

#formulario-dinamico {
    margin-top: 22px;
}

#formulario-dinamico .gd-expediente-form-actividad {
    padding: 22px;
    margin-bottom: 24px;
    background: #f8f9fb;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
}

#formulario-dinamico .gd-expediente-form-actividad > h3 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.3;
    color: #20252b;
}

#formulario-dinamico .gd-campo {
    padding: 18px;
    margin-bottom: 16px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
}

#formulario-dinamico .gd-campo > label:not(.gd-checkbox-item) {
    display: block;
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #252b32;
}

#formulario-dinamico .gd-campo input[type="text"],
#formulario-dinamico .gd-campo input[type="email"],
#formulario-dinamico .gd-campo input[type="tel"],
#formulario-dinamico .gd-campo input[type="number"],
#formulario-dinamico .gd-campo input[type="date"],
#formulario-dinamico .gd-campo input[type="time"],
#formulario-dinamico .gd-campo select,
#formulario-dinamico .gd-campo textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    margin: 0;
    border: 1px solid #c9d0d8;
    border-radius: 8px;
    background: #ffffff;
    color: #20252b;
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background-color .15s ease;
}

#formulario-dinamico .gd-campo textarea {
    min-height: 110px;
    resize: vertical;
}

#formulario-dinamico .gd-campo input:focus,
#formulario-dinamico .gd-campo select:focus,
#formulario-dinamico .gd-campo textarea:focus {
    border-color: #596675;
    box-shadow: 0 0 0 3px rgba(89, 102, 117, .14);
}

#formulario-dinamico .gd-campo input:disabled,
#formulario-dinamico .gd-campo select:disabled,
#formulario-dinamico .gd-campo textarea:disabled {
    background: #f0f2f4;
    color: #777f88;
    cursor: not-allowed;
}

#formulario-dinamico .gd-ayuda {
    margin: 0 0 10px;
    color: #6c737c;
    font-size: 13px;
    line-height: 1.45;
}

#formulario-dinamico .gd-checkbox-list {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(150px, 1fr)
    );
    gap: 10px;
    margin-top: 12px;
}

#formulario-dinamico .gd-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 11px 12px;
    margin: 0;
    border: 1px solid #dce1e6;
    border-radius: 8px;
    background: #ffffff;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
}

#formulario-dinamico .gd-checkbox-item:hover {
    border-color: #b9c1ca;
    background: #f8f9fa;
}

#formulario-dinamico .gd-checkbox-item input[type="checkbox"],
#formulario-dinamico .gd-checkbox-item input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    cursor: pointer;
}

#formulario-dinamico hr {
    height: 1px;
    margin: 28px 0;
    border: 0;
    background: #e1e5e9;
}

#formulario-dinamico #btn-enviar-solicitud {
    min-width: 190px;
    margin-top: 8px;
}

@media (max-width: 640px) {

    #formulario-dinamico .gd-expediente-form-actividad {
        padding: 16px;
    }

    #formulario-dinamico .gd-campo {
        padding: 15px;
    }

    #formulario-dinamico .gd-checkbox-list {
        grid-template-columns: 1fr;
    }

    #formulario-dinamico #btn-enviar-solicitud {
        width: 100%;
    }
}


/* ============================================================
   GESTIÓN DEPORTIVA · CAMPOS RADIO
   ============================================================ */

#formulario-dinamico .gd-radio-list {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(210px, 1fr)
    );
    gap: 10px;
    margin-top: 12px;
}

#formulario-dinamico .gd-radio-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 46px;
    padding: 12px 13px;
    margin: 0;
    border: 1px solid #dce1e6;
    border-radius: 8px;
    background: #ffffff;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    transition:
        border-color .15s ease,
        background-color .15s ease,
        box-shadow .15s ease;
}

#formulario-dinamico .gd-radio-item:hover {
    border-color: #b9c1ca;
    background: #f8f9fa;
}

#formulario-dinamico .gd-radio-item:has(
    input[type="radio"]:checked
) {
    border-color: #596675;
    background: #f2f5f7;
    box-shadow: 0 0 0 2px rgba(89, 102, 117, .10);
}

#formulario-dinamico .gd-radio-item input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    cursor: pointer;
}

@media (max-width: 640px) {

    #formulario-dinamico .gd-radio-list {
        grid-template-columns: 1fr;
    }
}

.gd-core-placeholder{

margin:22px 0;

padding:18px;

border:1px dashed #c8d1dc;

border-radius:10px;

background:#fafbfc;

}

.gd-core-placeholder h3{

margin:0 0 8px;

font-size:16px;

}

.gd-core-placeholder p{

margin:0;

color:#666;

font-size:14px;

}



/* ============================================================
   EXPEDIENTE — IDENTIDAD DEL PARTICIPANTE
============================================================ */

#formulario-dinamico .gd-expediente-participante {
    display: flex;
    align-items: center;
    gap: 22px;

    margin: 0 0 26px;
    padding: 20px 22px;

    border: 1px solid #e3e7eb;
    border-radius: 14px;

    background: #fff;
}


#formulario-dinamico .gd-expediente-participante-media {
    flex: 0 0 auto;
}


#formulario-dinamico .gd-expediente-participante-foto,
#formulario-dinamico .gd-expediente-participante-avatar {
    width: 88px;
    height: 88px;

    border-radius: 50%;
}


#formulario-dinamico .gd-expediente-participante-foto {
    display: block;

    object-fit: cover;

    border: 1px solid #d9dee3;
}


#formulario-dinamico .gd-expediente-participante-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef1f4;

    font-size: 24px;
    font-weight: 700;
}


#formulario-dinamico .gd-expediente-participante-info {
    min-width: 0;
}


#formulario-dinamico .gd-expediente-participante-etiqueta {
    margin-bottom: 4px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .06em;

    opacity: .65;
}


#formulario-dinamico .gd-expediente-participante-nombre {
    margin: 0 0 6px;

    font-size: 24px;
    line-height: 1.2;
}


#formulario-dinamico .gd-expediente-participante-meta {
    font-size: 14px;
    line-height: 1.5;

    opacity: .75;
}


@media (max-width: 640px) {

    #formulario-dinamico .gd-expediente-participante {
        align-items: flex-start;

        gap: 16px;

        padding: 18px;
    }


    #formulario-dinamico .gd-expediente-participante-foto,
    #formulario-dinamico .gd-expediente-participante-avatar {
        width: 70px;
        height: 70px;
    }


    #formulario-dinamico .gd-expediente-participante-nombre {
        font-size: 20px;
    }
}



/* ============================================================
   GD PUBLICA · CORE FORM RENDERER
   Adaptación visual del wizard compartido.

   IMPORTANTE:
   No modifica el renderer CORE.
   Sólo evita interferencias del CSS histórico de la pública.
   ============================================================ */


/*
 * Navegación del wizard.
 */
.gd-core-form-host .core-form-wizard-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-top: 28px !important;
}


.gd-core-form-host .core-form-wizard-actions-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-left: auto !important;
}


/*
 * BOTÓN SIGUIENTE
 *
 * La pública tenía estilos genéricos que estaban dejando
 * este botón prácticamente invisible.
 */
.gd-core-form-host .core-form-wizard-next {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 130px !important;
    min-height: 44px !important;

    padding: 11px 20px !important;

    border: 0 !important;
    border-radius: 9px !important;

    background: #1d4ed8 !important;
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer !important;
}


/*
 * hidden debe seguir teniendo prioridad funcional.
 * En el último paso CoreFormRenderer oculta Siguiente.
 */
.gd-core-form-host .core-form-wizard-next[hidden] {
    display: none !important;
}


.gd-core-form-host .core-form-wizard-next:hover {
    background: #1e40af !important;
}


/*
 * ANTERIOR
 */
.gd-core-form-host .core-form-wizard-prev {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 44px !important;

    padding: 11px 16px !important;

    border: 1px solid #d7dee8 !important;
    border-radius: 9px !important;

    background: #ffffff !important;
    color: #334155 !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    opacity: 1 !important;
}


.gd-core-form-host .core-form-wizard-prev:disabled {
    opacity: .4 !important;
    cursor: default !important;
}


/*
 * PASO ACTIVO
 *
 * En la captura pública tampoco se estaba destacando
 * correctamente el paso actual como ocurre en Asistida.
 */
.gd-core-form-host
.core-form-wizard-point.is-active > span {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}


/*
 * El texto "Inscripción asistida..." pertenece al canal
 * administrativo y no debe aparecer en la pública.
 */
.gd-core-form-host .core-form-preview-note {
    display: none !important;
}


/* ============================================================
   GD · ECONOMIA PUBLICA CANONICA
   ============================================================

   El resumen económico persistente/flotante es la presentación
   pública oficial de la cuota durante todo el wizard.

   El componente economia_resumen permanece montado porque
   participa en el ciclo de cálculo de CORE, pero su tarjeta
   interna se oculta para no duplicar la información.

   Esta política es transversal a todas las actividades.
   ============================================================ */


/*
 * Resumen flotante: VISIBLE.
 */

.gd-core-form-host
.core-form-economic-float,
.gd-expediente-form-actividad
.core-form-economic-float {
    /*
     * GD 2026/27:
     * no se muestran precios de actividad durante la inscripción.
     *
     * IMPORTANTE:
     * solo ocultación visual.
     * El motor económico permanece operativo.
     * Vehículo/complementos mantienen su precio visible.
     */
    display: none !important;
}


/*
 * Economía interna del paso Cuota:
 * montada funcionalmente, oculta visualmente.
 */

.gd-core-form-host
[data-core-component="economia_resumen"],
.gd-expediente-form-actividad
[data-core-component="economia_resumen"] {
    display: none !important;
}


/* ============================================================
   GD · RENOVACION CORE
   ============================================================

   Presentación común del antecedente y la propuesta de
   renovación para cualquier escuela.
   ============================================================ */

.gd-core-form-host
.core-form-renewal-summary,
.gd-expediente-form-actividad
.core-form-renewal-summary {
    margin: 0 0 24px;

    padding: 22px 24px;

    border: 1px solid #dbe3ef;
    border-radius: 14px;

    background: #f8fafc;
}


.gd-core-form-host
.core-form-renewal-summary__title,
.gd-expediente-form-actividad
.core-form-renewal-summary__title {
    margin-bottom: 18px;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;

    color: #111827;
}


.gd-core-form-host
.core-form-renewal-summary__grid,
.gd-expediente-form-actividad
.core-form-renewal-summary__grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;
}


.gd-core-form-host
.core-form-renewal-summary__grid > div,
.gd-expediente-form-actividad
.core-form-renewal-summary__grid > div {
    min-width: 0;

    padding: 16px 18px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background: #ffffff;
}


.gd-core-form-host
.core-form-renewal-summary__label,
.gd-expediente-form-actividad
.core-form-renewal-summary__label {
    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .04em;

    color: #64748b;
}


.gd-core-form-host
.core-form-renewal-summary__value,
.gd-expediente-form-actividad
.core-form-renewal-summary__value {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;

    color: #111827;
}


.gd-core-form-host
.core-form-renewal-summary__note,
.gd-expediente-form-actividad
.core-form-renewal-summary__note {
    margin-top: 16px;

    padding-top: 15px;

    border-top: 1px solid #e2e8f0;

    font-size: 14px;
    line-height: 1.5;

    color: #475569;
}


@media (max-width: 760px) {

    .gd-core-form-host
    .core-form-renewal-summary__grid,
    .gd-expediente-form-actividad
    .core-form-renewal-summary__grid {
        grid-template-columns: 1fr;
    }
}



/* ============================================================
   GESTIÓN DEPORTIVA · ALTA PARTICIPANTE EXTERNO
   ============================================================ */

#bloque-acceso-externo .gd-form-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 18px 22px;
    margin: 24px 0;
}


#bloque-acceso-externo .gd-form-grid > label {
    display: flex;
    flex-direction: column;
    gap: 7px;

    font-size: 14px;
    font-weight: 600;
}


#bloque-acceso-externo .gd-form-grid input {
    width: 100%;
    min-width: 0;

    padding: 11px 12px;

    border: 1px solid #cbd5e1;
    border-radius: 7px;

    background: #ffffff;

    font: inherit;
    font-weight: 400;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}


#bloque-acceso-externo .gd-form-grid input:focus {
    outline: none;

    border-color: #64748b;

    box-shadow:
        0 0 0 3px
        rgba(100, 116, 139, .12);
}


#bloque-acceso-externo #mensaje-alta-externo {
    margin-bottom: 14px;
}


@media (max-width: 700px) {

    #bloque-acceso-externo .gd-form-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   GD PUBLICO · UX/UI PORTADA 2026/27
============================================================ */

:root {
    --gd-navy: #172333;
    --gd-blue: #315b82;
    --gd-blue-soft: #edf4fa;
    --gd-green: #4c755d;
    --gd-green-soft: #edf5f0;
    --gd-sand: #8b6c43;
    --gd-sand-soft: #f7f2e9;
    --gd-text: #18212b;
    --gd-muted: #697582;
    --gd-line: #e3e8ed;
    --gd-surface: #ffffff;
}

body {
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(49, 91, 130, .08),
            transparent 32rem
        ),
        #f5f7f9;
}

.gd-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 32px auto 60px;
}

.gd-public-header {
    margin-bottom: 20px;
}

.gd-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.gd-brand-logo {
    display: block;
    width: auto;
    height: 72px;
    object-fit: contain;
}

.gd-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 18px;
    border-left: 1px solid #d9e0e6;
}

.gd-brand-section {
    font-size: 17px;
    font-weight: 700;
    color: var(--gd-text);
}

.gd-brand-season {
    font-size: 13px;
    color: var(--gd-muted);
}

#bloque-inicio.gd-entry {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border: 1px solid rgba(23, 35, 51, .08);
    border-radius: 24px;
    box-shadow:
        0 24px 70px rgba(26, 39, 54, .07),
        0 2px 8px rgba(26, 39, 54, .03);
}

#bloque-inicio.gd-entry::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -190px;
    top: -240px;
    border-radius: 50%;
    background: rgba(49, 91, 130, .055);
    pointer-events: none;
}

.gd-entry-hero {
    position: relative;
    max-width: 720px;
    margin-bottom: 38px;
}

.gd-entry-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 11px;
    border: 1px solid #dce5ed;
    border-radius: 999px;
    background: #f5f9fc;
    color: #3d5f7e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.gd-entry-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5a8068;
    box-shadow: 0 0 0 4px rgba(90, 128, 104, .12);
}

.gd-entry-hero h1 {
    margin: 0;
    max-width: 650px;
    color: var(--gd-text);
    font-size: clamp(38px, 5vw, 60px);
    line-height: .99;
    letter-spacing: -.045em;
}

.gd-entry-lead {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--gd-muted);
    font-size: 18px;
    line-height: 1.6;
}

.gd-access-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gd-access-card {
    appearance: none;
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 310px;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--gd-line);
    border-radius: 20px;
    background: var(--gd-surface);
    color: var(--gd-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.gd-access-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    opacity: .65;
}

.gd-access-card-socio::after {
    background: var(--gd-blue-soft);
}

.gd-access-card-abonado::after {
    background: var(--gd-green-soft);
}

.gd-access-card-externo::after {
    background: var(--gd-sand-soft);
}

.gd-access-card:hover {
    transform: translateY(-5px);
    border-color: #c9d3dc;
    box-shadow: 0 18px 38px rgba(30, 44, 58, .10);
}

.gd-access-card:focus-visible {
    outline: 3px solid rgba(49, 91, 130, .22);
    outline-offset: 4px;
}

.gd-access-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 17px;
}

.gd-access-card-socio .gd-access-icon {
    background: var(--gd-blue-soft);
    color: var(--gd-blue);
}

.gd-access-card-abonado .gd-access-icon {
    background: var(--gd-green-soft);
    color: var(--gd-green);
}

.gd-access-card-externo .gd-access-icon {
    background: var(--gd-sand-soft);
    color: var(--gd-sand);
}

.gd-access-icon svg {
    width: 29px;
    height: 29px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gd-access-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gd-access-eyebrow {
    margin-bottom: 7px;
    color: var(--gd-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.gd-access-content strong {
    margin-bottom: 10px;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.gd-access-description {
    color: var(--gd-muted);
    font-size: 14px;
    line-height: 1.55;
}

.gd-access-action {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 26px;
    font-size: 14px;
    font-weight: 700;
}

.gd-access-action span {
    display: inline-block;
    font-size: 19px;
    transition: transform .18s ease;
}

.gd-access-card:hover .gd-access-action span {
    transform: translateX(5px);
}

.gd-entry-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #edf0f2;
    color: #75808a;
    font-size: 12px;
}

@media (max-width: 850px) {

    #bloque-inicio.gd-entry {
        padding: 36px;
    }

    .gd-access-grid {
        grid-template-columns: 1fr;
    }

    .gd-access-card {
        min-height: 0;
    }
}

@media (max-width: 600px) {

    .gd-wrap {
        width: min(100% - 24px, 1180px);
        margin-top: 18px;
    }

    .gd-brand-logo {
        height: 54px;
    }

    .gd-brand-copy {
        gap: 2px;
        padding-left: 12px;
    }

    #bloque-inicio.gd-entry {
        padding: 26px 20px;
        border-radius: 19px;
    }

    .gd-entry-hero h1 {
        font-size: 38px;
    }

    .gd-entry-lead {
        font-size: 16px;
    }

    .gd-access-card {
        padding: 22px;
        border-radius: 16px;
    }
}


/* ============================================================
   GD PUBLICO · UX/UI PORTADA · AJUSTE HERO V1.3
============================================================ */

.gd-entry-hero {
    max-width: 850px;
    margin-bottom: 32px;
}

.gd-entry-hero h1 {
    max-width: none;
    font-size: clamp(34px, 3.5vw, 46px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.gd-entry-lead {
    margin-top: 14px;
    font-size: 17px;
}

@media (max-width: 600px) {

    .gd-entry-hero h1 {
        font-size: 32px;
        line-height: 1.08;
    }

    .gd-entry-lead {
        font-size: 15px;
    }
}


/* ============================================================
   GD PUBLICO · UX/UI IDENTIFICACION V1.4
============================================================ */

#bloque-identificacion-core {
    max-width: 720px;
    margin-left: 0;
    padding: 38px 40px 42px;
    border: 1px solid rgba(23, 35, 51, .08);
    border-radius: 22px;
    box-shadow:
        0 18px 50px rgba(26, 39, 54, .06),
        0 2px 7px rgba(26, 39, 54, .025);
}


/* VOLVER */

#bloque-identificacion-core > .gd-btn-secondary:first-child {
    width: auto;
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #536170;
    font-size: 14px;
    font-weight: 650;
    box-shadow: none;
}

#bloque-identificacion-core > .gd-btn-secondary:first-child:hover {
    background: transparent;
    color: #172333;
    transform: translateX(-3px);
}


/* TITULO */

#titulo-identificacion-core {
    position: relative;
    margin: 0 0 10px;
    padding-top: 72px;
    color: #18212b;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -.03em;
}

#titulo-identificacion-core::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    background:
        #edf4fa
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b82' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")
        center / 28px 28px
        no-repeat;
}

#texto-identificacion-core {
    max-width: 560px;
    margin: 0 0 30px;
    color: #697582;
    font-size: 15px;
    line-height: 1.55;
}


/* FORMULARIO */

#bloque-identificacion-core .gd-form-row {
    margin: 0;
}

#bloque-identificacion-core label {
    display: block;
    margin-bottom: 8px;
    color: #27313c;
    font-size: 13px;
    font-weight: 700;
}

#bloque-identificacion-core input {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid #cfd8e1;
    border-radius: 11px;
    background: #fff;
    color: #18212b;
    font: inherit;
    font-size: 16px;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

#bloque-identificacion-core input:hover {
    border-color: #aebbc7;
}

#bloque-identificacion-core input:focus {
    outline: none;
    border-color: #315b82;
    box-shadow: 0 0 0 4px rgba(49, 91, 130, .11);
}


/* BOTONES PRINCIPALES */

#bloque-identificacion-core .gd-form-row > .gd-btn-primary {
    width: 100%;
    min-height: 50px;
    margin-top: 14px;
    padding: 12px 18px;
    border: 0;
    border-radius: 11px;
    background: #172333;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
    transition:
        background-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

#bloque-identificacion-core .gd-form-row > .gd-btn-primary:hover {
    background: #24364a;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(23, 35, 51, .14);
}


/* SEGUNDO PASO DE VERIFICACION */

#bloque-verificacion-core:not(.gd-hidden) {
    display: block;
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid #e7ebef;
}

#bloque-verificacion-core:not(.gd-hidden)::before {
    content: "Confirma tu identidad";
    display: block;
    margin-bottom: 16px;
    color: #18212b;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.015em;
}


/* MENSAJES */

#mensaje-identificacion-core:not(:empty) {
    margin-top: 20px;
}


/* RESPONSIVE */

@media (max-width: 760px) {

    #bloque-identificacion-core {
        max-width: none;
        padding: 30px 24px 32px;
        border-radius: 19px;
    }

    #titulo-identificacion-core {
        padding-top: 66px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {

    #bloque-identificacion-core {
        padding: 24px 18px 28px;
    }

    #bloque-identificacion-core > .gd-btn-secondary:first-child {
        margin-bottom: 22px;
    }

    #titulo-identificacion-core {
        font-size: 24px;
    }
}


/* ============================================================
   GD PUBLICO · IDENTIFICACION · CENTRADO V1.5
============================================================ */

#bloque-identificacion-core {
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   GD PUBLICO · UX/UI PARTICIPANTE V1.6
============================================================ */

#bloque-participante-core {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding: 38px 40px 42px;
    border: 1px solid rgba(23, 35, 51, .08);
    border-radius: 22px;
    box-shadow:
        0 18px 50px rgba(26, 39, 54, .06),
        0 2px 7px rgba(26, 39, 54, .025);
}

#bloque-participante-core > .gd-btn-secondary:first-child {
    width: auto;
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #536170;
    font-size: 14px;
    font-weight: 650;
}

#bloque-participante-core > .gd-btn-secondary:first-child:hover {
    background: transparent;
    color: #172333;
    transform: translateX(-3px);
}

#bloque-participante-core > h2 {
    margin: 0 0 10px;
    color: #18212b;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -.03em;
}

#bloque-participante-core > p {
    margin: 0 0 30px;
    color: #697582;
    font-size: 15px;
    line-height: 1.55;
}

#personas-gestionables-core {
    display: grid;
    gap: 14px;
}

.gd-persona-selector {
    appearance: none;
    display: grid;
    grid-template-columns: 74px 1fr auto;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #dfe5ea;
    border-radius: 16px;
    background: #fff;
    color: #18212b;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.gd-persona-selector:hover {
    transform: translateY(-2px);
    border-color: #c7d2dc;
    background: #fbfcfd;
    box-shadow: 0 10px 24px rgba(27, 39, 52, .08);
}

.gd-persona-selector:focus-visible {
    outline: 3px solid rgba(49, 91, 130, .20);
    outline-offset: 3px;
}

.gd-persona-selector-media {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #edf4fa;
    border: 1px solid #e0e8ef;
}

.gd-persona-selector-foto {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gd-persona-selector-avatar {
    color: #315b82;
    font-size: 21px;
    font-weight: 750;
    letter-spacing: .02em;
}

.gd-persona-selector-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.gd-persona-selector-relacion {
    color: #667481;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.gd-persona-selector-info strong {
    overflow: hidden;
    color: #18212b;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -.015em;
    text-overflow: ellipsis;
}

.gd-persona-selector-accion {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #f1f5f8;
    color: #25384b;
    font-size: 20px;
    transition:
        transform .18s ease,
        background-color .18s ease;
}

.gd-persona-selector:hover .gd-persona-selector-accion {
    transform: translateX(3px);
    background: #e8f0f6;
}

@media (max-width: 700px) {

    #bloque-participante-core {
        padding: 30px 24px 32px;
        border-radius: 19px;
    }

    #bloque-participante-core > h2 {
        font-size: 26px;
    }

    .gd-persona-selector {
        grid-template-columns: 62px 1fr auto;
        gap: 14px;
        padding: 14px;
    }

    .gd-persona-selector-media {
        width: 62px;
        height: 62px;
    }

    .gd-persona-selector-info strong {
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    #bloque-participante-core {
        padding: 24px 18px 28px;
    }

    .gd-persona-selector {
        grid-template-columns: 54px 1fr auto;
        gap: 12px;
    }

    .gd-persona-selector-media {
        width: 54px;
        height: 54px;
    }
}


/* ============================================================
   GD PUBLICO · UX/UI CATALOGO ACTIVIDADES V1.7
============================================================ */

#bloque-seleccion-actividad {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding: 38px 40px 44px;
    border: 1px solid rgba(23, 35, 51, .08);
    border-radius: 22px;
    box-shadow:
        0 18px 50px rgba(26, 39, 54, .055),
        0 2px 7px rgba(26, 39, 54, .025);
}

#bloque-seleccion-actividad .gd-catalogo-volver {
    width: auto;
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #536170;
    font-size: 14px;
    font-weight: 650;
}

#bloque-seleccion-actividad .gd-catalogo-volver:hover {
    background: transparent;
    color: #172333;
    transform: translateX(-3px);
}

.gd-catalogo-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 26px;
}

.gd-catalogo-kicker {
    display: block;
    margin-bottom: 7px;
    color: #54708a;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gd-catalogo-cabecera h2 {
    margin: 0 0 8px;
    color: #18212b;
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.gd-catalogo-cabecera p {
    max-width: 620px;
    margin: 0;
    color: #697582;
    font-size: 15px;
    line-height: 1.5;
}


/* PARTICIPANTE --------------------------------------------- */

.gd-catalogo-persona {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    padding: 9px 13px 9px 9px;
    border: 1px solid #e0e6eb;
    border-radius: 14px;
    background: #f8fafb;
}

.gd-catalogo-persona:empty {
    display: none;
}

.gd-catalogo-persona-media {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #eaf2f8;
    color: #315b82;
    font-size: 13px;
    font-weight: 750;
}

.gd-catalogo-persona-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gd-catalogo-persona small,
.gd-catalogo-persona strong {
    display: block;
}

.gd-catalogo-persona small {
    margin-bottom: 2px;
    color: #7a858f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gd-catalogo-persona strong {
    max-width: 220px;
    overflow: hidden;
    color: #24303c;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* BUSCADOR ------------------------------------------------- */

.gd-catalogo-buscador {
    position: relative;
    max-width: 470px;
    margin-bottom: 28px;
}

.gd-catalogo-buscador svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    stroke: #72808d;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.gd-catalogo-buscador input {
    width: 100%;
    height: 48px;
    padding: 10px 15px 10px 44px;
    border: 1px solid #d5dde4;
    border-radius: 12px;
    background: #fff;
    color: #18212b;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.gd-catalogo-buscador input:focus {
    border-color: #315b82;
    box-shadow: 0 0 0 4px rgba(49, 91, 130, .10);
}


/* GRID ----------------------------------------------------- */

#actividades-disponibles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gd-actividad-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 285px;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #e0e6eb;
    border-radius: 18px;
    background: #fff;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.gd-actividad-card:not(.gd-actividad-card-bloqueada):hover {
    transform: translateY(-3px);
    border-color: #c6d2dc;
    box-shadow: 0 13px 28px rgba(27, 39, 52, .085);
}

.gd-actividad-card-bloqueada {
    background: #fafbfc;
}


/* ICONO ---------------------------------------------------- */

.gd-actividad-icono {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #edf4fa;
    color: #315b82;
}

.gd-actividad-icono svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* CONTENIDO ------------------------------------------------ */

.gd-actividad-contenido {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
}

.gd-actividad-estado {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 11px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gd-actividad-estado-disponible {
    background: #eef5f1;
    color: #457059;
}

.gd-actividad-estado-renovacion {
    background: #edf4fa;
    color: #315b82;
}

.gd-actividad-estado-pendiente {
    background: #fff4dc;
    color: #8a611c;
}

.gd-actividad-estado-neutro {
    background: #edf0f3;
    color: #68727c;
}

.gd-actividad-estado-bloqueado {
    background: #f5eeee;
    color: #8a5555;
}

.gd-actividad-card h3 {
    margin: 0 0 9px;
    color: #18212b;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -.018em;
}

.gd-actividad-descripcion,
.gd-actividad-texto {
    margin: 0;
    color: #6b7783;
    font-size: 13px;
    line-height: 1.5;
}

.gd-actividad-descripcion + .gd-actividad-texto {
    margin-top: 7px;
}


/* RENOVACION ----------------------------------------------- */

.gd-actividad-renovacion-info {
    display: grid;
    width: 100%;
    gap: 7px;
    margin-top: 4px;
}

.gd-actividad-renovacion-info span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 9px;
    background: #f7f9fb;
    color: #7a858f;
    font-size: 10px;
    text-transform: uppercase;
}

.gd-actividad-renovacion-info strong {
    color: #263440;
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
}


/* ACCION --------------------------------------------------- */

.gd-actividad-pie {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #edf0f2;
}

.gd-actividad-accion {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #172333;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.gd-actividad-accion span {
    font-size: 18px;
    transition: transform .16s ease;
}

.gd-actividad-accion:not(:disabled):hover span {
    transform: translateX(4px);
}

.gd-actividad-accion:disabled {
    color: #9099a2;
    cursor: default;
}


/* SIN RESULTADOS ------------------------------------------- */

.gd-catalogo-sin-resultados {
    margin-top: 18px;
    padding: 20px;
    border: 1px dashed #ccd5dd;
    border-radius: 14px;
    color: #687580;
    text-align: center;
}


/* RESPONSIVE ----------------------------------------------- */

@media (max-width: 980px) {

    #actividades-disponibles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gd-catalogo-cabecera {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {

    #bloque-seleccion-actividad {
        padding: 28px 22px 32px;
        border-radius: 19px;
    }

    .gd-catalogo-cabecera h2 {
        font-size: 27px;
    }

    .gd-catalogo-persona {
        width: 100%;
    }

    .gd-catalogo-persona strong {
        max-width: none;
    }

    .gd-catalogo-buscador {
        max-width: none;
    }

    #actividades-disponibles {
        grid-template-columns: 1fr;
    }

    .gd-actividad-card {
        min-height: 0;
    }
}


/* ============================================================
   GD PUBLICO · UX/UI GRUPOS V1.8
   SIN CUPOS / SIN PLAZAS
============================================================ */

#bloque-seleccion-grupo {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding: 38px 40px 44px;
    border: 1px solid rgba(23, 35, 51, .08);
    border-radius: 22px;
    box-shadow:
        0 18px 50px rgba(26, 39, 54, .055),
        0 2px 7px rgba(26, 39, 54, .025);
}


/* VOLVER --------------------------------------------------- */

#bloque-seleccion-grupo .gd-grupos-volver {
    width: auto;
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #536170;
    font-size: 14px;
    font-weight: 650;
}

#bloque-seleccion-grupo .gd-grupos-volver:hover {
    background: transparent;
    color: #172333;
    transform: translateX(-3px);
}


/* CABECERA ------------------------------------------------- */

.gd-grupos-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 28px;
}

.gd-grupos-kicker {
    display: block;
    margin-bottom: 7px;
    color: #54708a;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gd-grupos-cabecera h2 {
    margin: 0 0 8px;
    color: #18212b;
    font-size: 31px;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.gd-grupos-cabecera p {
    max-width: 510px;
    margin: 0;
    color: #697582;
    font-size: 14px;
    line-height: 1.5;
}


/* CONTEXTO ------------------------------------------------- */

.gd-grupos-contexto {
    display: grid;
    flex: 0 0 auto;
    gap: 7px;
    min-width: 210px;
}

.gd-grupos-actividad,
.gd-grupos-persona {
    padding: 9px 12px;
    border: 1px solid #e0e6eb;
    border-radius: 11px;
    background: #f8fafb;
}

.gd-grupos-actividad small,
.gd-grupos-persona small {
    display: block;
    margin-bottom: 2px;
    color: #78848f;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gd-grupos-actividad strong,
.gd-grupos-persona strong {
    display: block;
    max-width: 260px;
    overflow: hidden;
    color: #25313c;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* LISTA ---------------------------------------------------- */

#grupos-disponibles {
    display: grid;
    gap: 16px;
}

.gd-grupo-card-ux {
    margin: 0;
    padding: 24px;
    border: 1px solid #dde5eb;
    border-radius: 17px;
    background: #fff;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.gd-grupo-card-ux:hover {
    border-color: #c7d3dc;
    box-shadow: 0 10px 26px rgba(27, 39, 52, .065);
}

.gd-grupo-card-ux .gd-grupo-cabecera {
    margin-bottom: 18px;
}

.gd-grupo-etiqueta {
    display: block;
    margin-bottom: 5px;
    color: #607486;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.gd-grupo-card-ux .gd-grupo-titulo {
    margin: 0 0 6px;
    color: #18212b;
    font-size: 21px;
    letter-spacing: -.02em;
}

.gd-grupo-card-ux .gd-grupo-descripcion {
    color: #6d7882;
    font-size: 13px;
}


/* HORARIOS ------------------------------------------------- */

.gd-grupo-card-ux .gd-grupo-horarios {
    padding: 16px 18px;
    border: 1px solid #edf0f2;
    border-radius: 12px;
    background: #f8fafb;
}

.gd-grupo-card-ux .gd-grupo-seccion-titulo {
    margin-bottom: 10px;
    color: #667786;
    font-size: 10px;
    letter-spacing: .07em;
}

.gd-grupo-card-ux .gd-grupo-horario {
    grid-template-columns:
        minmax(120px, 1fr)
        minmax(130px, auto);
    padding: 8px 0;
}

.gd-grupo-card-ux .gd-grupo-dia {
    color: #263441;
    font-size: 14px;
}

.gd-grupo-card-ux .gd-grupo-horas {
    color: #18212b;
    font-size: 14px;
    font-weight: 650;
}

.gd-grupo-card-ux .gd-grupo-instalacion {
    margin-top: -2px;
    color: #77838e;
    font-size: 12px;
}


/* HORARIO PENDIENTE --------------------------------------- */

.gd-grupo-card-ux .gd-grupo-horario-pendiente {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #7b6746;
    font-size: 13px;
    font-style: normal;
}

.gd-grupo-pendiente-icono {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: #f7f1e7;
    color: #8b6c43;
}


/* PIE ------------------------------------------------------ */

.gd-grupo-card-ux .gd-grupo-pie {
    margin-top: 18px;
}

.gd-grupo-ayuda {
    color: #7b858e;
    font-size: 12px;
}

.gd-grupo-card-ux .gd-grupo-boton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 10px;
    background: #172333;
    font-weight: 700;
}

.gd-grupo-card-ux .gd-grupo-boton span {
    font-size: 17px;
    transition: transform .16s ease;
}

.gd-grupo-card-ux .gd-grupo-boton:hover span {
    transform: translateX(4px);
}


/* EL FLUJO PUBLICO NO USA CUPOS ---------------------------- */

#bloque-seleccion-grupo .gd-grupo-plazas,
#bloque-seleccion-grupo .gd-grupo-plazas-disponibles,
#bloque-seleccion-grupo .gd-grupo-plazas-completo {
    display: none !important;
}


/* RESPONSIVE ----------------------------------------------- */

@media (max-width: 760px) {

    #bloque-seleccion-grupo {
        padding: 30px 24px 34px;
        border-radius: 19px;
    }

    .gd-grupos-cabecera {
        align-items: stretch;
        flex-direction: column;
    }

    .gd-grupos-contexto {
        width: 100%;
    }

    .gd-grupos-actividad strong,
    .gd-grupos-persona strong {
        max-width: none;
    }
}

@media (max-width: 560px) {

    #bloque-seleccion-grupo {
        padding: 25px 18px 28px;
    }

    .gd-grupos-cabecera h2 {
        font-size: 27px;
    }

    .gd-grupo-card-ux {
        padding: 19px;
    }

    .gd-grupo-card-ux .gd-grupo-horario {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .gd-grupo-card-ux .gd-grupo-pie {
        align-items: stretch;
        flex-direction: column;
    }

    .gd-grupo-card-ux .gd-grupo-boton {
        justify-content: center;
        width: 100%;
    }
}


/* ============================================================
   GD PUBLICO · UX/UI EXPEDIENTE V1.9
============================================================ */

#bloque-expediente {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding: 38px 40px 40px;
    border: 1px solid rgba(23, 35, 51, .08);
    border-radius: 22px;
    box-shadow:
        0 18px 50px rgba(26, 39, 54, .055),
        0 2px 7px rgba(26, 39, 54, .025);
}


/* CABECERA ------------------------------------------------- */

#bloque-expediente .gd-expediente-cabecera {
    align-items: flex-start;
    margin-bottom: 28px;
}

#bloque-expediente .gd-expediente-cabecera h2 {
    margin: 0 0 7px;
    color: #18212b;
    font-size: 31px;
    line-height: 1.12;
    letter-spacing: -.035em;
}

#bloque-expediente .gd-expediente-cabecera p {
    margin: 0;
    color: #697582;
    font-size: 14px;
    line-height: 1.5;
}

#bloque-expediente .gd-expediente-contador {
    padding: 7px 11px;
    border: 1px solid #e0e6eb;
    background: #f5f8fa;
    color: #455463;
    font-size: 11px;
    font-weight: 750;
}


/* ACTIVIDADES ---------------------------------------------- */

#bloque-expediente .gd-expediente-item {
    position: relative;
    align-items: center;
    margin-bottom: 14px;
    padding: 22px 22px 22px 24px;
    border: 1px solid #dfe6eb;
    border-radius: 16px;
    background: #fff;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

#bloque-expediente .gd-expediente-item:hover {
    border-color: #cbd6df;
    box-shadow: 0 8px 22px rgba(27, 39, 52, .055);
}

#bloque-expediente .gd-expediente-actividad {
    margin: 0 0 6px;
    color: #18212b;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -.018em;
}

#bloque-expediente .gd-expediente-grupo {
    margin: 0;
    color: #64727f;
    font-size: 14px;
}

#bloque-expediente .gd-expediente-tipo {
    margin-top: 11px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #edf4fa;
    color: #315b82;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .055em;
}


/* ELIMINAR ------------------------------------------------- */

#bloque-expediente .gd-expediente-eliminar {
    padding: 9px 12px;
    border: 1px solid #e5e9ed;
    background: transparent;
    color: #687582;
    font-size: 12px;
    font-weight: 650;
}

#bloque-expediente .gd-expediente-eliminar:hover {
    border-color: #e1cccc;
    background: #fff7f7;
    color: #914f4f;
}


/* ACCIONES ------------------------------------------------- */

#bloque-expediente .gd-expediente-acciones {
    align-items: center;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #edf0f2;
}

#btn-expediente-anadir {
    min-height: 46px;
    padding: 11px 15px;
    border: 1px solid #dce3e9;
    border-radius: 11px;
    background: #f5f8fa;
    color: #293846;
    font-size: 13px;
    font-weight: 700;
}

#btn-expediente-anadir:hover {
    border-color: #c9d5de;
    background: #edf3f7;
}

#btn-expediente-continuar {
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 11px;
    background: #172333;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    transition:
        transform .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

#btn-expediente-continuar:hover {
    transform: translateY(-1px);
    background: #24364a;
    box-shadow: 0 8px 18px rgba(23, 35, 51, .13);
}


/* RESPONSIVE ----------------------------------------------- */

@media (max-width: 700px) {

    #bloque-expediente {
        padding: 30px 24px 32px;
        border-radius: 19px;
    }

    #bloque-expediente .gd-expediente-cabecera {
        gap: 14px;
    }

    #bloque-expediente .gd-expediente-cabecera h2 {
        font-size: 27px;
    }

    #bloque-expediente .gd-expediente-item {
        align-items: stretch;
    }

    #bloque-expediente .gd-expediente-eliminar {
        align-self: flex-start;
    }

    #bloque-expediente .gd-expediente-acciones {
        align-items: stretch;
    }

    #btn-expediente-anadir,
    #btn-expediente-continuar {
        width: 100%;
    }
}


/* ============================================================
   GD PUBLICO · MINI EXPEDIENTE PERSISTENTE V2.0
============================================================ */

.gd-expediente-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 13px 15px;
    border: 1px solid #d9e3ea;
    border-radius: 14px;
    background: #f7fafc;
}

.gd-expediente-mini-contenido {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.gd-expediente-mini-icono {
    display: grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ee;
    color: #4d765d;
    font-size: 15px;
    font-weight: 800;
}

.gd-expediente-mini-info {
    min-width: 0;
}

.gd-expediente-mini-info small {
    display: block;
    margin-bottom: 4px;
    color: #586b7b;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.gd-expediente-mini-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    color: #1d2b38;
    font-size: 12px;
    font-weight: 650;
}

.gd-expediente-mini-lista span:not(:last-child)::after {
    content: "·";
    margin-left: 9px;
    color: #9aa5ae;
}

.gd-expediente-mini-extra {
    color: #657583;
    font-weight: 600;
}

.gd-expediente-mini-boton {
    appearance: none;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    border: 0;
    background: transparent;
    color: #172333;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.gd-expediente-mini-boton span {
    font-size: 17px;
    transition: transform .16s ease;
}

.gd-expediente-mini-boton:hover span {
    transform: translateX(4px);
}

@media (max-width: 620px) {

    .gd-expediente-mini {
        align-items: stretch;
        flex-direction: column;
    }

    .gd-expediente-mini-boton {
        justify-content: flex-start;
        padding-left: 47px;
    }
}


/* ============================================================
   GD PUBLICO · MINI EXPEDIENTE · FIX V2.0.1
============================================================ */

.gd-expediente-mini.gd-hidden {
    display: none !important;
}


/* ============================================================
   GD PUBLICO · UX/UI V2.1
   WIZARD · PASO 1 · DATOS DEL PARTICIPANTE

   IMPORTANTE:
   Todo queda encapsulado bajo .gd-core-form-host.
   No modifica el renderer CORE ni el backoffice.
============================================================ */


/* ------------------------------------------------------------
   Contenido general del formulario
------------------------------------------------------------ */

.gd-core-form-host {
    font-size: 15px;
}


/* ------------------------------------------------------------
   Cabecera de sección
------------------------------------------------------------ */

.gd-core-form-host .core-form-section-title,
.gd-core-form-host .core-form-step-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.gd-core-form-host .core-form-section-description,
.gd-core-form-host .core-form-step-description {
    font-size: 14px;
    line-height: 1.5;
}


/* ------------------------------------------------------------
   Ficha CORE de persona
------------------------------------------------------------ */

.gd-core-form-host .core-form-persona {
    border-radius: 14px;
    overflow: hidden;
}


/* Cabecera de persona */

.gd-core-form-host .core-form-persona-header {
    padding: 24px 28px;
    gap: 22px;
    align-items: center;
}


/* Avatar / fotografía */

.gd-core-form-host .core-form-persona-photo,
.gd-core-form-host .core-form-persona-avatar {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
}


/* Nombre */

.gd-core-form-host .core-form-persona-identity > strong {
    display: block;
    margin-bottom: 4px;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 750;
}


/* Código socio */

.gd-core-form-host .core-form-persona-identity > span {
    display: block;

    font-size: 13px;
    line-height: 1.4;
}


/* Fotografía */

.gd-core-form-host .core-form-photo-button {
    margin-top: 8px;

    font-size: 13px;
    font-weight: 700;
}

.gd-core-form-host .core-form-photo-status {
    display: block;
    margin-top: 4px;

    font-size: 12px;
}

.gd-core-form-host .core-form-photo-pending {
    margin-top: 8px;

    font-size: 13px;
}

.gd-core-form-host .core-form-photo-pending-help {
    display: block;
    margin-top: 5px;

    font-size: 13px;
    line-height: 1.45;
}


/* Completitud */

.gd-core-form-host .core-form-persona-completeness {
    min-width: 100px;
    text-align: right;
}

.gd-core-form-host .core-form-persona-completeness strong {
    display: block;

    font-size: 22px;
    line-height: 1.1;
}

.gd-core-form-host .core-form-persona-completeness span {
    display: block;
    margin-top: 3px;

    font-size: 12px;
}


/* ------------------------------------------------------------
   Datos personales
------------------------------------------------------------ */

.gd-core-form-host .core-form-persona-fields {
    padding: 8px 28px 20px;
    column-gap: 34px;
    row-gap: 0;
}


.gd-core-form-host .core-form-persona-field {
    min-height: 82px;
    padding: 17px 8px;
}


/* Etiqueta */

.gd-core-form-host .core-form-persona-field > span {
    display: block;
    margin-bottom: 7px;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: .025em;
}


/* Valor */

.gd-core-form-host .core-form-persona-field > strong {
    display: block;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 650;
}


/* Inputs editables */

.gd-core-form-host .core-form-persona-field input {
    min-height: 42px;
    padding: 9px 11px;

    font-size: 15px;
}


/* Origen / ayuda */

.gd-core-form-host .core-form-persona-field > small {
    display: block;
    margin-top: 7px;

    font-size: 11px;
    line-height: 1.35;
}


/* ------------------------------------------------------------
   Estado final
------------------------------------------------------------ */

.gd-core-form-host .core-form-persona-ok,
.gd-core-form-host .core-form-persona-warning {
    margin: 0 28px 22px;
    padding-top: 14px;

    font-size: 13px;
    line-height: 1.45;
}


/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */

@media (max-width: 720px) {

    .gd-core-form-host .core-form-persona-header {
        padding: 20px;
        align-items: flex-start;
    }

    .gd-core-form-host .core-form-persona-fields {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gd-core-form-host .core-form-persona-ok,
    .gd-core-form-host .core-form-persona-warning {
        margin-left: 20px;
        margin-right: 20px;
    }

    .gd-core-form-host .core-form-persona-completeness {
        min-width: auto;
    }
}


/* ============================================================
   FIN UX/UI V2.1
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.1.1
   PASO 1 · REFINAMIENTO VISUAL

   SOLO PUBLICA:
   scope obligatorio .gd-core-form-host
============================================================ */


/* TIPOGRAFIA GENERAL --------------------------------------- */

.gd-core-form-host {
    font-family:
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: #18212b;
}


/* ============================================================
   WIZARD / PROGRESO
============================================================ */

.gd-core-form-host .core-form-wizard-progress {
    padding: 20px 24px;
    border-radius: 14px;
}

.gd-core-form-host .core-form-wizard-progress-head span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .065em;
}

.gd-core-form-host .core-form-wizard-progress-head strong {
    font-size: 14px;
    font-weight: 750;
}

.gd-core-form-host .core-form-wizard-point {
    font-size: 11px;
}

.gd-core-form-host .core-form-wizard-point > span {
    font-size: 12px;
    font-weight: 800;
}

.gd-core-form-host .core-form-wizard-point > small {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 650;
}


/* ============================================================
   CABECERA PERSONA
============================================================ */

.gd-core-form-host .core-form-persona {
    border-radius: 16px;
    border-color: #dce5ec;
}

.gd-core-form-host .core-form-persona-head {
    grid-template-columns:
        82px
        minmax(0, 1fr)
        auto;

    gap: 20px;
    padding: 24px 26px;

    background: #f8fafc;
}


/* FOTO / AVATAR */

.gd-core-form-host .core-form-persona-photo {
    width: 82px;
}

.gd-core-form-host .core-form-persona-avatar {
    width: 76px;
    height: 76px;

    border: 1px solid #dbe5ed;
    background: #eaf2f8;
    color: #174f7a;

    font-size: 24px;
    font-weight: 800;
}


/* IDENTIDAD */

.gd-core-form-host .core-form-persona-identity > strong {
    margin-bottom: 5px;

    font-size: 19px;
    line-height: 1.2;
    font-weight: 780;
    letter-spacing: -.015em;
}

.gd-core-form-host .core-form-persona-identity > span {
    margin-top: 0;

    color: #657482;
    font-size: 13px;
}


/* ============================================================
   FOTOGRAFIA
============================================================ */

.gd-core-form-host .core-form-photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 10px;
}

.gd-core-form-host .core-form-photo-button,
.gd-core-form-host .core-form-photo-cancel {
    appearance: none;

    padding: 7px 10px;

    border: 1px solid #d6e0e8;
    border-radius: 8px;

    background: #fff;
    color: #243746;

    font: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.gd-core-form-host .core-form-photo-button:hover,
.gd-core-form-host .core-form-photo-cancel:hover {
    border-color: #bdccd7;
    background: #f4f8fb;
}

.gd-core-form-host .core-form-photo-status {
    margin-top: 7px;

    color: #788590;
    font-size: 11px;
}


/* ============================================================
   CHECKBOX "LA ENTREGARE POSTERIORMENTE"
============================================================ */

.gd-core-form-host .core-form-photo-pending {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 11px;

    color: #354451;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}


/* Sustituimos el checkbox nativo SOLO en este formulario */

.gd-core-form-host
.core-form-photo-pending
input[type="checkbox"] {

    appearance: none;
    -webkit-appearance: none;

    position: relative;

    flex: 0 0 auto;

    width: 19px;
    height: 19px;
    margin: 0;

    border: 1.5px solid #aebbc6;
    border-radius: 5px;

    background: #fff;

    cursor: pointer;

    transition:
        background-color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}


.gd-core-form-host
.core-form-photo-pending
input[type="checkbox"]:hover {

    border-color: #5f788e;
}


.gd-core-form-host
.core-form-photo-pending
input[type="checkbox"]:focus-visible {

    outline: none;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .12);
}


.gd-core-form-host
.core-form-photo-pending
input[type="checkbox"]:checked {

    border-color: #315b82;
    background: #315b82;
}


.gd-core-form-host
.core-form-photo-pending
input[type="checkbox"]:checked::after {

    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 5px;
    height: 9px;

    border: solid #fff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


.gd-core-form-host .core-form-photo-pending-help {
    max-width: 520px;
    margin-top: 7px;

    color: #667582;
    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   COMPLETITUD
============================================================ */

.gd-core-form-host .core-form-persona-completeness {
    min-width: 105px;
}

.gd-core-form-host .core-form-persona-completeness strong {
    color: #174f7a;

    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.gd-core-form-host .core-form-persona-completeness span {
    margin-top: 5px;

    color: #71808c;
    font-size: 11px;
}


/* ============================================================
   CAMPOS
============================================================ */

.gd-core-form-host .core-form-persona-fields {
    padding: 8px 26px 18px;
    column-gap: 34px;
}

.gd-core-form-host .core-form-persona-field {
    min-height: 94px;
    padding: 19px 8px;
}

.gd-core-form-host .core-form-persona-field > span {
    margin-bottom: 8px;

    color: #536473;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .045em;
}

.gd-core-form-host
.core-form-persona-field.is-readonly
strong {

    min-height: auto;

    color: #18212b;

    font-size: 15px;
    line-height: 1.35;
    font-weight: 650;
}

.gd-core-form-host .core-form-persona-field input {
    height: 44px;
    padding: 0 12px;

    border-radius: 9px;

    font-size: 15px;
}

.gd-core-form-host .core-form-persona-field > small {
    margin-top: 7px;

    font-size: 10px;
    font-weight: 550;
}


/* CORE como origen, más discreto */

.gd-core-form-host
.core-form-persona-field.is-readonly
> small {

    color: #6b8b78;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
}


/* ============================================================
   ESTADO FINAL
============================================================ */

.gd-core-form-host .core-form-persona-ok {
    margin: 5px 26px 22px;
    padding: 11px 13px;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 650;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 650px) {

    .gd-core-form-host .core-form-persona-head {
        grid-template-columns: 66px 1fr;
        gap: 15px;
        padding: 20px;
    }

    .gd-core-form-host .core-form-persona-photo {
        width: 66px;
    }

    .gd-core-form-host .core-form-persona-avatar {
        width: 62px;
        height: 62px;
        font-size: 20px;
    }

    .gd-core-form-host .core-form-persona-completeness {
        grid-column: 1 / -1;
        text-align: left;
    }

    .gd-core-form-host .core-form-persona-fields {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gd-core-form-host .core-form-persona-ok {
        margin-left: 18px;
        margin-right: 18px;
    }
}


/* ============================================================
   FIN V2.1.1
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.1.2
   PASO 1 · AJUSTE FINAL
   SOLO CSS
============================================================ */


/* Agrupar mejor fotografía + estado */

.gd-core-form-host .core-form-photo-actions {
    margin-top: 12px;
}

.gd-core-form-host .core-form-photo-status {
    margin-top: 6px;
}

.gd-core-form-host .core-form-photo-pending {
    margin-top: 10px;
}

.gd-core-form-host .core-form-photo-pending-help {
    margin-top: 6px;
}


/* CTA coherente con el resto del flujo público */

.gd-core-form-host .core-form-wizard-next {
    background: #172333 !important;
    border-color: #172333 !important;
    color: #fff !important;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 750;

    box-shadow: none;
}

.gd-core-form-host .core-form-wizard-next:hover {
    background: #24364a !important;
    border-color: #24364a !important;

    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(23, 35, 51, .13);
}


/* Anterior más limpio */

.gd-core-form-host .core-form-wizard-prev {
    border-radius: 10px;

    font-size: 13px;
    font-weight: 650;
}


/* Un poco más de aire antes de navegación */

.gd-core-form-host .core-form-wizard-actions {
    margin-top: 28px;
    padding-top: 22px;
}


/* ============================================================
   GD PUBLICO · UX/UI V2.1.3
   CAMPOS EDITABLES / CONFIRMABLES
   SOLO CSS
============================================================ */


/* Campo que el usuario puede confirmar o modificar */

.gd-core-form-host
.core-form-persona-field.is-confirmable,
.gd-core-form-host
.core-form-persona-field.is-required {

    position: relative;
}


/* Etiqueta ligeramente más visible */

.gd-core-form-host
.core-form-persona-field.is-confirmable > span,
.gd-core-form-host
.core-form-persona-field.is-required > span {

    color: #334b60;
}


/* Input visible como elemento interactivo */

.gd-core-form-host
.core-form-persona-field.is-confirmable input,
.gd-core-form-host
.core-form-persona-field.is-required input {

    height: 46px;

    border: 1.5px solid #b8c8d5;
    border-radius: 10px;

    background: #ffffff;
    color: #172333;

    font-size: 15px;
    font-weight: 550;

    box-shadow:
        0 1px 2px rgba(23, 35, 51, .035);

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease;
}


.gd-core-form-host
.core-form-persona-field.is-confirmable input:hover,
.gd-core-form-host
.core-form-persona-field.is-required input:hover {

    border-color: #829bad;
}


/* Focus claramente reconocible */

.gd-core-form-host
.core-form-persona-field.is-confirmable input:focus,
.gd-core-form-host
.core-form-persona-field.is-required input:focus {

    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);

    background: #fff;
}


/* Ayuda de campos modificables */

.gd-core-form-host
.core-form-persona-field.is-confirmable > small {

    color: #516b80;
    font-size: 11px;
    font-weight: 600;
}


/* Los readonly quedan deliberadamente más planos */

.gd-core-form-host
.core-form-persona-field.is-readonly {

    background: transparent;
}


/* ============================================================
   FIN V2.1.3
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.1.4
   NO EXPONER TERMINOLOGIA INTERNA CORE
============================================================ */

/*
 * El origen del dato es útil internamente, pero no aporta
 * información al usuario final.
 *
 * Se oculta únicamente dentro del host público.
 */

.gd-core-form-host
.core-form-persona-field.is-readonly
> small {
    display: none;
}


/*
 * Recuperamos un poco de espacio vertical al desaparecer
 * la etiqueta de procedencia.
 */

.gd-core-form-host
.core-form-persona-field.is-readonly {
    min-height: 82px;
}


/* ============================================================
   FIN V2.1.4
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.2
   WIZARD · PASO 2 · DATOS DE ACTIVIDAD

   SOLO PUBLICA:
   scope obligatorio .gd-core-form-host
============================================================ */


/* ------------------------------------------------------------
   Escala general del contenido
------------------------------------------------------------ */

.gd-core-form-host .core-form-field,
.gd-core-form-host .core-form-component {
    font-size: 14px;
}


/* ------------------------------------------------------------
   Etiquetas y ayudas
------------------------------------------------------------ */

.gd-core-form-host .core-form-field > label,
.gd-core-form-host .core-form-label,
.gd-core-form-host .core-form-field-title {
    color: #263746;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.gd-core-form-host .core-form-help,
.gd-core-form-host .core-form-field-help,
.gd-core-form-host .core-form-description {
    margin-top: 4px;
    color: #6d7b87;
    font-size: 12px;
    line-height: 1.45;
}


/* ------------------------------------------------------------
   Bloques / grupos de campos
------------------------------------------------------------ */

.gd-core-form-host .core-form-field,
.gd-core-form-host .core-form-component {
    margin-bottom: 22px;
}

.gd-core-form-host .core-form-options,
.gd-core-form-host .core-form-radio-group,
.gd-core-form-host .core-form-checkbox-group {
    margin-top: 10px;
}


/* ============================================================
   RADIOS
============================================================ */

.gd-core-form-host input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;

    position: relative;

    width: 18px;
    height: 18px;
    margin: 0 7px 0 0;

    border: 1.5px solid #aebbc6;
    border-radius: 50%;

    background: #fff;

    vertical-align: -3px;
    cursor: pointer;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background-color .15s ease;
}

.gd-core-form-host input[type="radio"]:hover {
    border-color: #607b91;
}

.gd-core-form-host input[type="radio"]:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);
}

.gd-core-form-host input[type="radio"]:checked {
    border-color: #315b82;
    background: #315b82;
}

.gd-core-form-host input[type="radio"]:checked::after {
    content: "";

    position: absolute;
    inset: 4px;

    border-radius: 50%;
    background: #fff;
}


/* ============================================================
   CHECKBOXES GENERALES DEL PASO 2
============================================================ */

.gd-core-form-host input[type="checkbox"] {
    width: 18px;
    height: 18px;
}


/* No pisamos el checkbox de fotografía ya personalizado */
.gd-core-form-host
input[type="checkbox"]:not([data-core-photo-pending]) {

    appearance: none;
    -webkit-appearance: none;

    position: relative;

    border: 1.5px solid #aebbc6;
    border-radius: 5px;

    background: #fff;

    vertical-align: -3px;
    cursor: pointer;

    transition:
        border-color .15s ease,
        background-color .15s ease,
        box-shadow .15s ease;
}

.gd-core-form-host
input[type="checkbox"]:not([data-core-photo-pending]):hover {

    border-color: #607b91;
}

.gd-core-form-host
input[type="checkbox"]:not([data-core-photo-pending]):focus-visible {

    outline: none;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);
}

.gd-core-form-host
input[type="checkbox"]:not([data-core-photo-pending]):checked {

    border-color: #315b82;
    background: #315b82;
}

.gd-core-form-host
input[type="checkbox"]:not([data-core-photo-pending]):checked::after {

    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 5px;
    height: 9px;

    border: solid #fff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


/* Deshabilitados */

.gd-core-form-host input[type="checkbox"]:disabled,
.gd-core-form-host input[type="radio"]:disabled {
    opacity: .42;
    cursor: not-allowed;
}


/* ============================================================
   LABELS DE OPCIONES
============================================================ */

.gd-core-form-host
label:has(input[type="radio"]),
.gd-core-form-host
label:has(input[type="checkbox"]) {

    color: #334451;
    font-size: 13px;
    line-height: 1.4;
}


/* ------------------------------------------------------------
   Selects
------------------------------------------------------------ */

.gd-core-form-host select {
    width: 100%;
    min-height: 46px;

    padding: 0 38px 0 12px;

    border: 1.5px solid #b8c8d5;
    border-radius: 10px;

    background-color: #fff;
    color: #172333;

    font: inherit;
    font-size: 14px;
    font-weight: 550;

    cursor: pointer;

    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

.gd-core-form-host select:hover {
    border-color: #829bad;
}

.gd-core-form-host select:focus {
    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);
}


/* ------------------------------------------------------------
   Textareas
------------------------------------------------------------ */

.gd-core-form-host textarea {
    width: 100%;
    min-height: 108px;

    padding: 12px 13px;

    border: 1.5px solid #b8c8d5;
    border-radius: 10px;

    background: #fff;
    color: #172333;

    font: inherit;
    font-size: 14px;
    line-height: 1.5;

    resize: vertical;

    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

.gd-core-form-host textarea:hover {
    border-color: #829bad;
}

.gd-core-form-host textarea:focus {
    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);
}


/* ============================================================
   HORARIOS SOLICITADOS
============================================================ */

.gd-core-form-host .core-form-schedule,
.gd-core-form-host .core-form-horarios,
.gd-core-form-host .core-form-horario-row {
    border-radius: 10px;
}

.gd-core-form-host .core-form-horario-row,
.gd-core-form-host .core-form-schedule-row {
    padding: 10px 12px;
}


/* ============================================================
   SECCION PASO 2
============================================================ */

.gd-core-form-host .core-form-wizard-panel,
.gd-core-form-host .core-form-step-panel {
    border-radius: 14px;
}


/* Algo más de aire dentro del contenido */

.gd-core-form-host .core-form-wizard-content,
.gd-core-form-host .core-form-step-content {
    padding-top: 4px;
}


/* ============================================================
   RESUMEN ECONOMICO PUBLICO
============================================================ */

/*
 * No mostramos terminología interna al usuario final.
 */

.gd-core-form-host
.core-form-economic-float
small,
.gd-core-form-host
.core-form-economic-float
.core-form-economic-source {

    font-size: 0;
}


/*
 * Si el small sólo contenía "Calculado por CORE",
 * queda visualmente eliminado sin tocar el motor económico.
 */

.gd-core-form-host
.core-form-economic-float
small:empty {

    display: none;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 720px) {

    .gd-core-form-host
    label:has(input[type="radio"]),
    .gd-core-form-host
    label:has(input[type="checkbox"]) {

        display: inline-flex;
        align-items: center;
        margin: 4px 10px 4px 0;
    }

    .gd-core-form-host textarea {
        min-height: 96px;
    }
}


/* ============================================================
   FIN UX/UI V2.2
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.2.1
   PASO 2 · CONTROLES EDITABLES
============================================================ */


/* SELECTS --------------------------------------------------- */

.gd-core-form-host select {
    min-height: 48px;

    border: 1.5px solid #aebfcd;
    border-radius: 10px;

    background-color: #fff;
    color: #172333;

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 1px 2px rgba(23, 35, 51, .035);
}

.gd-core-form-host select:hover {
    border-color: #7f98aa;
}

.gd-core-form-host select:focus {
    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);
}


/* TEXTAREAS ------------------------------------------------- */

.gd-core-form-host textarea {
    min-height: 122px;

    padding: 14px 15px;

    border: 1.5px solid #aebfcd;
    border-radius: 11px;

    background: #fff;

    color: #172333;

    font-size: 14px;
    line-height: 1.5;

    box-shadow:
        inset 0 1px 2px rgba(23, 35, 51, .025),
        0 1px 2px rgba(23, 35, 51, .025);
}

.gd-core-form-host textarea:hover {
    border-color: #7f98aa;
}

.gd-core-form-host textarea:focus {
    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);
}


/* INPUTS DE TEXTO GENERALES -------------------------------- */

.gd-core-form-host
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]) {

    min-height: 46px;

    padding: 0 12px;

    border: 1.5px solid #aebfcd;
    border-radius: 10px;

    background: #fff;
    color: #172333;

    font-size: 14px;

    box-shadow:
        0 1px 2px rgba(23, 35, 51, .03);

    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

.gd-core-form-host
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):hover {

    border-color: #7f98aa;
}

.gd-core-form-host
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):focus {

    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);
}


/* OPCIONES -------------------------------------------------- */

.gd-core-form-host
label:has(input[type="radio"]),
.gd-core-form-host
label:has(input[type="checkbox"]) {

    display: inline-flex;
    align-items: center;

    min-height: 30px;

    margin: 4px 14px 4px 0;

    font-size: 13px;
}


/* BLOQUES DE CAMPO ----------------------------------------- */

.gd-core-form-host .core-form-field,
.gd-core-form-host .core-form-component {
    margin-bottom: 24px;
}


/* AYUDAS ---------------------------------------------------- */

.gd-core-form-host .core-form-help,
.gd-core-form-host .core-form-field-help,
.gd-core-form-host .core-form-description {
    color: #667582;
    font-size: 12px;
    line-height: 1.45;
}


/* HORARIOS -------------------------------------------------- */

.gd-core-form-host .core-form-horario-row,
.gd-core-form-host .core-form-schedule-row {
    border: 1px solid #e5ebef;
    background: #f8fafb;
}


/* ============================================================
   FIN V2.2.1
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.2.2
   CONTROLES REALES RENDERER · PASOS 2 + 3

   SOLO PRESENTACION PUBLICA
   NO MODIFICA LOGICA CORE
============================================================ */


/* ============================================================
   CAMPOS EDITABLES
============================================================ */

.gd-core-form-host .core-form-field select,
.gd-core-form-host .core-form-field textarea,
.gd-core-form-host .core-form-field input[type="text"],
.gd-core-form-host .core-form-field input[type="number"],
.gd-core-form-host .core-form-field input[type="date"],
.gd-core-form-host .core-form-field input[type="email"],
.gd-core-form-host .core-form-field input[type="tel"],
.gd-core-form-host .core-form-field input[type="time"] {

    width: 100%;
    box-sizing: border-box;

    border: 1.5px solid #a9bdcc;
    border-radius: 10px;

    background: #ffffff;
    color: #172333;

    font-family: inherit;
    font-size: 14px;

    box-shadow:
        0 1px 2px rgba(23, 35, 51, .045);

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease;
}


/* SELECT ---------------------------------------------------- */

.gd-core-form-host .core-form-field select {

    min-height: 48px;

    padding:
        0 42px
        0 14px;

    font-weight: 600;

    cursor: pointer;
}


/* TEXTAREA -------------------------------------------------- */

.gd-core-form-host .core-form-field textarea {

    display: block;

    min-height: 118px;

    padding: 13px 14px;

    line-height: 1.5;

    resize: vertical;
}


/* HOVER ----------------------------------------------------- */

.gd-core-form-host .core-form-field select:hover,
.gd-core-form-host .core-form-field textarea:hover,
.gd-core-form-host .core-form-field input[type="text"]:hover,
.gd-core-form-host .core-form-field input[type="number"]:hover,
.gd-core-form-host .core-form-field input[type="date"]:hover,
.gd-core-form-host .core-form-field input[type="email"]:hover,
.gd-core-form-host .core-form-field input[type="tel"]:hover,
.gd-core-form-host .core-form-field input[type="time"]:hover {

    border-color: #728da1;
}


/* FOCUS ----------------------------------------------------- */

.gd-core-form-host .core-form-field select:focus,
.gd-core-form-host .core-form-field textarea:focus,
.gd-core-form-host .core-form-field input[type="text"]:focus,
.gd-core-form-host .core-form-field input[type="number"]:focus,
.gd-core-form-host .core-form-field input[type="date"]:focus,
.gd-core-form-host .core-form-field input[type="email"]:focus,
.gd-core-form-host .core-form-field input[type="tel"]:focus,
.gd-core-form-host .core-form-field input[type="time"]:focus {

    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11),
        0 1px 2px rgba(23, 35, 51, .04);
}


/* ============================================================
   ETIQUETAS / AYUDAS
============================================================ */

.gd-core-form-host .core-form-field .core-form-label {

    display: block;

    margin-bottom: 4px;

    color: #203548;

    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}


.gd-core-form-host .core-form-field .core-form-help {

    margin:
        0
        0
        10px;

    color: #687986;

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   OPCIONES RADIO / CHECKBOX
============================================================ */

.gd-core-form-host .core-form-options {

    display: flex;
    flex-wrap: wrap;

    gap: 9px 12px;

    margin-top: 10px;
}


.gd-core-form-host .core-form-option {

    display: inline-flex;
    align-items: center;

    gap: 8px;

    min-height: 36px;

    padding: 6px 9px;

    border: 0;
    border-radius: 8px;

    background: transparent;

    color: #334451;

    font-size: 13px;

    cursor: pointer;
}


.gd-core-form-host .core-form-option:hover {

    background: #f5f8fa;
}


.gd-core-form-host .core-form-option input {

    flex: 0 0 auto;
    margin: 0;
}


/* ============================================================
   PASO 3 · DOMICILIACION
============================================================ */

.gd-core-form-host .core-form-bank {

    font-family: inherit;
}


/* Introducción */

.gd-core-form-host .core-form-bank-intro strong {

    color: #172333;

    font-size: 16px;
    font-weight: 750;
}


.gd-core-form-host .core-form-bank-intro p {

    margin-top: 5px;

    color: #61727f;

    font-size: 13px;
    line-height: 1.5;
}


/* Opciones de cuenta */

.gd-core-form-host .core-form-bank-options {

    display: grid;

    gap: 10px;

    margin-top: 16px;
}


.gd-core-form-host .core-form-bank-option {

    min-height: 72px;

    padding: 15px 16px;

    border: 1.5px solid #c8d4dd;
    border-radius: 11px;

    background: #fff;

    box-shadow:
        0 1px 2px rgba(23, 35, 51, .025);

    transition:
        border-color .16s ease,
        background-color .16s ease,
        box-shadow .16s ease;
}


.gd-core-form-host .core-form-bank-option:hover {

    border-color: #879faf;

    background: #fbfcfd;
}


.gd-core-form-host
.core-form-bank-option:has(input:checked) {

    border-color: #315b82;

    background: #fbfdff;

    box-shadow:
        0 0 0 2px rgba(49, 91, 130, .055);
}


/* Cuenta principal */

.gd-core-form-host
.core-form-bank-option-top strong {

    color: #172333;

    font-size: 14px;
    font-weight: 750;
}


.gd-core-form-host
.core-form-bank-holder {

    margin-top: 4px;

    color: #526472;

    font-size: 12px;
}


.gd-core-form-host
.core-form-bank-meta {

    margin-top: 6px;

    font-size: 11px;
}


/* ============================================================
   AUTORIZACION DOMICILIACION
============================================================ */

.gd-core-form-host .core-form-bank-consent {

    margin-top: 16px;

    padding: 14px 16px;

    border: 1px solid #e2c98f;
    border-radius: 10px;

    background: #fffaf0;

    align-items: flex-start;
}


.gd-core-form-host
.core-form-bank-consent > input {

    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    margin:
        1px
        10px
        0
        0;
}


.gd-core-form-host
.core-form-bank-consent strong {

    color: #263746;

    font-size: 13px;
    font-weight: 750;
}


.gd-core-form-host
.core-form-bank-consent small {

    display: block;

    margin-top: 3px;

    color: #647581;

    font-size: 11px;
    line-height: 1.45;
}


/* ============================================================
   NUEVA CUENTA
============================================================ */

.gd-core-form-host
.core-form-bank-new input {

    min-height: 48px;

    padding: 0 13px;

    border: 1.5px solid #a9bdcc;
    border-radius: 10px;

    background: #fff;

    color: #172333;

    font-family: inherit;
    font-size: 14px;
}


.gd-core-form-host
.core-form-bank-new input:focus {

    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .11);
}


/* ============================================================
   ESTADO Y SEGURIDAD
============================================================ */

.gd-core-form-host .core-form-bank-state {

    margin-top: 14px;

    color: #425563;

    font-size: 12px;
    font-weight: 650;
}


.gd-core-form-host .core-form-bank-security {

    margin-top: 16px;

    padding-top: 12px;

    border-top: 1px solid #e4e9ed;

    color: #778691;

    font-size: 10px;
    line-height: 1.45;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 720px) {

    .gd-core-form-host .core-form-option {

        min-height: 34px;

        padding:
            5px
            6px;
    }


    .gd-core-form-host .core-form-bank-option {

        padding:
            13px
            12px;
    }


    .gd-core-form-host .core-form-field textarea {

        min-height: 105px;
    }
}


/* ============================================================
   FIN UX/UI V2.2.2
============================================================ */



/* ============================================================
   GD PUBLICO · UX/UI V2.3
   PASO 3 · DOMICILIACION
   SOLO PRESENTACION PUBLICA
============================================================ */


/* OPCION DE CUENTA SELECCIONADA ---------------------------- */

.gd-core-form-host
.core-form-bank-option:has(input:checked) {

    border-color: #315b82;

    background:
        linear-gradient(
            0deg,
            rgba(49, 91, 130, .025),
            rgba(49, 91, 130, .025)
        ),
        #fff;

    box-shadow:
        0 0 0 2px rgba(49, 91, 130, .055),
        0 4px 12px rgba(23, 35, 51, .035);
}


/* RADIO DE CUENTA ------------------------------------------ */

.gd-core-form-host
.core-form-bank-option > input[type="radio"] {

    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    margin:
        2px
        12px
        0
        0;
}


/* NUEVA CUENTA --------------------------------------------- */

.gd-core-form-host
.core-form-bank-option.is-new {

    background: #fbfcfd;
}

.gd-core-form-host
.core-form-bank-option.is-new:hover {

    background: #f7fafc;
}


/* ============================================================
   AUTORIZACION
============================================================ */

.gd-core-form-host
.core-form-bank-consent {

    display: flex;
    align-items: flex-start;

    gap: 0;

    margin-top: 16px;

    padding: 15px 16px;

    border: 1px solid #cad8e2;
    border-radius: 11px;

    background: #f7fafc;
}


/* Checkbox */

.gd-core-form-host
.core-form-bank-consent > input[type="checkbox"] {

    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    margin:
        1px
        11px
        0
        0;
}


/* Titulo */

.gd-core-form-host
.core-form-bank-consent strong {

    display: block;

    margin: 0;

    color: #203548;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
}


/* Texto */

.gd-core-form-host
.core-form-bank-consent small {

    display: block;

    margin-top: 4px;

    color: #60727f;

    font-size: 11px;
    line-height: 1.5;
}


/* Cuando esta autorizada */

.gd-core-form-host
.core-form-bank-consent:has(input:checked) {

    border-color: #9fc4ae;

    background: #f3f9f5;
}


/* ============================================================
   ESTADO
============================================================ */

.gd-core-form-host
.core-form-bank-state {

    margin-top: 15px;

    padding:
        10px
        12px;

    border-radius: 9px;

    background: #f7fafc;

    color: #405361;

    font-size: 12px;
    font-weight: 650;
}


/* ============================================================
   SEGURIDAD / PRIVACIDAD
============================================================ */

.gd-core-form-host
.core-form-bank-security {

    margin-top: 14px;

    padding-top: 12px;

    border-top: 1px solid #e1e8ed;

    color: #758590;

    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 650px) {

    .gd-core-form-host
    .core-form-bank-consent {

        padding:
            13px
            12px;
    }

    .gd-core-form-host
    .core-form-bank-option > input[type="radio"] {

        margin-right: 9px;
    }
}


/* ============================================================
   FIN UX/UI V2.3
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.3.1
   FIX HIDDEN DOMICILIACION

   La autorización sólo debe mostrarse al seleccionar
   una nueva cuenta. El renderer ya controla esa lógica.
============================================================ */

.gd-core-form-host
.core-form-bank-consent[hidden] {
    display: none !important;
}


/* ============================================================
   FIN V2.3.1
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.5.1
   PASO 5 · RESUMEN FINAL

   SOLO PRESENTACION PUBLICA
============================================================ */


/* ------------------------------------------------------------
   Contenedor principal
------------------------------------------------------------ */

.gd-core-form-host .core-form-step-confirm {
    max-width: 860px;
    margin: 0 auto;
    padding: 34px 32px 30px;
}


/* ------------------------------------------------------------
   Cabecera
------------------------------------------------------------ */

.gd-core-form-host .core-form-step-confirm-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin: 0 auto 14px;

    border-radius: 50%;

    background: #edf4f8;
    color: #315b82;

    font-size: 22px;
    font-weight: 800;
}


.gd-core-form-host .core-form-step-confirm > h2 {
    margin: 0;

    color: #172333;

    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;

    text-align: center;
}


.gd-core-form-host .core-form-step-confirm > p {
    max-width: 600px;

    margin: 8px auto 28px;

    color: #647481;

    font-size: 13px;
    line-height: 1.5;

    text-align: center;
}


/* ------------------------------------------------------------
   Review
------------------------------------------------------------ */

.gd-core-form-host .core-form-review {
    width: 100%;

    margin: 0 auto 26px;

    border: 1px solid #d8e1e8;
    border-radius: 14px;

    background: #fff;

    overflow: hidden;
}


/*
 * Las filas existentes siguen siendo las mismas.
 * Únicamente cambia su representación.
 */

.gd-core-form-host .core-form-review > * {
    display: grid;
    grid-template-columns:
        minmax(190px, .8fr)
        minmax(0, 1.4fr);

    gap: 22px;

    align-items: center;

    padding: 13px 18px;

    border-bottom: 1px solid #e5ebef;
}


.gd-core-form-host .core-form-review > *:last-child {
    border-bottom: 0;
}


/* Primera columna */

.gd-core-form-host
.core-form-review > * > :first-child {

    color: #667784;

    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}


/* Valor */

.gd-core-form-host
.core-form-review > * > :last-child {

    color: #172333;

    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;

    overflow-wrap: anywhere;
}


/* Alternancia muy ligera para facilitar lectura */

.gd-core-form-host
.core-form-review > *:nth-child(even) {

    background: #fafcfd;
}


/* ------------------------------------------------------------
   Confirmación final
------------------------------------------------------------ */

.gd-core-form-host .core-form-confirm-data {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    width: 100%;

    margin: 0 auto;

    padding: 17px 18px;

    border: 1.5px solid #aebfcd;
    border-radius: 12px;

    background: #f8fafb;

    cursor: pointer;

    transition:
        border-color .16s ease,
        background-color .16s ease,
        box-shadow .16s ease;
}


.gd-core-form-host
.core-form-confirm-data:hover {

    border-color: #7f98aa;

    background: #fff;
}


.gd-core-form-host
.core-form-confirm-data:has(input:checked) {

    border-color: #6fa084;

    background: #f3f9f5;

    box-shadow:
        0 0 0 2px rgba(72, 128, 94, .05);
}


.gd-core-form-host
.core-form-confirm-data input[type="checkbox"] {

    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    margin: 0;

    accent-color: #315b82;
}


.gd-core-form-host
.core-form-confirm-data span {

    color: #263746;

    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}


/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */

@media (max-width: 720px) {

    .gd-core-form-host .core-form-step-confirm {
        padding:
            26px
            18px
            24px;
    }

    .gd-core-form-host .core-form-review > * {
        grid-template-columns: 1fr;

        gap: 5px;

        padding:
            13px
            14px;
    }

}




/* ============================================================
   GD PUBLICO · UX/UI V2.6
   PANTALLA FINAL · SOLICITUD REGISTRADA
============================================================ */


/* SECTION --------------------------------------------------- */

#bloque-formulario:has(.gd-final) {
    max-width: 780px;

    margin-left: auto;
    margin-right: auto;

    padding: 0;

    border: 0;
    background: transparent;

    box-shadow: none;
}


/* CONTENEDOR ------------------------------------------------ */

.gd-final {
    width: 100%;

    padding: 46px 44px 42px;

    border: 1px solid rgba(23, 35, 51, .08);
    border-radius: 22px;

    background: #fff;

    text-align: center;

    box-shadow:
        0 20px 55px rgba(26, 39, 54, .065),
        0 2px 7px rgba(26, 39, 54, .025);
}


/* CHECK ----------------------------------------------------- */

.gd-final-icono {
    display: grid;

    width: 62px;
    height: 62px;

    margin:
        0
        auto
        18px;

    place-items: center;

    border-radius: 50%;

    background: #eaf5ee;
    color: #397452;

    font-size: 29px;
    font-weight: 800;
}


/* KICKER ---------------------------------------------------- */

.gd-final-kicker {
    display: block;

    margin-bottom: 8px;

    color: #557084;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;

    text-transform: uppercase;
}


/* TITULO ---------------------------------------------------- */

.gd-final h2 {
    margin: 0;

    color: #172333;

    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;

    letter-spacing: -.03em;
}


/* INTRO ----------------------------------------------------- */

.gd-final-intro {
    max-width: 570px;

    margin:
        12px
        auto
        30px;

    color: #657582;

    font-size: 14px;
    line-height: 1.55;
}


/* ============================================================
   RESUMEN
============================================================ */

.gd-final-resumen {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 12px;

    margin-bottom: 18px;

    text-align: left;
}


.gd-final-referencia,
.gd-final-estado {
    padding: 17px 18px;

    border: 1px solid #dce5eb;
    border-radius: 13px;

    background: #f8fafb;
}


.gd-final-referencia > span,
.gd-final-estado > span {
    display: block;

    margin-bottom: 7px;

    color: #71808c;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .065em;

    text-transform: uppercase;
}


/* REFERENCIA ------------------------------------------------ */

.gd-final-referencia strong {
    display: block;

    color: #172333;

    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: .01em;
}


/* ESTADO ---------------------------------------------------- */

.gd-final-estado strong {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #795d2f;

    font-size: 13px;
    font-weight: 750;
}


.gd-final-estado strong i {
    display: block;

    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #c79b50;
}


/* ============================================================
   AVISO REFERENCIA
============================================================ */

.gd-final-aviso {
    padding: 16px 18px;

    border-radius: 12px;

    background: #f4f7f9;

    text-align: left;
}


.gd-final-aviso strong {
    display: block;

    margin-bottom: 3px;

    color: #293b49;

    font-size: 12px;
    font-weight: 750;
}


.gd-final-aviso p {
    margin: 0;

    color: #687986;

    font-size: 11px;
    line-height: 1.5;
}


/* ============================================================
   ACCIONES
============================================================ */

.gd-final-acciones {
    display: flex;

    justify-content: center;

    margin-top: 26px;
}


.gd-final-inicio {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding:
        11px
        20px;

    border-radius: 11px;

    background: #172333;
    color: #fff;

    font-size: 13px;
    font-weight: 750;
}


.gd-final-inicio span {
    font-size: 17px;

    transition:
        transform .16s ease;
}


.gd-final-inicio:hover span {
    transform:
        translateX(4px);
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 650px) {

    .gd-final {
        padding:
            34px
            22px
            30px;

        border-radius: 18px;
    }


    .gd-final h2 {
        font-size: 26px;
    }


    .gd-final-resumen {
        grid-template-columns: 1fr;
    }


    .gd-final-inicio {
        width: 100%;
    }
}


/* ============================================================
   FIN UX/UI V2.6
============================================================ */


/* ============================================================
   GD PUBLICO · UX/UI V2.7
   ALTA PARTICIPANTE EXTERNO
============================================================ */

#bloque-acceso-externo.gd-externo-card {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 34px 38px 38px;
}

.gd-externo-volver {
    margin-bottom: 28px;
}

.gd-externo-cabecera {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.gd-externo-icono {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #eef6f2;
    color: #176b4d;
}

.gd-externo-icono svg {
    width: 30px;
    height: 30px;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gd-externo-kicker {
    display: block;

    margin-bottom: 5px;

    color: #176b4d;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;

    text-transform: uppercase;
}

.gd-externo-cabecera h2 {
    margin: 0 0 8px;
}

.gd-externo-cabecera p {
    max-width: 650px;

    margin: 0;

    color: #667085;

    line-height: 1.55;
}

.gd-externo-aviso {
    display: flex;
    gap: 13px;
    align-items: flex-start;

    padding: 15px 17px;
    margin-bottom: 28px;

    border: 1px solid #dce9e3;
    border-radius: 12px;

    background: #f7faf8;
}

.gd-externo-aviso-icono {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #176b4d;
    color: #fff;

    font-size: 13px;
    font-weight: 800;
}

.gd-externo-aviso div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gd-externo-aviso strong {
    font-size: 14px;
}

.gd-externo-aviso div span {
    color: #667085;

    font-size: 13px;
    line-height: 1.45;
}

.gd-externo-grid {
    gap: 22px 24px;
}

.gd-externo-campo {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.gd-externo-campo > span {
    color: #344054;

    font-size: 14px;
    font-weight: 700;
}

.gd-externo-campo > span b {
    color: #176b4d;
}

.gd-externo-campo input {
    width: 100%;
    min-height: 46px;

    box-sizing: border-box;

    border: 1.5px solid #b8c8d5;
    border-radius: 10px;

    padding: 10px 13px;

    background: #fff;
    color: #101828;

    font: inherit;

    box-shadow:
        0 1px 2px rgba(23, 35, 51, .035);

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.gd-externo-campo input::placeholder {
    color: #98a2b3;
}

.gd-externo-campo input:hover {
    border-color: #8fa5b5;
}

.gd-externo-campo input:focus {
    outline: none;

    border-color: #315b82;

    box-shadow:
        0 0 0 4px rgba(49, 91, 130, .10);
}

.gd-externo-campo small {
    color: #84919c;

    font-size: 12px;
    line-height: 1.4;
}

.gd-externo-acciones {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 30px;
    padding-top: 24px;

    border-top: 1px solid #eaecf0;
}

.gd-externo-obligatorios {
    color: #84919c;

    font-size: 12px;
}

.gd-externo-continuar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;

    padding-left: 22px;
    padding-right: 22px;
}

.gd-externo-continuar span {
    font-size: 18px;
    line-height: 1;
}


@media (max-width: 700px) {

    #bloque-acceso-externo.gd-externo-card {
        padding: 24px 20px 26px;
    }

    .gd-externo-cabecera {
        gap: 14px;
    }

    .gd-externo-icono {
        width: 48px;
        height: 48px;
        flex-basis: 48px;

        border-radius: 13px;
    }

    .gd-externo-icono svg {
        width: 25px;
        height: 25px;
    }

    .gd-externo-grid {
        grid-template-columns: 1fr;
    }

    .gd-externo-acciones {
        flex-direction: column;
        align-items: stretch;
    }

    .gd-externo-obligatorios {
        order: 2;
        text-align: center;
    }

    .gd-externo-continuar {
        width: 100%;
    }
}


/* ============================================================
   FIN UX/UI V2.7
============================================================ */
/* ============================================================
   GD PUBLICO · FOOTER LEGAL
============================================================ */

.gd-legal-footer {
    margin-top: 32px;
    padding: 20px 16px 24px;
    border-top: 1px solid #dfe6eb;
    text-align: center;
    color: #667784;
    font-size: 13px;
    line-height: 1.6;
}

.gd-legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}

.gd-legal-footer a {
    color: inherit;
    text-decoration: none;
}

.gd-legal-footer a:hover,
.gd-legal-footer a:focus {
    text-decoration: underline;
}

.gd-legal-footer-contact {
    margin-top: 8px;
}

@media (max-width: 650px) {
    .gd-legal-footer-links {
        gap: 6px 12px;
    }

    .gd-legal-footer {
        font-size: 12px;
    }
}

/* GD PUBLICO · AVISO INFORMATIVO COOKIES */
.gd-cookie-notice {
    max-width: 1180px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.gd-cookie-notice-text {
    padding: 11px 16px;
    border: 1px solid #e1e6e9;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #667784;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
.gd-cookie-notice-text strong {
    color: #46545e;
}
.gd-cookie-notice-text a {
    color: inherit;
    text-decoration: underline;
}

/* Jerarquía acceso 2026/27 */
.gd-access-card-socio {
    border: 2px solid var(--gd-blue);
    box-shadow: 0 14px 34px rgba(30, 44, 58, .11);
    transform: translateY(-4px);
}

.gd-access-card-socio .gd-access-icon {
    width: 66px;
    height: 66px;
}

.gd-access-card-socio .gd-access-content strong {
    font-size: 27px;
}

.gd-access-card-socio .gd-access-action {
    font-size: 15px;
}

.gd-access-card-abonado {
    border-color: rgba(56, 113, 92, .35);
    box-shadow: 0 8px 22px rgba(30, 44, 58, .06);
}

.gd-access-card-externo {
    background: rgba(255, 255, 255, .72);
    box-shadow: none;
}

.gd-access-card-externo .gd-access-icon {
    width: 52px;
    height: 52px;
}

.gd-access-card-externo .gd-access-content strong {
    font-size: 21px;
}

.gd-access-card-socio:hover {
    transform: translateY(-7px);
}

/* GD catálogo · ocultación buscador */
.gd-actividad-card.gd-hidden {
    display: none;
}

/* GD portada · aviso Hípica / Gimnasio-Fitness */
.gd-portada-aviso-inscripciones {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.5;
}

.gd-portada-aviso-inscripciones > strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.gd-portada-aviso-inscripciones p {
    margin: 0;
}


/* ============================================================
   GD · HIPICA 2026/27
   Economía visible exclusivamente para actividad_id=22
   ============================================================ */

.gd-expediente-form-actividad[data-expediente-actividad-id="22"]
[data-core-component="economia_resumen"] {
    display: block !important;
}


/* =========================================================
   GOLF 2026/27 · INFORMACIÓN DESTACADA DE TRANSFERENCIA
   Solo afecta a los campos de forma de pago de Golf.
   ========================================================= */

.gd-campo[data-campo-radio-id="696"]:has(
    input[value="Transferencia bancaria"]:checked
)::after,
.gd-campo[data-campo-radio-id="697"]:has(
    input[value="Transferencia bancaria"]:checked
)::after {
    content:
        "TRANSFERENCIA BANCARIA\A"
        "\A"
        "Titular: Club Las Encinas de Boadilla\A"
        "IBAN: ES63 0075 0459 5506 0005 9092\A"
        "\A"
        "Concepto: nombre y apellidos del alumno + tipo de curso o bono de Golf.\A"
        "\A"
        "IMPORTANTE: envíe el justificante de la transferencia al coordinador de Golf.";

    display: block;
    margin-top: 18px;
    padding: 18px 20px;
    border: 2px solid currentColor;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
    white-space: pre-line;
}

/* Destacar también visualmente la opción elegida */
.gd-campo[data-campo-radio-id="696"] label:has(
    input[value="Transferencia bancaria"]:checked
),
.gd-campo[data-campo-radio-id="697"] label:has(
    input[value="Transferencia bancaria"]:checked
) {
    font-weight: 700;
}


/* =========================================================
   GOLF · TRANSFERENCIA DESTACADA
   ========================================================= */

.gd-campo:has(
    input[data-codigo-campo="forma_pago_golf"][value="Transferencia bancaria"]:checked
)::after {
    content:
        "TRANSFERENCIA BANCARIA\A"
        "Titular: Club Las Encinas de Boadilla\A"
        "IBAN: ES63 0075 0459 5506 0005 9092\A"
        "Concepto: nombre y apellidos del alumno + tipo de curso o bono de Golf.\A"
        "IMPORTANTE: envíe el justificante de la transferencia al coordinador de Golf.";

    display: block;
    margin-top: 18px;
    padding: 16px 18px;
    border: 2px solid #173f6b;
    border-radius: 10px;
    background: #f3f7fb;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 600;
    white-space: pre-line;
}

.gd-campo:has(
    input[data-codigo-campo="forma_pago_golf"][value="Transferencia bancaria"]:checked
)
label:has(
    input[value="Transferencia bancaria"]
) {
    font-weight: 700;
}


/* =========================================================
   GOLF 2026/27 · MODALIDAD DE PAGO · UI FINAL
   Basado en DOM CORE real
   ========================================================= */

/* Opción seleccionada */
.core-form-field[data-field-code="forma_pago_golf"]
.core-form-option:has(input:checked) {
    font-weight: 700;
}


/* ---------------------------------------------------------
   TRANSFERENCIA
   --------------------------------------------------------- */

.core-form-field[data-field-code="forma_pago_golf"]:has(
    input[value="Transferencia bancaria"]:checked
)::after {
    content:
        "TRANSFERENCIA BANCARIA\A"
        "\A"
        "Titular: Club Las Encinas de Boadilla\A"
        "IBAN: ES63 0075 0459 5506 0005 9092\A"
        "\A"
        "Concepto: nombre y apellidos del alumno + tipo de curso o bono de Golf.\A"
        "\A"
        "IMPORTANTE: una vez realizada la transferencia, envíe el justificante al coordinador de Golf.";

    display: block;
    margin-top: 20px;
    padding: 18px 20px;

    border: 2px solid #173f6b;
    border-radius: 10px;

    background: #f3f7fb;

    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;

    white-space: pre-line;
}


/* ---------------------------------------------------------
   PAGO EN OFICINAS
   --------------------------------------------------------- */

.core-form-field[data-field-code="forma_pago_golf"]:has(
    input[value="Pago en oficinas"]:checked
)::after {
    content:
        "PAGO EN OFICINAS\A"
        "\A"
        "El pago deberá realizarse antes del inicio de la actividad.\A"
        "\A"
        "Horario: de lunes a sábado, de 9:00 a 14:00 h.";

    display: block;
    margin-top: 20px;
    padding: 18px 20px;

    border: 2px solid #173f6b;
    border-radius: 10px;

    background: #f3f7fb;

    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;

    white-space: pre-line;
}


/* ---------------------------------------------------------
   OCULTAR DOMICILIACIÓN CUANDO NO CORRESPONDE
   La sección bancaria es el hermano inmediato de modalidad.
   --------------------------------------------------------- */

.core-form-section:has(
    .core-form-field[data-field-code="forma_pago_golf"]
    input[value="Transferencia bancaria"]:checked
)
+
.core-form-section[data-core-component="domiciliacion_bancaria"],

.core-form-section:has(
    .core-form-field[data-field-code="forma_pago_golf"]
    input[value="Pago en oficinas"]:checked
)
+
.core-form-section[data-core-component="domiciliacion_bancaria"] {
    display: none;
}

