/* ========================================
   Voucher Cursos FCH - Styles v1.5
   ======================================== */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

main#content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-content {
    height: 100%;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}



.vch-page {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Montserrat', sans-serif;

    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 
   =========================================================
   CABECERA, BUSCADOR Y FILTROS FHC26 - CENTRALIZADOS
   Todos los estilos visuales estéticos para .vch-hero y sus
   hijos se gestionan directamente en el style.css del Child Theme.
   =========================================================
*/

/* CURSOS GRID */
.vch-cursos {
    background: #f4f4f4;
    padding: 40px 20px 60px;
    min-height: 400px;
}

.vch-cursos__grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.vch-cursos__grid>.vch-card {
    flex: 0 0 calc(25% - 18px);
    box-sizing: border-box;
}

.vch-cursos__loading {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #888;
    font-size: 1.1em;
    padding: 60px 0;
}

.vch-cursos__empty {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #666;
    font-size: 1.05em;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.vch-cursos__empty p {
    margin: 0;
    max-width: 400px;
    line-height: 1.5;
}

/* CARD */
.vch-card {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #DDDDDD;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vch-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.vch-card__header {
    background: #3E5A7E;
    color: #fff;
    padding: 16px 18px;
    text-align: center;
    min-height: calc(1.4em * 3 + 2rem);
    /* ajusta según padding vertical */
}

/* Header: 3 líneas fijas */
.vch-card__header h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    margin: 0;
    /* evitar desbordes por márgenes */
    font-size: 1.05em;
    font-weight: 700;
}

.vch-card__body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #000;
}

.vch-card--prioritario {
    border: 1.5px solid #E0A64B;
}

.vch-card--portal_empleo {
}

