/*
 GlobalTrainer WebPublic — Uniformidad V4
 Usa el contrato visual de .contact-form del sitio principal:
 - alto 54px
 - blanco
 - borde fino
 - tipografía Roboto
 - amarillo #ffbb33 para selección/foco
*/

.gt-job-registration,
.gt-job-list,
.gt-certificate-search {
    padding: 80px 0 90px;
}

.gt-form-card {
    max-width: 1080px;
    margin: 0 auto;
    padding: 34px;
    background: #fff;
    border: 1px solid rgba(28,28,28,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.gt-form-heading {
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(28,28,28,.08);
    padding-bottom: 18px;
}

.gt-form-heading > span {
    display: block;
    color: #d99400;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gt-form-heading h3 {
    margin: 4px 0 4px;
    color: #1c1c1c;
    font-family: 'Jost', sans-serif;
    font-size: 28px;
    font-weight: 800;
}

.gt-form-heading p {
    margin: 0;
    color: #6e6e74;
}

.gt-form-card .form-group {
    margin-bottom: 22px;
}

.gt-form-card .form-group > label {
    display: block;
    margin-bottom: 7px;
    color: #252525;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.gt-form-card .form-group > label b {
    color: #b87700;
}

.gt-form-card .form-group input[type="text"],
.gt-form-card .form-group input[type="email"],
.gt-form-card .form-group input[type="tel"],
.gt-form-card .form-group input[type="search"],
.gt-form-card .form-group input[type="date"],
.gt-form-card .form-group input[type="file"],
.gt-form-card .form-group select,
.gt-ssel-trigger {
    display: block;
    width: 100%;
    height: 54px;
    min-height: 54px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid rgba(28,28,28,.12);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,.05);
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 32px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.gt-form-card .form-group input:focus,
.gt-form-card .form-group select:focus,
.gt-ssel-trigger:focus-visible,
.gt-ssel.is-open .gt-ssel-trigger {
    outline: none;
    border-color: #ffbb33;
    box-shadow: 0 0 0 3px rgba(255,187,51,.18);
}

.gt-file-input {
    overflow: hidden;
    padding: 0 !important;
    line-height: 52px !important;
}

.gt-file-input::file-selector-button {
    height: 52px;
    margin: 0 14px 0 0;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid rgba(28,28,28,.10);
    background: #f8f8f8;
    color: #222;
    font-weight: 700;
    cursor: pointer;
}

.gt-help {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 12px;
}

.gt-actions-left {
    text-align: left;
}

.gt-actions-left .theme-btn,
.gt-code-action .theme-btn {
    border: 0;
}

.gt-form-message {
    max-width: 1080px;
    margin: 0 auto 18px;
    padding: 13px 16px;
    border-left: 4px solid;
    background: #fff;
    box-shadow: 0 7px 24px rgba(0,0,0,.05);
    font-weight: 700;
}

.gt-form-message.is-success {
    border-color: #18864b;
    color: #12643a;
}

.gt-form-message.is-error {
    border-color: #c73535;
    color: #9d2525;
}

.gt-cv-help {
    margin-bottom: 35px;
}

.gt-cv-help h4 {
    margin: 14px 0 18px;
}

/* SearchableSelect equivalente al estándar del Core, sin cargar Blazor en el sitio público. */
.gt-native-select-enhanced {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.gt-ssel {
    position: relative;
    width: 100%;
}

.gt-ssel-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.gt-ssel-trigger[disabled] {
    cursor: not-allowed;
    opacity: .55;
    background: #fafafa;
}

.gt-ssel-trigger-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gt-ssel-trigger-text.is-placeholder {
    color: #777;
    font-weight: 500;
}

.gt-ssel-chevron {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.gt-ssel.is-open .gt-ssel-chevron {
    transform: rotate(225deg) translate(-1px,-1px);
}

.gt-ssel-panel {
    position: absolute;
    z-index: 5000;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    display: none;
    overflow: hidden;
    border: 1px solid rgba(28,28,28,.12);
    background: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.gt-ssel.is-open .gt-ssel-panel {
    display: block;
}

.gt-ssel-search {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid rgba(28,28,28,.08);
}

.gt-ssel-search input {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid rgba(28,28,28,.12);
    border-radius: 0;
    background: #fff;
    color: #222;
    font: 600 14px 'Roboto', sans-serif;
}

.gt-ssel-search input:focus {
    outline: none;
    border-color: #ffbb33;
    box-shadow: 0 0 0 3px rgba(255,187,51,.14);
}

.gt-ssel-list {
    max-height: 300px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gt-ssel-option {
    width: 100%;
    min-height: 42px;
    padding: 10px 13px;
    border: 0;
    border-bottom: 1px solid rgba(28,28,28,.05);
    background: #fff;
    color: #2b2b2b;
    text-align: left;
    font: 600 13px 'Roboto', sans-serif;
    cursor: pointer;
}

.gt-ssel-option:hover,
.gt-ssel-option.is-active {
    background: #fff8e6;
}

.gt-ssel-option.is-selected {
    background: #ffbb33;
    color: #111;
}

.gt-ssel-empty {
    padding: 18px 13px;
    color: #777;
    text-align: center;
    font-size: 13px;
}

.gt-info-bar {
    margin: 18px 0;
    padding: 12px 15px;
    background: #ffbb33;
    color: #1c1c1c;
    font-weight: 700;
}

.gt-table-toolbar {
    display: flex;
    justify-content: center;
    margin: 22px 0 14px;
}

.gt-table-search {
    width: min(100%, 480px);
}

.gt-table-search input {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    border: 1px solid rgba(28,28,28,.12);
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,.05);
    font: 600 14px 'Roboto', sans-serif;
}

.gt-table-search input:focus {
    outline: none;
    border-color: #ffbb33;
    box-shadow: 0 0 0 3px rgba(255,187,51,.16);
}

.gt-table-shell {
    overflow-x: auto;
    background: #fff;
    border: 1px solid rgba(28,28,28,.08);
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

.gt-public-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.gt-public-table th {
    padding: 14px 12px;
    background: #1c1c1c;
    color: #fff;
    font: 800 12px 'Jost', sans-serif;
    letter-spacing: .04em;
    text-align: center;
}

.gt-public-table td {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(28,28,28,.07);
    color: #333;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
}

.gt-public-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.gt-public-table tbody tr:hover {
    background: #fff8e6;
}

.gt-row-action {
    min-width: 64px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid #ffbb33;
    background: #ffbb33;
    color: #111;
    font-weight: 800;
    cursor: pointer;
}

.gt-empty {
    margin: 20px 0;
    padding: 28px;
    border: 1px dashed rgba(28,28,28,.18);
    background: #fafafa;
    color: #666;
    text-align: center;
}

.gt-candidate-dialog {
    width: min(760px, calc(100% - 32px));
    border: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.gt-candidate-dialog::backdrop {
    background: rgba(0,0,0,.58);
}

.gt-dialog-close {
    position: absolute;
    right: 12px;
    top: 8px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.gt-dialog-content {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 34px;
}

.gt-dialog-icon {
    width: 90px;
    height: 110px;
    display: grid;
    place-items: center;
    background: #1c1c1c;
    color: #ffbb33;
    font: 900 26px 'Jost', sans-serif;
}

.gt-dialog-type {
    color: #b87900;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gt-dialog-content h3 {
    margin: 3px 0 16px;
    font: 800 28px 'Jost', sans-serif;
}

.gt-dialog-content dl {
    margin: 0 0 20px;
}

.gt-dialog-content dl div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(28,28,28,.07);
}

.gt-dialog-content dt {
    color: #666;
    font-weight: 700;
}

.gt-dialog-content dd {
    margin: 0;
    color: #222;
    font-weight: 700;
}

.gt-dialog-cv:not([href]),
.gt-dialog-cv[href=""] {
    display: none;
}

.gt-code-search-card {
    max-width: 950px;
}

.gt-code-row {
    align-items: end;
}

.gt-code-action {
    display: flex;
    align-items: flex-end;
}

.gt-code-action .theme-btn {
    width: 100%;
    min-height: 54px;
}

.gt-centered-copy {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

.gt-blog-detail {
    max-width: 980px;
    margin: 0 auto;
}

.gt-blog-detail > .image img {
    width: 100%;
    height: auto;
}

.gt-rich-content {
    color: #333;
    line-height: 1.9;
}

.gt-rich-content img {
    max-width: 100%;
    height: auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 767px) {
    .gt-job-registration,
    .gt-job-list,
    .gt-certificate-search {
        padding: 55px 0 65px;
    }

    .gt-form-card {
        padding: 22px 18px;
    }

    .gt-dialog-content {
        grid-template-columns: 1fr;
        padding: 46px 22px 24px;
    }

    .gt-dialog-icon {
        width: 72px;
        height: 86px;
    }

    .gt-code-action {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gt-ssel-chevron,
    .gt-form-card *,
    .gt-candidate-dialog * {
        transition: none !important;
    }
}

/* ============================================================
   CERTIFICADOS — DOBLE BÚSQUEDA
   Mantiene la búsqueda histórica Documento + Fecha y añade Código.
   ============================================================ */
.gt-certificate-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.gt-certificate-search-grid .gt-form-card {
    width: 100%;
    max-width: none;
    margin: 0;
}

.gt-certificate-method-card {
    display: flex;
    flex-direction: column;
}

.gt-certificate-method-card form {
    margin-top: auto;
}

.gt-certificate-results {
    margin-top: 34px;
}

.gt-results-heading {
    margin-bottom: 16px;
}

.gt-results-heading > span {
    display: block;
    color: #d99400;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.gt-results-heading h3 {
    margin: 4px 0 0;
    color: #1c1c1c;
    font-family: 'Jost', sans-serif;
    font-size: 26px;
    font-weight: 800;
}

.gt-results-heading p {
    margin: 3px 0 0;
    color: #777;
}

.gt-certificate-list {
    display: grid;
    gap: 14px;
}

.gt-certificate-result-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 22px 24px;
    border: 1px solid rgba(28,28,28,.08);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.gt-certificate-badge {
    display: inline-block;
    margin-bottom: 5px;
    color: #b87900;
    font: 900 11px 'Jost', sans-serif;
    letter-spacing: .08em;
}

.gt-certificate-result-copy h4 {
    margin: 0 0 5px;
    color: #1c1c1c;
    font: 800 22px 'Jost', sans-serif;
}

.gt-certificate-result-copy > p {
    margin: 0 0 10px;
    color: #555;
}

.gt-certificate-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #555;
    font-size: 13px;
}

.gt-certificate-meta strong {
    color: #222;
}

.gt-certificate-result-action {
    min-width: 190px;
    text-align: right;
}

@media (max-width: 991px) {
    .gt-certificate-search-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .gt-certificate-result-card {
        grid-template-columns: 1fr;
    }

    .gt-certificate-result-action {
        min-width: 0;
        text-align: left;
    }
}


/* ============================================================
   CERTIFICADOS / CONTROLES UNIFORMES V4.3
   Normaliza especialmente el input date del formulario de certificados.
   ============================================================ */

.gt-certificate-method-card .form-group input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
    padding-right: 48px;
    line-height: 32px;
}

.gt-certificate-method-card .form-group input[type="date"]::-webkit-date-and-time-value {
    min-height: 32px;
    text-align: left;
}

.gt-certificate-method-card .form-group input[type="date"]::-webkit-calendar-picker-indicator {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    cursor: pointer;
    opacity: .85;
}

.gt-certificate-method-card .form-group input[type="date"]::-webkit-inner-spin-button,
.gt-certificate-method-card .form-group input[type="date"]::-webkit-clear-button {
    display: none;
}

.gt-certificate-method-card .form-group input::placeholder {
    color: #7b7b81;
    font-weight: 500;
}

.gt-certificate-method-card .theme-btn {
    min-width: 235px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gt-certificate-method-card .theme-btn .btn-wrap {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gt-certificate-method-card .form-group {
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .gt-certificate-method-card .theme-btn {
        min-width: 100%;
    }
}

/* ============================================================
   CERTIFICADO VALIDACIÓN PREMIUM V5
   Fondo Full HD + contenido HTML responsive.
   ============================================================ */

.gt-cert-page {
    position: relative;
    min-height: calc(100vh - 96px);
    isolation: isolate;
    overflow: hidden;
    padding: clamp(58px, 7vw, 96px) 0 clamp(72px, 8vw, 110px);
    background:
        linear-gradient(90deg, rgba(8,10,13,.88) 0%, rgba(8,10,13,.68) 48%, rgba(8,10,13,.34) 100%),
        url('/images/certificados/FondoCertificadoFullHD.webp') center center / cover no-repeat;
}

.gt-cert-page__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 78% 12%, rgba(255,187,51,.22), transparent 31%),
        linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.25));
    pointer-events: none;
}

.gt-cert-page__container {
    position: relative;
}

.gt-cert-page__heading {
    width: min(100%, 850px);
    margin-bottom: 28px;
    color: #fff;
}

.gt-cert-page__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffbb33;
    font: 800 13px 'Jost', sans-serif;
    letter-spacing: .14em;
}

.gt-cert-page__heading h1 {
    margin: 0 0 9px;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: clamp(34px, 5vw, 66px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.03em;
    text-shadow: 0 4px 22px rgba(0,0,0,.28);
}

.gt-cert-page__heading p {
    max-width: 640px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font: 500 clamp(15px, 1.8vw, 19px) 'DM Sans', sans-serif;
    line-height: 1.55;
}

.gt-cert-panel {
    width: min(100%, 1040px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.94);
    box-shadow: 0 28px 90px rgba(0,0,0,.30);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.gt-cert-panel--search {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: stretch;
}

.gt-cert-panel__icon {
    display: grid;
    place-items: center;
    min-height: 100%;
    background:
        linear-gradient(145deg, #ffcf57, #ffb310);
    color: #111;
}

.gt-cert-panel__icon span {
    display: grid;
    width: 100px;
    height: 100px;
    place-items: center;
    border: 6px double #111;
    border-radius: 50%;
    font: 900 29px 'Jost', sans-serif;
    box-shadow:
        inset 0 0 0 5px rgba(255,255,255,.45),
        0 10px 26px rgba(0,0,0,.18);
}

.gt-cert-panel__body {
    padding: clamp(26px, 4vw, 46px);
}

.gt-cert-panel__kicker {
    display: block;
    margin-bottom: 5px;
    color: #b87900;
    font: 900 12px 'Jost', sans-serif;
    letter-spacing: .12em;
}

.gt-cert-panel__body h2 {
    margin: 0 0 8px;
    color: #1b1b1b;
    font: 800 clamp(25px, 3vw, 36px) 'Jost', sans-serif;
    line-height: 1.12;
}

.gt-cert-panel__body > p {
    margin: 0;
    color: #626268;
    line-height: 1.65;
}

.gt-cert-code-form {
    margin-top: 24px;
}

.gt-cert-code-form > label {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font: 800 14px 'Roboto', sans-serif;
}

.gt-cert-code-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.gt-cert-code-form input {
    width: 100%;
    height: 56px;
    padding: 0 17px;
    border: 1px solid rgba(28,28,28,.15);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 5px 14px rgba(0,0,0,.05);
    color: #222;
    font: 700 14px 'Roboto', sans-serif;
}

.gt-cert-code-form input:focus {
    outline: none;
    border-color: #ffbb33;
    box-shadow: 0 0 0 4px rgba(255,187,51,.18);
}

.gt-cert-code-form .theme-btn {
    min-width: 152px;
    min-height: 56px;
    border: 0;
}

.gt-cert-secondary-link {
    display: inline-flex;
    margin-top: 17px;
    color: #825a00;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.gt-cert-status {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    min-height: 218px;
    padding: clamp(24px, 4vw, 44px);
}

.gt-cert-status--valid {
    background:
        linear-gradient(110deg, rgba(255,215,92,.98), rgba(255,187,51,.98));
    color: #171717;
}

.gt-cert-status--invalid {
    grid-template-columns: 110px minmax(0, 1fr);
    background:
        linear-gradient(120deg, #970b12, #c4151f);
    color: #fff;
}

.gt-cert-status__seal {
    position: relative;
    display: grid;
    width: 154px;
    height: 154px;
    place-items: center;
    border: 8px double #171717;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #1d1a1c 0 38%, #f7cd57 39% 45%, #1d1a1c 46% 68%, #f7cd57 69%);
    box-shadow:
        0 16px 35px rgba(0,0,0,.24),
        inset 0 0 0 3px rgba(255,255,255,.35);
}

.gt-cert-status__seal strong {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 3px solid #f7cd57;
    border-radius: 50%;
    color: #f7cd57;
    font: 900 20px 'Jost', sans-serif;
}

.gt-cert-status__seal-top,
.gt-cert-status__seal-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #f7cd57;
    font: 900 10px 'Jost', sans-serif;
    letter-spacing: .08em;
}

.gt-cert-status__seal-top { top: 19px; }
.gt-cert-status__seal-bottom { bottom: 18px; }

.gt-cert-status__copy > span,
.gt-cert-status--invalid > div:last-child > span {
    display: block;
    margin-bottom: 5px;
    font: 900 12px 'Jost', sans-serif;
    letter-spacing: .12em;
}

.gt-cert-status__copy h2,
.gt-cert-status--invalid h2 {
    margin: 0 0 8px;
    font-family: 'Jost', sans-serif;
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.08;
}

.gt-cert-status__copy h2 strong {
    font-weight: 900;
}

.gt-cert-status__copy p,
.gt-cert-status--invalid p {
    margin: 0;
    max-width: 700px;
    font-weight: 600;
    line-height: 1.55;
}

.gt-cert-status__mark {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 4px solid rgba(255,255,255,.9);
    border-radius: 50%;
    color: #fff;
    font: 300 66px/1 'Jost', sans-serif;
}

.gt-cert-verified-badge {
    display: block;
    width: min(100%, 400px);
    height: auto;
    margin: 0 0 24px;
}

.gt-cert-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gt-cert-data {
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid rgba(28,28,28,.08);
    background: #fff;
    box-shadow: 0 7px 22px rgba(0,0,0,.04);
}

.gt-cert-data--wide {
    grid-column: 1 / -1;
}

.gt-cert-data span {
    display: block;
    margin-bottom: 5px;
    color: #8a650d;
    font: 900 11px 'Jost', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gt-cert-data strong {
    display: block;
    overflow-wrap: anywhere;
    color: #222;
    font: 800 clamp(15px, 1.9vw, 19px) 'Roboto', sans-serif;
    line-height: 1.42;
}

.gt-cert-code {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 16px;
    padding: 13px 16px;
    background: #f7f7f7;
    border-left: 4px solid #ffbb33;
}

.gt-cert-code span {
    color: #777;
    font: 900 10px 'Jost', sans-serif;
    letter-spacing: .10em;
}

.gt-cert-code strong {
    overflow-wrap: anywhere;
    color: #222;
    font: 700 13px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.gt-cert-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;
}

.gt-cert-actions .theme-btn {
    border: 0;
}

.gt-cert-invalid-copy {
    max-width: 720px;
    color: #555 !important;
}

@media (max-width: 767px) {
    .gt-cert-page {
        min-height: 100vh;
        padding: 42px 0 62px;
        background-position: 58% center;
    }

    .gt-cert-page__heading {
        margin-bottom: 20px;
    }

    .gt-cert-panel--search,
    .gt-cert-status,
    .gt-cert-status--invalid {
        grid-template-columns: 1fr;
    }

    .gt-cert-panel__icon {
        min-height: 125px;
    }

    .gt-cert-panel__icon span {
        width: 82px;
        height: 82px;
        font-size: 24px;
    }

    .gt-cert-status {
        gap: 18px;
    }

    .gt-cert-status__seal {
        width: 126px;
        height: 126px;
    }

    .gt-cert-status__mark {
        width: 68px;
        height: 68px;
        font-size: 52px;
    }

    .gt-cert-code-form__row {
        grid-template-columns: 1fr;
    }

    .gt-cert-code-form .theme-btn {
        width: 100%;
    }

    .gt-cert-data-grid {
        grid-template-columns: 1fr;
    }

    .gt-cert-data--wide {
        grid-column: auto;
    }
}

@media (max-width: 479px) {
    .gt-cert-page__heading h1 {
        font-size: 34px;
    }

    .gt-cert-panel__body,
    .gt-cert-status {
        padding: 22px 18px;
    }

    .gt-cert-verified-badge {
        width: min(100%, 320px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gt-cert-page *,
    .gt-cert-page *::before,
    .gt-cert-page *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ============================================================
   VALIDAR CERTIFICADO V5.1 — ICONOS DESDE IMAGEN
   ============================================================ */
.gt-cert-status__icon-image {
    display: block;
    width: 100%;
    height: auto;
}

.gt-cert-status__icon-image--valid {
    width: 154px;
    max-width: 100%;
    justify-self: center;
    filter: drop-shadow(0 16px 30px rgba(0,0,0,.18));
}

.gt-cert-status__image-wrap--invalid {
    display: grid;
    width: 110px;
    height: 110px;
    place-items: center;
    justify-self: center;
    border-radius: 26px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.26);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.08),
        0 12px 28px rgba(0,0,0,.14);
}

.gt-cert-status__icon-image--invalid {
    width: 70px;
    max-width: 70px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.18));
}

@media (max-width: 767px) {
    .gt-cert-status__icon-image--valid {
        width: 126px;
    }

    .gt-cert-status__image-wrap--invalid {
        width: 92px;
        height: 92px;
    }

    .gt-cert-status__icon-image--invalid {
        width: 58px;
        max-width: 58px;
    }
}

/* ============================================================
   VALIDAR CERTIFICADO — ESCÁNER QR V5.3
   ============================================================ */

.gt-cert-code-form__row {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.gt-cert-scan-button {
    min-width: 168px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid #ffbb33;
    background: #fff;
    color: #1b1b1b;
    font: 800 12px 'Jost', sans-serif;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.gt-cert-scan-button:hover,
.gt-cert-scan-button:focus-visible {
    background: #ffbb33;
    border-color: #ffbb33;
    color: #111;
}

.gt-cert-scan-button:active {
    transform: translateY(1px);
}

.gt-cert-scan-button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

html.gt-qr-scanner-open,
html.gt-qr-scanner-open body {
    overflow: hidden;
}

.gt-qr-scanner-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 8, 10, .78);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.gt-qr-scanner-modal.is-open {
    display: flex;
}

.gt-qr-scanner-dialog {
    width: min(100%, 620px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid rgba(255, 187, 51, .28);
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.gt-qr-scanner-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(28, 28, 28, .08);
}

.gt-qr-scanner-heading span {
    display: block;
    margin-bottom: 3px;
    color: #b87900;
    font: 900 11px 'Jost', sans-serif;
    letter-spacing: .11em;
}

.gt-qr-scanner-heading h3 {
    margin: 0;
    color: #191919;
    font: 800 25px/1.15 'Jost', sans-serif;
}

.gt-qr-scanner-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(28, 28, 28, .12);
    background: #fff;
    color: #222;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.gt-qr-scanner-body {
    padding: 22px 24px 24px;
}

.gt-qr-scanner-video-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #101114;
}

.gt-qr-scanner-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-qr-scanner-frame {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(62%, 270px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 187, 51, .95);
    box-shadow: 0 0 0 999px rgba(0, 0, 0, .16), 0 0 28px rgba(255, 187, 51, .18);
    pointer-events: none;
}

.gt-qr-scanner-frame::before,
.gt-qr-scanner-frame::after {
    content: "";
    position: absolute;
    width: 42px;
    height: 42px;
    border-color: #fff;
    border-style: solid;
}

.gt-qr-scanner-frame::before {
    top: -4px;
    left: -4px;
    border-width: 4px 0 0 4px;
}

.gt-qr-scanner-frame::after {
    right: -4px;
    bottom: -4px;
    border-width: 0 4px 4px 0;
}

.gt-qr-scanner-status {
    min-height: 24px;
    margin: 16px 0 0;
    color: #5f6066;
    font: 600 13px/1.5 'DM Sans', sans-serif;
}

.gt-qr-scanner-status.is-error {
    color: #b4111c;
}

.gt-qr-scanner-status.is-success {
    color: #24763a;
}

.gt-qr-scanner-help {
    margin: 5px 0 0;
    color: #85858a;
    font-size: 12px;
    line-height: 1.5;
}

.gt-qr-scanner-footer {
    display: flex;
    justify-content: flex-start;
    padding: 0 24px 24px;
}

.gt-qr-scanner-footer button {
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #1c1c1c;
    background: #fff;
    color: #1c1c1c;
    font: 800 11px 'Jost', sans-serif;
    letter-spacing: .07em;
    cursor: pointer;
}

@media (max-width: 991px) {
    .gt-cert-code-form__row {
        grid-template-columns: 1fr;
    }

    .gt-cert-scan-button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .gt-qr-scanner-modal {
        padding: 0;
        align-items: flex-end;
    }

    .gt-qr-scanner-dialog {
        width: 100%;
        max-height: 92vh;
    }

    .gt-qr-scanner-header,
    .gt-qr-scanner-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gt-qr-scanner-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ============================================================
   VALIDAR CERTIFICADO — UX QR + RESULTADO SIMPLE V5.4
   ============================================================ */

.gt-cert-code-form input[readonly] {
    background: #f7f7f7;
    color: #4f4f53;
    cursor: default;
}

.gt-cert-code-form input[readonly]:focus {
    border-color: rgba(28,28,28,.15);
    box-shadow: 0 5px 14px rgba(0,0,0,.05);
}

.gt-cert-status--valid-simple {
    display: flex;
    min-height: 210px;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 5vw, 54px);
    text-align: center;
}

.gt-cert-status--valid-simple .gt-cert-status__copy {
    width: min(100%, 980px);
}

.gt-cert-status--valid-simple .gt-cert-status__copy h2 {
    margin: 0;
    font-size: clamp(28px, 4.2vw, 48px);
}

.gt-cert-panel--valid-simple .gt-cert-panel__body {
    padding-top: 18px;
    padding-bottom: 24px;
}

.gt-cert-panel--valid-simple .gt-cert-actions {
    justify-content: center;
    margin-top: 0;
}

/* ============================================================
   GLOBALTRAINER WEBPUBLIC — QR DESKTOP HINT V5.6
   ============================================================ */

.gt-cert-desktop-scan-hint {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 3px solid #ffbb33;
    background: rgba(255, 187, 51, .08);
    color: #55565b;
    font-size: 13px;
    line-height: 1.45;
}

.gt-cert-desktop-scan-hint svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #b87900;
}

.gt-cert-desktop-scan-hint strong {
    color: #1c1c1c;
}

@media (max-width: 767px) {
    .gt-cert-desktop-scan-hint {
        display: none;
    }
}

/* ============================================================
   GLOBALTRAINER WEBPUBLIC — CERTIFICADOS QR + MENÚ V5.7
   ============================================================ */

.gt-certificate-qr-help {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 3px solid #ffbb33;
    background: rgba(255, 187, 51, .08);
    color: #55565b;
    font-size: 13px;
    line-height: 1.45;
}
.gt-certificate-qr-help svg { width:18px; height:18px; flex:0 0 18px; color:#b87900; }
.gt-certificate-qr-help strong { color:#1c1c1c; }
.gt-certificate-method-card input[readonly] { background:#fff; color:#404045; opacity:1; -webkit-text-fill-color:#404045; }
.gt-certificates-qr-actions { display:flex; align-items:center; justify-content:flex-start; gap:12px; flex-wrap:wrap; }
.gt-certificates-qr-actions .theme-btn,
.gt-certificates-qr-actions .gt-cert-scan-button { min-height:54px; }
@media (max-width:767px) {
    .gt-certificate-qr-help { display:none; }
    .gt-certificates-qr-actions { display:grid; grid-template-columns:1fr; gap:10px; }
    .gt-certificates-qr-actions .theme-btn,
    .gt-certificates-qr-actions .gt-cert-scan-button { width:100%; min-width:0; }
}