/* Institución: 2 líneas con truncado */
.vch-card__inst {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.vch-card__location {
    /* font-size: 0.85em;
    color: #666; */
    margin: 0;
}

.vch-card__modality {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

.vch-card__horario {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

.vch-card__dates {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

.vch-card__cupos {
    /* font-size: 0.85em;
    color: #1a2744; */
    font-weight: 600;
    margin: 0;
}

/* PAGINATION */
.vch-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0 16px;
}

.vch-pagination__info {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    color: #555;
    padding: 0 16px;
    align-self: center;
}

.vch-card__footer {
    padding: 0 18px 18px;
    display: flex;
    justify-content: flex-end;
}

.vch-card__btn {
    display: inline-block;
    text-decoration: none !important;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

/* ========================================
   DETALLE DE CURSO - COMISIONES
   ======================================== */

.vch-detalle {
    background: #f4f4f4;
    padding: 40px 20px 60px;
    min-height: 500px;
    display: none;
}

.vch-detalle__container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.vch-detalle__title {
    color: #1a2744;
    font-size: 1.6em;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.3;
}

.vch-detalle__separator {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 12px 0 28px;
}

/* COMISION BLOCK */
.vch-comision {
    margin-bottom: 24px;
}

.vch-comision__label {
    color: #1a2744;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 12px;
}

.vch-comision__field {
    font-size: 0.95em;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.5;
}

.vch-comision__field strong {
    color: #1a2744;
    font-weight: 700;
}

.vch-comision__dates {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.vch-comision__dates .vch-comision__field {
    margin: 0;
}

.vch-comision__divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 28px 0;
}

/* BUTTONS */
/* Boton "Inscribirte" - Figma Botones Azules tama\u00f1o chico
   Default #232D4F / Hover #232D4F 60% / Active +trazo #E7BA61 / Disabled #B8B2B2 80% */
.vch-detalle__btn-inscribir {
    display: inline-block;
    margin-left: auto;
    white-space: nowrap;
}

.vch-detalle__btn-inscribir--confirm {
    margin-left: 0;
}

.vch-detalle__btn-volver {
    display: inline-block;
}

.vch-detalle__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    padding-bottom: 8px;
}

/* ========================================
   DETALLE PORTAL EMPLEO
   ======================================== */

.vch-detalle__container--portal-empleo .vch-detalle-pe__list {
    /* list-style: none; */
    margin: 0 0 20px;
    /* padding: 0 0 0 4px; */
}

.vch-detalle__container--portal-empleo .vch-detalle-pe__list .vch-comision__field {
    margin: 0 0 10px;
    padding-left: 12px;
    /* border-left: 3px solid #e8ecf2; */
}

.vch-detalle-pe__notice {
    color: #c0392b;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.5;
    margin: 20px 0;
    padding: 12px 16px;
    /* background: #fdf2f2;
    border-left: 4px solid #c0392b; */
    border-radius: 0 6px 6px 0;
}

.vch-detalle-pe__links {
    margin-top: 24px;
    padding-top: 8px;
}

.vch-detalle-pe__links a {
    color: #232d4f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vch-detalle-pe__links a:hover {
    color: #4b90e0;
}

.vch-detalle-pe__help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    text-decoration: none;
}

.vch-detalle__btn-preinscribirse-pe {
    display: inline-block;
    white-space: nowrap;
}

/* ========================================
   LOGIN MI ARGENTINA
   ======================================== */

.vch-login {
    --vch-login-text-color: #30395B;
    position: relative;
    background-color: #232D4F;
    background-image: linear-gradient(#232d4fcc 0%, #232d4f00 32%), url('../../themes/hello-elementor-child/images/headerbg.jpg');
    background-position: center 18%;
    background-repeat: repeat-x;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.vch-login__bg {
    display: none;
}

.vch-login__card {
    position: relative;
    z-index: 1;
    background: rgba(245, 247, 249, 0.82);
    border-radius: 20px;
    padding: 48px 40px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.vch-login__subtitle {
    color: var(--vch-login-text-color);
    font-size: 0.95em;
    margin: 0 0 12px;
    font-weight: 400;
    text-align: left;
}

.vch-login__logo {
    margin: 0 0 32px;
}

.vch-login__logo-text {
    display: inline-block;
    font-size: 1.4em;
    font-weight: 900;
    color: #1a2744;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vch-login__logo-img {
    display: block;
    max-width: 360px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.vch-login__btn-miarg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #fff;
    color: var(--vch-login-text-color);
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 14px 24px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 28px;
}

.vch-login__btn-miarg:hover {
    border-color: #37BBED;
    background: #f0faff;
}

.vch-login__btn-miarg-icon {
    display: block;
    width: 18px;
    height: 23px;
    flex: 0 0 auto;
}

.vch-login__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
    align-items: flex-start;
    text-align: left;
}

.vch-login__links a {
    color: var(--vch-login-text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    text-decoration: underline;
    transition: color 0.2s;
}

.vch-login__links a:hover {
    color: var(--vch-login-text-color);
    text-decoration: underline;
    opacity: 0.75;
}

.vch-login__btn-volver {
    margin-right: auto;
    margin-left: auto;
    background-color: #fff !important;
}

.vch-login__btn-volver:hover:not(:disabled) {
    background-color: #fff !important;
}



/* ========================================
   CONFIRMACION POST-LOGIN
   ======================================== */

.vch-confirmacion {
    background: #fff;
    min-height: 500px;
}

.vch-confirmacion__bar {
    height: 5px;
    background: linear-gradient(90deg, #c9a227, #d4b84a);
    width: 100%;
}

.vch-confirmacion__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 48px 48px;
}

.vch-confirmacion__greeting {
    color: #1a2744;
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 8px;
}

.vch-confirmacion__desc {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
    margin: 0 0 32px;
}

.vch-confirmacion__title {
    color: #1a2744;
    font-size: 1.6em;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.3;
}

.vch-confirmacion__separator {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 12px 0 28px;
}

.vch-confirmacion__comision-label {
    color: #1a2744;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 16px;
}

.vch-confirmacion__field {
    font-size: 0.95em;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.5;
}

.vch-confirmacion__field strong {
    color: #1a2744;
    font-weight: 700;
}

.vch-confirmacion__dates {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 4px;
    margin-bottom: 8px;
}

.vch-confirmacion__dates .vch-confirmacion__field {
    margin: 0;
}

.vch-confirmacion__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    padding-bottom: 8px;
}

/* Boton "Continuar Preinscripcion" - estilos segun Figma (Botones Azules tama\u00f1o chico)
   Default: #232D4F 100%
   Hover:   #232D4F 60% opacidad
   Active:  #232D4F + trazo #E7BA61 (interior, peso 2)
   Disabled:#B8B2B2 80%
   Tipografia: Montserrat SemiBold 14 / #FFFFFF */
.vch-confirmacion__btn-continuar {
    display: inline-block;
    white-space: nowrap;
}

.vch-confirmacion__btn-volver {
    display: inline-block;
}

/* ========================================
   FORMULARIO DE INSCRIPCION (paso 8)
   ======================================== */

.vch-form {
    background: #fff;
    min-height: 500px;
}

.vch-form__bar {
    height: 5px;
    background: linear-gradient(90deg, #c9a227, #d4b84a);
    width: 100%;
}

.vch-form__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 48px 48px;
}

.vch-form__greeting {
    color: #1a2744 !important;
    font-size: 1.4em !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    font-style: italic;
}

.vch-form__desc {
    color: #555 !important;
    font-size: 0.95em !important;
    line-height: 1.5 !important;
    margin: 0 0 28px !important;
}

.vch-form__course {
    color: #1a2744 !important;
    font-size: 1.5em !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
}

.vch-form__separator {
    height: 2px;
    background: #c9a227;
    margin: 0 0 32px;
}

.vch-form__fields {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.vch-form__group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vch-form__row {
    display: flex;
    gap: 48px;
}

.vch-form__group--half {
    flex: 1;
}

.vch-form__label {
    color: #1a2744 !important;
    font-size: 0.9em !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.vch-form__input,
.vch-form__select,
.vch-form__textarea {
    border: none !important;
    border-bottom: 1.5px solid #c0c0c0 !important;
    border-radius: 0 !important;
    padding: 8px 0 !important;
    font-size: 0.95em !important;
    color: #333 !important;
    background: transparent !important;
    transition: border-color 0.2s !important;
    font-family: inherit !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
}

.vch-form__input:focus,
.vch-form__select:focus,
.vch-form__textarea:focus {
    outline: none !important;
    border-bottom-color: #1a2744 !important;
    box-shadow: none !important;
}

.vch-form__select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0 center !important;
    padding-right: 24px !important;
}

.vch-form__textarea {
    resize: vertical;
    min-height: 70px;
}

.vch-form__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 40px !important;
}

.vch-form .vch-form__btn-enviar,
.vch-form button.vch-form__btn-enviar {
    display: inline-block !important;
    min-width: 300px !important;
    text-align: center !important;
}

.vch-form .vch-form__btn-volver,
.vch-form button.vch-form__btn-volver {
    display: inline-block !important;
    min-width: 300px !important;
    text-align: center !important;
}

/* ========================================
   MODAL EXITO (paso 9)
   ======================================== */

.vch-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
}

.vch-modal {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 48px 40px 36px !important;
    max-width: 420px !important;
    width: 90% !important;
    text-align: center !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.vch-modal__icon {
    margin: 0 auto 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vch-modal__title {
    color: #1a2744 !important;
    font-size: 1.2em !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
    line-height: 1.3 !important;
}

.vch-modal__desc {
    color: #555 !important;
    font-size: 0.92em !important;
    line-height: 1.5 !important;
    margin: 0 0 28px !important;
}

.vch-modal .vch-modal__btn-aceptar,
.vch-modal button.vch-modal__btn-aceptar {
    display: inline-block !important;
}

.vch-modal--portal-empleo {
    max-width: 520px !important;
}

.vch-modal--portal-empleo .vch-modal__title {
    color: #232D4F !important;
}

.vch-modal--portal-empleo .vch-modal__desc {
    color: #555 !important;
    text-align: center !important;
    margin: 0 0 28px !important;
}

.vch-modal--portal-empleo .vch-modal__actions {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
}

.vch-modal--portal-empleo .vch-pe-exito__btn-mas-tarde,
.vch-modal--portal-empleo .vch-pe-exito__btn-portal {
    min-width: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.vch-modal--portal-empleo-confirmacion {
    max-width: 520px !important;
}

.vch-modal--portal-empleo-confirmacion .vch-modal__icon svg circle,
.vch-modal--portal-empleo-confirmacion .vch-modal__icon svg path {
    stroke: #232D4F;
}

.vch-modal--portal-empleo-confirmacion .vch-modal__icon svg circle[fill="#232D4F"] {
    fill: #232D4F;
}

.vch-modal--portal-empleo-confirmacion .vch-modal__title {
    color: #232D4F !important;
    margin-bottom: 16px !important;
}

.vch-modal--portal-empleo-confirmacion .vch-pe-confirm__lead {
    color: #232D4F !important;
    font-size: 1em !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    line-height: 1.35 !important;
}

.vch-modal--portal-empleo-confirmacion .vch-modal__desc {
    color: #555 !important;
    font-size: 0.88em !important;
    font-weight: 400 !important;
    margin: 0 0 28px !important;
}

.vch-modal__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: center !important;
    align-items: center !important;
}

.vch-modal__actions .vch-modal__btn-portal,
.vch-modal__actions .vch-modal__btn-aceptar,
.vch-modal__actions .vch-pe-exito__btn-portal,
.vch-modal__actions .vch-pe-exito__btn-mas-tarde,
.vch-modal__actions .vch-pe-confirm__btn-volver,
.vch-modal__actions .vch-pe-confirm__btn-preinscribir {
    display: inline-flex !important;
    text-decoration: none !important;
}

/* ========================================
   HEADER AVATAR (logged user)
   ======================================== */

.vch-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 10050;
}

.vch-avatar__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c9a227;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.vch-avatar__circle:hover {
    background: #b08a1e;
}

.vch-avatar__dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 10051;
    overflow: hidden;
}

/* Mobile: el nav .fch26-header-nav (z-index 9999) tapa el menú del avatar.
   Subimos el stacking del header bar y evitamos overflow que recorte el dropdown. */
@media (max-width: 767px) {
    .elementor-element-a4e2f6f,
    .elementor-9853 .elementor-element-a4e2f6f {
        z-index: 10040 !important;
        overflow: visible !important;
    }

    .elementor-element-a4e2f6f .e-con,
    .elementor-element-a4e2f6f .e-con-inner,
    .elementor-element-a4e2f6f .elementor-widget-container,
    .elementor-element-a4e2f6f .elementor-element {
        overflow: visible !important;
    }

    .vch-avatar__dropdown {
        position: fixed;
        top: auto;
        z-index: 100060;
    }
}

.vch-avatar__link {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.15s;
}

.vch-avatar__link:hover {
    background: #f5f5f5;
}

.vch-avatar__logout {
    border-top: 1px solid #eee;
}

/* ========================================
   MI PERFIL
   ======================================== */

.vch-perfil {
    background: #fff !important;
    min-height: 500px;
}

.vch-perfil__bar {
    height: 5px;
    background: linear-gradient(90deg, #c9a227, #d4b84a);
    width: 100%;
}

.vch-perfil__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 48px 48px;
}

.vch-perfil__greeting {
    color: #1a2744 !important;
    font-size: 1.4em !important;
    font-weight: 700 !important;
    font-style: italic !important;
    margin: 0 0 8px !important;
}

.vch-perfil__desc {
    color: #555 !important;
    font-size: 0.95em !important;
    line-height: 1.6 !important;
    margin: 0 0 32px !important;
}

.vch-perfil__card {
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 28px 32px !important;
    margin-bottom: 24px !important;
    background: #fff !important;
}

.vch-perfil__card-title {
    color: #1a2744 !important;
    font-size: 1.15em !important;
    font-weight: 800 !important;
    margin: 0 0 20px !important;
}

.vch-perfil__card-row {
    display: flex !important;
    gap: 40px !important;
}

.vch-perfil__card-col {
    flex: 1 !important;
}

/* Mis Datos */
.vch-perfil__dato {
    margin-bottom: 16px !important;
}

.vch-perfil__dato-label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #1a2744 !important;
    font-size: 0.85em !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.vch-perfil__dato-edit {
    color: #c9a227 !important;
    cursor: default !important;
}

.vch-perfil__dato-value {
    color: #333 !important;
    font-size: 0.95em !important;
}

/* Vouchers */
.vch-perfil__voucher-status {
    display: inline-block !important;
    color: #c9a227 !important;
    font-weight: 700 !important;
    font-size: 0.9em !important;
    margin-bottom: 12px !important;
    cursor: pointer !important;
}

.vch-perfil__voucher-field {
    margin-bottom: 8px !important;
    font-size: 0.9em !important;
    color: #333 !important;
}

.vch-perfil__voucher-field-label {
    font-weight: 700 !important;
    color: #1a2744 !important;
}

/* Mis Cursos */
.vch-perfil__curso {
    padding: 16px 0 !important;
    border-bottom: 1px solid #eee !important;
}

.vch-perfil__curso:last-child {
    border-bottom: none !important;
}

.vch-perfil__curso-header {
    font-size: 0.95em !important;
    color: #333 !important;
    margin-bottom: 4px !important;
}

.vch-perfil__curso-nombre {
    font-weight: 700 !important;
    color: #1a2744 !important;
}

.vch-perfil__curso-meta {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    font-size: 0.85em !important;
    color: #555 !important;
    margin-bottom: 8px !important;
    flex-wrap: wrap !important;
}

.vch-perfil__curso-certificado {
    color: #c9a227 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.vch-perfil__curso-aprobado {
    color: #28a745 !important;
    font-weight: 600 !important;
}

.vch-perfil__curso-progress {
    height: 8px !important;
    background: #e0e0e0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-top: 4px !important;
    position: relative !important;
}

.vch-perfil__curso-progress-bar {
    height: 100% !important;
    background: #c9a227 !important;
    border-radius: 4px !important;
    transition: width 0.3s !important;
}

.vch-perfil__curso-progress-text {
    font-size: 0.8em !important;
    color: #666 !important;
    margin-top: 4px !important;
    text-align: right !important;
}

/* Mis Recursos / Mis Test */
.vch-perfil__item {
    padding: 10px 0 !important;
    font-size: 0.9em !important;
    color: #333 !important;
}

.vch-perfil__item-nombre {
    font-weight: 700 !important;
}

/* Mis Recursos / Mis Test — filas enriquecidas con datos reales */
.vch-perfil__extras-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.vch-perfil__extras-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.vch-perfil__extras-nombre {
    font-family: 'Lora', serif !important;
    font-size: 16px !important;
    color: #1e293b !important;
    font-weight: 600 !important;
}

.vch-perfil__extras-meta {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
}

.vch-perfil__extras-pill {
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    font-size: 12px !important;
}

.vch-perfil__extras-pill--neutral {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.vch-perfil__extras-pill--success {
    background: #dcfce7 !important;
    color: #166534 !important;
}

.vch-perfil__extras-pill--warning {
    background: #fef9c3 !important;
    color: #854d0e !important;
}

.vch-perfil__extras-pill--danger {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

/* Boton Volver */
.vch-perfil__actions {
    display: flex !important;
    justify-content: center !important;
    margin-top: 32px !important;
}

.vch-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.vch-footer__link {
    display: inline-block;
    text-decoration: none;
}

/* ==========================================================================
   SKELETON LOADER - TOKENS DE DISEÑO LOCALES, FLEXBOX Y COMPORTAMIENTO
   ========================================================================== */

:root {
    --vch-skeleton-header-bg: #3E5A7E;
    /* Color de cabecera exacto solicitado */
    --vch-skeleton-btn-bg: #232D4F;
    /* Color de botón ficticio exacto solicitado */
    --vch-skeleton-card-bg: #FFFFFF;
    /* Fondo blanco puro solicitado */
    --vch-skeleton-gray-light: #E2E8F0;
    /* Gris suave base para animación de elementos */
    --vch-skeleton-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    /* Sombra exacta solicitada */
}

/* Estilos de las tarjetas simuladas Skeleton */
.vch-card--skeleton {
    background-color: var(--vch-skeleton-card-bg) !important;
    box-shadow: var(--vch-skeleton-shadow) !important;
    pointer-events: none;
    user-select: none;
    border: none !important;
    opacity: .1;
}

.vch-card__header--skeleton {
    background: var(--vch-skeleton-header-bg) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Centra las líneas de títulos del Skeleton */
    box-sizing: border-box;
}

.vch-card__body--skeleton {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.vch-card__footer--skeleton {
    display: flex;
    justify-content: flex-end;
}

/* Elementos de línea y botón del Skeleton */
.vch-skeleton-line {
    background-color: var(--vch-skeleton-gray-light);
    border-radius: 4px;
    animation: vch-skeleton-pulse 1.5s ease-in-out infinite;
}

.vch-skeleton-line--title {
    height: 14px;
    width: 80%;
    margin-bottom: 6px;
}

.vch-skeleton-line--title-short {
    height: 14px;
    width: 50%;
}

.vch-skeleton-line--text {
    height: 12px;
    width: 100%;
}

.vch-skeleton-line--text-bold {
    height: 12px;
    font-weight: 600;
}

.vch-skeleton-button {
    background-color: var(--vch-skeleton-btn-bg);
    height: 27px;
    width: 76px;
    border-radius: 14px;
    animation: vch-skeleton-pulse 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
    .vch-skeleton-button {
        height: 24px;
        width: 68px;
        border-radius: 10px;
    }
}

/* Animación de pulso */
@keyframes vch-skeleton-pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .vch-cursos__grid>.vch-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .vch-hero {
        padding: 36px 16px 32px;
    }

    .vch-hero__title {
        font-size: 1.5em;
    }

    .vch-hero__desc {
        font-size: 0.92em;
    }

    .vch-cursos__grid {
        gap: 16px;
    }

    .vch-cursos__grid>.vch-card {
        flex: 0 0 calc(50% - 8px);
    }

    .vch-filters {
        gap: 8px;
    }

    .vch-filters__pill,
    .vch-filters__dropdown select {
        font-size: 0.82em;
        padding: 6px 14px;
    }

    .vch-detalle__container {
        padding: 28px 24px;
    }

    .vch-detalle__title {
        font-size: 1.3em;
    }

    .vch-comision__dates {
        gap: 16px;
    }

    .vch-login__card {
        padding: 36px 24px 28px;
    }

    .vch-perfil__card-row {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .vch-perfil__container {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .vch-cursos__grid>.vch-card {
        flex: 0 0 100%;
    }

    .vch-cursos {
        padding: 24px 16px 40px;
    }

    .vch-detalle {
        padding: 24px 16px 40px;
    }

    .vch-detalle__container {
        padding: 24px 18px;
    }

    .vch-comision__dates {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .vch-detalle__btn-inscribir {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .vch-detalle__btn-inscribir--confirm {
        width: 100%;
    }

    .vch-detalle__btn-volver {
        width: 100%;
        text-align: center;
    }

    .vch-detalle__btn-preinscribirse-pe {
        width: 100%;
        text-align: center;
    }

    .vch-detalle-pe__notice {
        font-size: 0.9em;
        padding: 10px 12px;
    }

    .vch-login {
        padding: 24px 16px;
        min-height: 100vh;
    }

    .vch-login__card {
        padding: 32px 20px 24px;
    }

    .vch-login__btn-volver {
        width: 104px;
        text-align: center;
    }

    .vch-confirmacion__container {
        padding: 24px 18px 32px;
    }

    .vch-confirmacion__title {
        font-size: 1.2em;
    }

    .vch-confirmacion__dates {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .vch-confirmacion__btn-continuar,
    .vch-confirmacion__btn-volver {
        width: 100%;
        text-align: center;
    }

    .vch-form__container {
        padding: 24px 18px 32px;
    }

    .vch-form__greeting {
        font-size: 1.4em;
    }

    .vch-form__row {
        flex-direction: column;
        gap: 20px;
    }

    .vch-form__btn-enviar,
    .vch-form__btn-volver {
        width: 100%;
        text-align: center;
    }

    .vch-modal {
        padding: 36px 24px 28px !important;
        max-width: 340px !important;
    }

    .vch-modal--portal-empleo .vch-modal__actions {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .vch-modal--portal-empleo .vch-pe-exito__btn-mas-tarde,
    .vch-modal--portal-empleo .vch-pe-exito__btn-portal,
    .vch-modal--portal-empleo-confirmacion .vch-pe-confirm__btn-volver,
    .vch-modal--portal-empleo-confirmacion .vch-pe-confirm__btn-preinscribir {
        width: 100% !important;
        flex: none !important;
    }

    .vch-perfil__container {
        padding: 24px 18px 32px;
    }

    .vch-perfil__card {
        padding: 20px 18px !important;
    }
}

/* ===========================================================
   Modal de error de inscripción (no en VAT, ya inscripto, etc)
   Reutiliza la estructura del modal de éxito (.vch-modal-overlay
   + .vch-modal) — solo modifica el color del ícono.
   =========================================================== */
.vch-modal-overlay--error .vch-modal__icon svg circle,
.vch-modal-overlay--error .vch-modal__icon svg path {
    stroke: #d63638;
}

.vch-modal-overlay--error .vch-modal__icon svg circle[fill="#d63638"] {
    fill: #d63638;
    stroke: #d63638;
}

/* Borde dorado del modal (estilo card del Figma) — aplica a éxito y error */
.vch-modal {
    border: 2px solid #E5B45C !important;
}

/* ===========================================================
   Bloque agrupado de Domicilio (DNI / Actual)
   ===========================================================
   Layout fiel al Figma: dos columnas, sin card, label en bold,
   inputs con underline igual que el resto del form.
*/
.vch-form__row--domicilio {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 12px 0;
}

.vch-form__group-domicilio {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.vch-form__group-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #232D4F;
    margin: 0 0 4px 0;
}

.vch-form__sublabel {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #232D4F;
    margin: 0 0 2px 0;
}

.vch-form__required {
    color: #d63638;
    margin-left: 2px;
}

.vch-form__required-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #d63638;
    margin: 12px 0 4px 0;
}

.vch-form__group--two-thirds {
    flex: 2 1 0;
    min-width: 0;
}

.vch-form__group--one-third {
    flex: 1 1 0;
    min-width: 0;
}

/* En cada bloque de domicilio, los grupos internos son apilados */
.vch-form__group-domicilio .vch-form__group {
    margin: 0;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .vch-form__row--domicilio {
        flex-direction: column;
        gap: 28px;
    }

    .vch-form__group--half {
        width: 100%;
    }

    /* .vch-filters.fhc26-header__filters-row {
        flex-wrap: nowrap;
    } */

    .vch-filters__dropdown .fhc26-header__filter-select {
        min-width: 125px;
    }

}

/* ===========================================================
   Autocomplete (Provincia / Municipio)
   =========================================================== */
.vch-form__autocomplete {
    position: relative;
}

.vch-form__ac-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-top: none;
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vch-form__ac-list li {
    padding: 10px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #232D4F;
    cursor: pointer;
    border-bottom: 1px solid #F0F1F4;
}

.vch-form__ac-list li:last-child {
    border-bottom: none;
}

.vch-form__ac-list li:hover {
    background: #F3F4F6;
}

.vch-form__ac-empty {
    color: #9CA3AF !important;
    cursor: default !important;
    font-style: italic;
}

.vch-form__ac-empty:hover {
    background: transparent !important;
}


#vch-detalle,
#vch-confirmacion-wrapper,
#vch-formulario-wrapper,
.vch-cursos {
    flex: 1 1 0%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.vch-cursos {
    display: flex;
}
.vch-perfil__curso-meta span:has(.vch-perfil__curso-certificado) {
    display: none !important;
}
