/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ==========================================
   GO LOCAL PROMOTIONS
   OFFICIAL BRAND TYPOGRAPHY
   ========================================== */

/* OSWALD LIGHT - WEIGHT 300 */
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

/* OSWALD BOLD - WEIGHT 700 */
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/* GO LOCAL BRAND FONT VARIABLES */
:root {
    --gl-font: 'Oswald', Arial, sans-serif;
    --gl-font-light: 300;
    --gl-font-bold: 700;
}


:root {
    /* Ancho máximo de contenido centrado */
    --content-max: 980px;
    /* 920–1100px suele ir bien */
}

html,
body {
    overscroll-behavior-y: none;
    min-height: 100%;
    overflow-x: hidden;
}


/* Estilos generales */
body {
    background-color: #010F3C;
    color: #333;
    text-align: center;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Header con logo centrado y hamburguesa a la izquierda */
header {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 10px 0;
    background-color: #010F3C;
    z-index: 1000;
}

header img {
    max-width: 200px;
    height: auto;
}

#userAvatar {
    position: absolute;
    right: 12px;
    top: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #010F3C;
    color: #ffffff;
    border: 2px solid #FF5A2F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}


#hamburgerBtn {
    position: absolute;
    left: 8px;
    top: 3px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: #010F3C;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform .15s ease, background .15s ease;
    z-index: 1000;
}

/* En desktop, muévelo para que “caiga” sobre el borde izquierdo del contenido centrado */
@media (min-width: 992px) {
    #hamburgerBtn {
        left: calc((100vw - var(--content-max)) / 2 + 12px);
        /*             margen izquierdo del contenedor  padding interno */
    }
}

@media (min-width: 992px) {
    #userAvatar {
        right: calc((100vw - var(--content-max)) / 2 + 12px);
    }
}

#hamburgerBtn:hover {
    background: #1E305C;
    transform: scale(1.05);
}

#hamburgerBtn i {
    font-size: 2.4rem;
    line-height: 1;
}

/* === SIDE MENU DEFINITIVO (174 fixed) === */
:root {
    --content-max: 980px;
    /* ancho base del contenido centrado */
}

/* Estado base: cerrado */
#sideMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 286px;
    height: 100dvh;
    background: #102243;
    color: #fff;
    z-index: 1200;
    padding: 10px 8px 8px;
    box-shadow: 2px 0 18px rgba(0, 0, 0, .4);

    transform: translateX(-100%);
    transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    opacity: 0.98;

    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* ABIERTO: solo cambiamos el transform */
#sideMenuBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

#sideMenuBackdrop.show {
    opacity: 1;
    pointer-events: auto;
}

#sideMenu.open {
    transform: translateX(0);
}


/* ===== Desktop: entra desde arriba ===== */
@media (min-width: 992px) {
    :root {
        --gutter: calc((100vw - var(--content-max)) / 2);
    }

    #sideMenu {
        left: var(--gutter);
        top: 0;
        width: 320px;
        height: calc(100vh - 8px);
        max-height: calc(100vh - 8px);
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, .28);

        transform: translateY(-110%);
        transform-origin: top left;
        overflow-y: hidden;
        display: flex;
        flex-direction: column;
    }

    #sideMenu.open {
        transform: translateY(0);
    }

    #sideMenu[aria-hidden="true"] {
        transform: translateY(-110%);
    }

    .sideMenu-list {
        flex: 1 1 auto;
        overflow-y: auto;
        padding-right: 4px;
    }
}


@media (min-width: 992px) {
    #sideMenu {
        backdrop-filter: blur(2px);
    }
}

@media (min-width: 992px) {
    .sideMenu-item {
        padding: 10px 10px;
        margin-bottom: 7px;
        font-size: 0.95rem;
        min-height: 46px;
    }

    .sideMenu-header {
        padding: 5px 3px 8px;
        margin-bottom: 8px;
    }
}

.sideMenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 2px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 8px;
    flex: 0 0 auto;
}

.sideMenu-header span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .2px;
}

#closeMenuBtn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 8px;
    padding: 6px;
}

#closeMenuBtn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sideMenu-list {
    list-style: none;
    margin-top: 4px;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    scrollbar-width: none;
}

.sideMenu-list::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sideMenu-list li {
    margin: 0;
    padding: 0;
}

.sideMenu-item {
    width: 100%;
    text-align: left;
    background: #1B3464;
    border: none;
    color: #fff;
    padding: 10px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .15s ease, transform .1s ease;
    font-size: 0.94rem;
    line-height: 1.2;
    min-height: 48px;
}

.sideMenu-item i {
    font-size: 1rem;
    flex: 0 0 18px;
}

.sideMenu-item:hover {
    background: #254279;
    transform: translateX(2px);
}

/* Estado deshabilitado para items del menú lateral */
.sideMenu-item.is-disabled,
.sideMenu-item:disabled {
    background: #3a4a73 !important;
    /* más apagado que #1B3464 */
    color: #cbd5e1 !important;
    /* texto gris-azulado */
    cursor: not-allowed !important;
    pointer-events: none !important;
    /* no recibe clic */
    transform: none !important;
    /* sin efecto hover */
    opacity: 0.7;
}

.sideMenu-item.is-disabled i,
.sideMenu-item:disabled i {
    opacity: 0.85;
}


#supportShotWrap {
    max-height: 60vh;
    overflow-y: auto;
}

#supportShotPreview {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    display: block;
}

.cm-dialog {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.cm-body {
    overflow-y: auto;
}

/* Contenido principal */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 8px 16px 0;
    min-height: 0;
    /* 🔥 CRÍTICO */
    overflow: visible;
    /* 🔥 CRÍTICO */
}

main .container {
    background-color: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
    width: 100%;
    max-width: 500px;
    margin-top: 0;
}

#main-view>p {
    display: none !important;
}

#main-view {
    padding-top: 4px;
    margin-top: 0;
    min-height: 0;
    overflow-y: auto;
}

h1,
h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #004a99;
}

#mainLabel {
    font-size: 1.5rem;
    color: #FF4032;
    font-weight: 500;
}

#versionLabel {
    color: black;
    /*  #1E305C; #FF4032*/
    font-size: 1.0rem;
    opacity: 0.90;
}

/* Input de código */
#code-container {
    margin-bottom: 12px;
    font-size: 0.8rem;
}

#codeInput {
    width: 70%;
    max-width: 300px;
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #004a99;
    border-radius: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
}

#loginBtn {
    width: 70%;
    max-width: 300px;
}

#codeInput::placeholder {
    text-transform: none;
}

#code-container button {
    padding: 12px 25px;
    font-size: 1.1rem;
    background-color: #004a99;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

#code-container button:hover {
    background-color: #0066cc;
}

/* Selected shift info */
#selected-shift-info {
    font-size: 1rem;
    color: #333;
    margin-top: 0;
}

#selected-shift-info .mb-3 {
    margin: 0 !important;
}

#shiftDatetime {
    color: #004a99;
    font-weight: 600;
}

/* Acciones */
#action-container {
    margin-top: 6px;
    margin-bottom: 6px;
}

#action-container button {
    width: 100%;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    margin: 14px 0;
}

#action-container button:hover {
    opacity: 0.9;
}

@media (max-height: 660px) {
    #action-container button {
        font-size: 1.3rem;
        padding: 16px;
    }
}

/* Colores de botones */
.btn-checkin {
    background-color: #28a745;
    color: #fff;
    border-radius: 12px;
    opacity: 0.9;
}

.btn-checkout {
    background-color: #dc3545;
    color: #fff;
    border-radius: 12px;
    opacity: 0.9;

}

.btn-report-checkout {
    /* background: linear-gradient(90deg, #2563eb, #16a34a); */
    background: #dc3545;
    color: #fff;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0.96;
}


.btn-break {
    background-color: #ffc107;
    color: #000 !important;
    border-radius: 12px;
    padding: 14px;
    font-size: 1.3rem;
    opacity: 0.9;
}

.btn-break i {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

@media (max-height: 660px) {
    .btn-break {
        font-size: 1.1rem;
        padding: 12px;
    }
}

/* Timers */
#timers {
    margin-top: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media (max-height: 660px) {
    #timers {
        font-size: 16px;
        padding: 8px 24px;
    }
}

/* =========================================
   ELAPSED BREAK TIME — GO LOCAL 4.0
   ========================================= */

#timers {
    width: 100%;
    box-sizing: border-box;
}

#break-timer {
    width: 100%;
    color: #010F3C;
}

.gl-break-timer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;

    background: #FFFFFF;
    border-radius: 12px;

    font-family: 'Oswald', sans-serif;
    color: #010F3C;
}

.gl-break-timer-label {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
}

#break-chrono {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 23px;
    line-height: 1;
    color: #010F3C;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 380px) {
    .gl-break-timer-card {
        padding: 12px;
        gap: 8px;
    }

    .gl-break-timer-label {
        font-size: 14px;
    }

    #break-chrono {
        font-size: 20px;
    }
}

#shift-timer {
    color: #000;
}

/* Modal cámara */
#camera-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    /* el JS lo pone en display:flex cuando lo crea */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#camera-modal video,
#camera-modal img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
    background-color: black;
    margin-bottom: 20px;
    object-fit: cover;
    touch-action: none;
}

video::-webkit-media-controls,
video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
    -webkit-appearance: none !important;
}

#camera-modal button {
    margin: 6px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease-in-out;
}

#camera-modal button:hover {
    background-color: #e0e0e0;
}

#camera-modal .btn-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    margin-top: 16px;
}

#camera-modal .btn-row .btn {
    flex: 0 1 auto;
    white-space: nowrap;
    padding: 10px 16px;
    line-height: 1.2;
    border-radius: 10px;
    min-width: 120px;
    font-size: clamp(13px, 2.6vw, 16px);
}

#camera-modal .btn-row .btn i,
#camera-modal .btn-row .btn .icon {
    display: inline-block;
    margin-right: 8px;
    vertical-align: -1px;
    font-size: 1em;
}

@media (max-width: 420px) {
    #camera-modal .btn-row {
        gap: 10px;
    }

    #camera-modal .btn-row .btn {
        min-width: 108px;
        padding: 9px 14px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    #camera-modal .btn-row {
        gap: 8px;
    }

    #camera-modal .btn-row .btn {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 12.5px;
    }
}

@media (max-width: 340px) {
    #camera-modal .btn-row {
        gap: 6px;
    }

    #camera-modal .btn-row .btn {
        min-width: 90px;
        padding: 7px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    #camera-modal button {
        font-size: 18px;
        padding: 12px 24px;
    }
}

/* Toast / showMessage */
#responseMessage {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

#code-container #responseMessage .alert {
    font-family: var(--gl-font);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.4;
    border-radius: 10px;
}

#responseMessage .alert {
    margin: 0;
    border-radius: 8px;
    font-weight: lighter;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== CLOSE BUTTONS ===== */
/* Look común para TODOS los botones de cierre */
.close-btn {
    color: #1E305C;
    /* color por defecto */
}

.close-btn:hover {
    background: rgba(30, 48, 92, 0.08);
}

.close-btn:focus-visible {
    outline: 2px solid #9ec5fe;
    outline-offset: 2px;
}

/* mantener el “empuje” visual del header-close también al hacer click */
.close-btn:active {
    transform: translate(10px, -10px) scale(0.98);
}

/* Modificador: rojo (úsalo donde quieras) */
.close-btn.is-red {
    color: #dc2626;
}

.close-btn.is-red:hover {
    background: rgba(220, 38, 38, 0.08);
}

.close-btn.is-red:focus-visible {
    outline: 2px solid #fecaca;
    outline-offset: 2px;
}


/* ===== Scheduler header con botón Close (X círculo) ===== */
.scheduler-header,
.reports-header,
.payroll-header,
#reimb-view .reimb-header,
.live-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e7eef8;
    margin-bottom: 10px;
    padding: 10px 0 6px 0;
}


/* Botón X: más arriba y más a la derecha, con buen área táctil */
.header-close {
    position: absolute;
    right: 0;
    /* ancla a borde derecho interno */
    top: 0;
    /* ancla a borde superior interno */
    width: 44px;
    /* área táctil recomendada */
    height: 44px;
    display: grid;
    place-items: center;
    border: none;
    background: transparent;
    color: #1E305C;
    border-radius: 12px;
    cursor: pointer;

    /* empuja visualmente aún más arriba/derecha sin perder el área táctil */
    transform: translate(10px, -10px);
    line-height: 0;
    /* fix Safari/iPhone 8: evita que “baje” por baseline */
}

.header-close i {
    font-size: 1.45rem;
    display: block;
    /* junto con line-height:0, fija el alto del ícono */
}

.header-close:hover {
    background: rgba(30, 48, 92, 0.08);
}

.header-close:active {
    transform: translate(10px, -10px) scale(0.98);
}

.header-close:focus-visible {
    outline: 2px solid #9ec5fe;
    outline-offset: 2px;
}



.scheduler-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.scheduler-card {
    text-align: left;
    border: 2px solid #e7eef8;
    border-radius: 14px;
    padding: 12px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .2s ease;
}

.scheduler-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.scheduler-card .row1 {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
    color: #1E305C;
    font-weight: 600;
}

.scheduler-card .row2 {
    color: #004a99;
    font-weight: 600;
    margin-bottom: 2px;
}

.scheduler-card .row3 {
    color: #2b2b2b;
    opacity: .9;
}

.scheduler-empty {
    padding: 16px;
    color: #666;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 10px;
    margin-top: 12px;
}

/* ===== CONTACT MODAL ===== */

/* ===== CONTACT MODAL (FULL, reemplaza tu bloque del modal) ===== */
#contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    /* se muestra con .show */
    align-items: center;
    justify-content: center;
}

#contact-modal.show {
    display: flex;
}

#contact-modal .cm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

#contact-modal .cm-dialog {
    position: relative;
    width: min(92vw, 480px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
    padding: 14px 16px;
    z-index: 1;
    text-align: left;
}

/* Header centrado con espacio reservado para el botón (derecha) */
#contact-modal .cm-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-right: 72px;
    /* más espacio para el botón */
    overflow: visible;
    /* por si el botón se “sale” un poquito */
    /* espacio para el botón X */
}

#contact-modal .cm-header h4 {
    margin: 0;
    color: #004a99;
    font-weight: 600;
}

/* Botón Close del modal: X en círculo rojo */
#contact-modal .modal-close {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 44px;
    height: 44px;
    /* área táctil óptima */
    display: grid;
    place-items: center;
    border: none;
    background: transparent;
    border-radius: 12px;
    line-height: 0;
    /* evita “bajar” del ícono en iOS */
    transform: translate(12px, -12px);
    /* lo empuja visualmente hacia afuera (↑ y →) */
    z-index: 2;
}

#contact-modal .modal-close i {
    font-size: 1.4rem;
    display: block;
}

/* SUPPORT REQUEST - CLOSE BUTTON WHITE */

#contact-modal .modal-close.close-btn.is-red,
#contact-modal .modal-close.close-btn.is-red i {
    color: #FFFFFF !important;
}

#contact-modal .modal-close.close-btn.is-red {
    background: transparent !important;
}

#contact-modal .modal-close.close-btn.is-red:hover {
    background: rgba(255, 255, 255, 0.10) !important;
}

#contact-modal .modal-close.close-btn.is-red:focus-visible {
    outline: 2px solid #fecaca;
    outline-offset: 2px;
}

/* Evita el “salto” de translate heredado */
#contact-modal .modal-close:active {
    transform: translate(12px, -12px) scale(0.98);
}

/* Cuerpo del modal */
#contact-modal .cm-body p {
    margin: 0 0 10px 0;
    color: #24324B;
    line-height: 1.45;
}

/* soporte para inert (deshabilita puntero y foco) */
[inert] {
    pointer-events: none;
}

[inert] * {
    pointer-events: none !important;
}

/* ===== WHATSAPP LINK ===== */
.wa-link {
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wa-link:hover {
    text-decoration: underline;
}

.wa-link .bi-whatsapp {
    font-size: 1.1em;
    line-height: 1;
}

/* ===== SUPPORT MODAL IMPROVEMENTS ===== */

#contact-modal .cm-dialog {
    width: min(92vw, 520px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
}

#contact-modal .cm-header h4 {
    font-size: 1.45rem;
    font-weight: 700;
}

#contact-modal .cm-body {
    overflow-y: auto;
}

#contact-modal .cm-body p {
    font-size: 1.08rem;
    line-height: 1.55;
    color: #24324B;
    margin: 0 0 12px 0;
}

.support-wa-row {
    margin: 10px 0 14px 0;
}

.support-wa-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.support-identity-wrap {
    margin: 12px 0 14px 0;
    padding: 12px;
    border: 1px solid #dbe3f0;
    border-radius: 12px;
    background: #f8fbff;
}

.support-identity-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1E305C;
    margin-bottom: 10px;
}

.support-identity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.support-identity-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.support-identity-actions .btn {
    flex: 1;
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
}

.support-privacy-note {
    font-size: 0.95rem !important;
    line-height: 1.45;
    color: #5b6475 !important;
    margin-top: 8px;
}

#supportShotWrap {
    max-height: 60vh;
    overflow-y: auto;
}

#supportShotPreview {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    display: block;
}

/* ===== NEXT PAYROLL ===== */

/* ===== NEXT PAYROLL: Shift Date + Time en 1 sola columna ===== */
.payroll-table td.payroll-dt {
    white-space: normal;
    /* permite 2 líneas dentro de la celda */
    line-height: 1.15;
    min-width: 120px;
    /* ajusta si quieres más/menos */
}

.payroll-table td.payroll-dt .dt-date {
    font-weight: 600;
    color: #2b2b2b;
}

.payroll-table td.payroll-dt .dt-time {
    margin-top: 2px;
    font-weight: 600;
    color: #1E305C;
}


.payroll-table-wrap {
    position: relative;
    /* scrolling ancestor para sticky */
    margin-top: 8px;
    border: 2px solid #e7eef8;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: auto;
    /* barra horizontal si no cabe */
}

/* Tabla */
.payroll-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
    /* fuerza scroll horizontal si es necesario */
}

.payroll-table thead th {
    position: sticky;
    top: 0;
    background: #e9f1fb;
    color: #1E305C;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #d6e4f7;
    z-index: 3;
}

/* TH de Total: fijo arriba y pegado a la derecha */
.payroll-table thead th:last-child {
    position: sticky;
    top: 0;
    right: 0;
    z-index: 5;
    /* sobre las celdas del body */
    background: #e9f1fb;
    border-left: 1px solid #d6e4f7;
    min-width: 96px;
    /* ancho estable para $ */
}

.payroll-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef3fb;
    font-size: 0.95rem;
    background: #fff;
}

.payroll-table tbody tr:nth-child(even) td {
    background: #f8fbff;
}

.payroll-table tbody tr:last-child td {
    border-bottom: none;
}

/* Alineaciones y comportamiento de texto */
.payroll-table th,
.payroll-table td {
    white-space: nowrap;
    /* evita cortes en números/horas */
}

.payroll-table th.event,
.payroll-table td.event {
    white-space: normal;
    /* el Event puede ocupar dos líneas */
    max-width: 260px;
    /* limitar ancho del Event */
}

.payroll-table td.event {
    text-align: left;
    padding-left: 12px;
    /* un pelín de aire visual */
}

.payroll-table th.num,
.payroll-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.payroll-table td.num.center {
    text-align: center;
}

/* Columna TOTAL siempre visible (pegada a la derecha) en el body */
.payroll-table tbody td:last-child {
    position: sticky;
    right: 0;
    z-index: 4;
    /* debajo del header */
    background: #fff;
    border-left: 1px solid #eef3fb;
}

.payroll-table tbody tr:nth-child(even) td:last-child {
    background: #f8fbff;
}



/* ===== LAST PAYROLL (cards como Scheduler) ===== */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e7eef8;

    display: flex;
    align-items: center;
    justify-content: center;
    /* título centrado */
    margin-bottom: 10px;

    /* espacio para el botón X a la derecha */
    padding: 10px 72px 6px 10px;
    overflow: visible;
}

.lp-title {
    margin: 0;
    color: #004a99;
    line-height: 1.2;
}

.lp-empty {
    padding: 16px;
    color: #666;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 10px;
    margin-top: 12px;
}

/* contenedor de las cards (reutiliza .scheduler-list) */
#last-list {
    max-height: 65vh;
    overflow-y: auto;
}

/* Ajustes específicos para las filas internas de las tarjetas SOLO en Last Payroll */
#last-list .scheduler-card .row3 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    color: #1E305C;
    margin-top: 6px;
}

#last-list .scheduler-card .row3 i {
    margin-right: 4px;
}

#last-list .scheduler-card .row4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed #e7eef8;
    color: #1E305C;
}

#last-list .scheduler-card .row4 i {
    margin-right: 6px;
}

#last-list .scheduler-card .row4 strong {
    font-size: 1.05rem;
}

/* === Mini color-coding para Last Payroll === */
#last-list .scheduler-card .row3 .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
}

#last-list .scheduler-card .row3 .chip i {
    margin-right: 2px;
}

/* Chips por tipo */
#last-list .chip--hrs {
    background: #eef3fb;
    color: #1E305C;
}

#last-list .chip--rate {
    background: #e7fff6;
    color: #0a7f66;
}

/* teal suave */
#last-list .chip--reimb {
    background: #e8f4ff;
    color: #0b6efb;
}

/* azul */
#last-list .chip--reimb-zero {
    background: #f3f4f6;
    color: #7a8699;
}

/* apagado */

/* Barra Total con acento a la izquierda */
#last-list .total-bar {
    border-top: 1px dashed #e7eef8;
    margin-top: 8px;
    padding-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid transparent;
    border-radius: 8px;
    padding-left: 10px;
}

/* Intensidades por monto total */
#last-list .total--hi {
    background: rgba(40, 167, 69, .08);
    color: #2e7d32;
    border-left-color: #2e7d32;
}

/* ≥ 200 */
#last-list .total--med {
    background: #fff7e6;
    color: #b26a00;
    border-left-color: #b26a00;
}

/* 100–199.99 */
#last-list .total--low {
    background: #f2f4f7;
    color: #334155;
    border-left-color: #94a3b8;
}

/* < 100 */



/* ===== Menú: badge rojo para "Reportes" ===== */
.badge-pill {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(16, 34, 67, 0.4);
}



/* ===== REPORTS  ===== */

#backToMainFromReports {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.reports-empty {
    padding: 16px;
    color: #666;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 10px;
    margin-top: 12px;
}

#reports-list {
    max-height: 65vh;
    overflow-y: auto;
}

/* Chips (reutilizamos el estilo del Scheduler y añadimos tipos de Reporte) */
#reports-list .scheduler-card .row3 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    color: #1E305C;
    margin-top: 6px;
}

#reports-list .scheduler-card .row3 .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
}

#reports-list .scheduler-card .row3 .chip i {
    margin-right: 2px;
}

/* Tipos de chips */
.chip--status {
    background: #fff4e5;
    color: #b26a00;
}

/* pending */
.chip--urgent {
    background: #fde2e2;
    color: #b91c1c;
}

/* overdue */
.chip--location {
    background: #eef3fb;
    color: #1E305C;
}

.chip--id {
    background: #f3f4f6;
    color: #475569;
}

/* Fila inferior con “Due/Created” */
#reports-list .scheduler-card .row4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed #e7eef8;
    color: #1E305C;
}

#reports-list .scheduler-card .row4 i {
    margin-right: 6px;
}

/* Estado deshabilitado del menú (por compatibilidad con el helper) */
.sideMenu-item.is-disabled,
.sideMenu-item:disabled {
    background: #3a4a73 !important;
    color: #cbd5e1 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    opacity: .7;
}

.sideMenu-item.is-disabled i,
.sideMenu-item:disabled i {
    opacity: .85;
}


/* ===== REPORT CAPTURE (Wizard) ===== */

/* ===== REPORT CAPTURE HEADER — same scheme as Scheduler / Payroll ===== */

.rc-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e7eef8;
    margin-bottom: 10px;
    padding: 10px 0 8px 0;
}

.rc-header .header-close-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 4px;
}

.rc-header .header-title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.rc-subtitle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 2px;
    padding: 0 10px;
}

.rc-title,
#rcTitle {
    margin: 0;
    color: #004a99;
    line-height: 1.2;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 600;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-subtitle,
#rcSubtitle {
    margin: 0;
    color: #5b6b82;
    font-size: 0.95rem;
    line-height: 1.25;
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#rcCloseBtn.section-close-red {
    position: static;
}

@media (max-width: 576px) {

    .rc-title,
    #rcTitle {
        font-size: 1.15rem;
    }

    .rc-subtitle,
    #rcSubtitle {
        font-size: 0.88rem;
    }
}

.rc-label.is-required .rc-req,
.rc-checklabel.is-required .rc-req {
    color: #dc3545;
    /* rojo Bootstrap-ish */
    margin-left: 4px;
    font-weight: 600;
}

.rc-steps {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    /* antes ~8px */
    padding: 0 4px;
    /* antes 6px */
    overflow-x: auto;
    /* si son muchas, que deslicen horizontal */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

@media (max-width: 480px) {
    .rc-steps {
        gap: 3px;
        margin-bottom: 4px;
        padding: 0 2px;
    }

    .rc-step {
        padding: 2px 7px;
        font-size: .78rem;
    }
}

.rc-step {
    padding: 3px 8px;
    /* antes 6px 10px */
    border-radius: 999px;
    font-weight: 600;
    font-size: .82rem;
    /* antes .92rem */
    line-height: 1.0;
    /* más apretado */
    background: #eef3fb;
    color: #1E305C;
    border: 1px solid #d6e4f7;
}

.rc-step.is-active {
    background: #1E305C;
    color: #fff;
    border-color: #1E305C;
}

.rc-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rc-section {
    display: none;
}

.rc-section.is-active {
    display: block;
}

.rc-group {
    margin-bottom: 10px;
}

.rc-label {
    display: block;
    font-weight: 600;
    color: #1E305C;
    margin-bottom: 6px;
}

/* Solo cuando un label lleva acciones (como Translate) */
.rc-label--row {
    display: flex;
    /* mantiene tu tipografía/color/margen */
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    /* conserva el spacing original */
}

/* ==== Spacing fino para los 3 botones del SUMMARY ==== */
/* 1) Separación general del label y sus “chips” (status, etc.) */
.rc-label--row {
    gap: 6px;
    /* <— ajusta si quieres más/menos separación global */
}

/* 2) Separación específica entre los botones */
.rc-label--row .rc-trans-btn:first-of-type {
    margin-left: 8px;
    /* espacio entre el texto "EVENT SUMMARY" y el primer botón */
}

.rc-label--row .rc-trans-btn+.rc-trans-btn {
    margin-left: 4px;
    /* espacio entre botones (2º y 3º) */
}

/* (opcional) Cuando se apilen en móviles, reduce el gap */
@media (max-width: 420px) {
    .rc-label--row {
        gap: 4px;
    }

    .rc-label--row .rc-trans-btn:first-of-type {
        margin-left: 6px;
    }

    .rc-label--row .rc-trans-btn+.rc-trans-btn {
        margin-left: 3px;
    }
}


/* Botón pequeñito junto al label */
.rc-trans-btn {
    padding: 6px 10px;
}

/* Translate button — refuerzo visual (funciona con o sin Bootstrap) */
.rc-label .rc-trans-btn.btn-outline-success {
    border: 2px solid #22c55e;
    /* verde outline */
    color: #16a34a;
    /* texto verde */
    background: #fff;
}

.rc-label .rc-trans-btn.btn-outline-success:hover {
    background: #22c55e;
    color: #fff;
}

.rc-label .rc-trans-btn.btn-outline-success:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.rc-label .rc-trans-btn:focus-visible {
    outline: 2px solid #bbf7d0;
    /* anillo de enfoque verde claro */
    outline-offset: 2px;
}

/* Botón de borrar (estilo uniforme) */
.rc-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1;
}

/* Opcional: pequeño hover para diferenciar */
.rc-clear-btn:hover {
    opacity: .95;
}

/* Asegura fila para label con acciones */
.rc-label.rc-label--row {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    /* Clear puede ir a la derecha con margin-left:auto cuando se necesite */
}


.rc-help {
    font-size: .9rem;
    color: #6b7280;
    margin-top: 4px;
}

.rc-input,
.rc-textarea,
.rc-select {
    width: 100%;
    border: 2px solid #e7eef8;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 1rem;
    background: #fff;
}

.rc-textarea {
    min-height: 96px;
    resize: vertical;
}

.rc-input:focus,
.rc-textarea:focus,
.rc-select:focus {
    outline: none;
    border-color: #9ec5fe;
    box-shadow: 0 0 0 3px rgba(158, 197, 254, .35);
}



.rc-error {
    font-family: var(--gl-font);
    font-size: .90rem;
    font-weight: 300;
    line-height: 1.4;
    color: #FF4F2A;
    margin-top: 6px;
    white-space: pre-line;
}


.rc-invalid .rc-input,
.rc-invalid .rc-textarea,
.rc-invalid .rc-select {
    border-color: #fca5a5;
    box-shadow: 0 0 0 3px rgba(252, 165, 165, .35);
}

.rc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.rc-chip {
    padding: 6px 10px;
    border-radius: 999px;
    font-family: var(--gl-font);
    font-weight: 300;
    font-size: .92rem;
    line-height: 1.3;
    cursor: pointer;
    background: #eaf2ff;
    color: #010F3C;
    border: 1px solid #cfe0fb;
    user-select: none;
}


.rc-chip.is-on {
    background: #1E305C;
    color: #fff;
    border-color: #1E305C;
}


.rc-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}


.rc-thumb {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e7eef8;
    background: #f6f9ff;
    display: grid;
    place-items: center;
}

.rc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rc-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.rc-footer {
    position: sticky;
    bottom: 0;
    z-index: 15;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 24%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 6px 6px;
}

.rc-footer .spacer {
    flex: 1;
}

/* compact móvil: campos en una columna, ya es así por defecto */
@media (min-width: 720px) {
    .rc-two {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}


/* === Editor de tablas del Reporte === */
.rc-table-wrap {
    border: 2px solid #e7eef8;
    border-radius: 12px;
    padding: 8px;
    background: #fff;
}

/* GO LOCAL 4.0 — REPORT TABLE TYPOGRAPHY */
.rc-table-wrap,
.rc-table-wrap .rc-table,
.rc-table-wrap .rc-table th,
.rc-table-wrap .rc-table td,
.rc-table-wrap input,
.rc-table-wrap button {
    font-family: 'Oswald', sans-serif;
}

.rc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.rc-table thead th {
    position: sticky;
    top: 0;
    background: #e9f1fb;
    color: #1E305C;
    font-weight: 600;
    font-size: .95rem;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #d6e4f7;
}

.rc-table tbody td {
    padding: 8px 10px;
    border-bottom: 1px solid #eef3fb;
}

.rc-table tbody tr:last-child td {
    border-bottom: none;
}

.rc-table input.rc-input {
    width: 100%;
}

.rc-table .rc-delrow {
    padding: 6px 10px;
}

.rc-grandtotal {
    text-align: right;
    font-weight: 600;
    color: #1E305C;
    margin-top: 8px;
}


/* ===== REIMBURSEMENTS (v169 estándar) ===== */

#reimb-view {
    position: relative;
}

/* Reimbursements — acciones del archivo */
.rc-file-actions {
    display: flex;
    gap: 8px;
}

/* Two fields side-by-side: keep 2 cols at all widths */
.rc-row.two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.rc-row.two-cols .rc-group {
    margin-bottom: 10px;
}

/* Compact tweaks for small screens but still 2 cols */
@media (max-width: 560px) {
    .rc-row.two-cols {
        gap: 8px;
    }

    .rc-row.two-cols .rc-label {
        font-size: 0.92rem;
    }

    .rc-row.two-cols .rc-input {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
}

#reimb-view .rc-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 24%);
    padding: 12px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex;
    gap: 12px;
    align-items: center;
}


/* Submit status banner: ocupa toda la fila encima de los botones */
#reimb-view #reimbSubmitStatusBanner {
    margin: 12px 0;
}


/* Oculta el spacer usado antes para alinear a la derecha */
#reimb-view .rc-footer .spacer {
    display: none !important;
}

/* Botones llenan su celda */
#reimb-view .rc-footer .btn {
    flex: 1;
    width: auto;
    padding: 12px 16px;
    font-weight: 600;
    border-radius: 10px;
}

/* Banners de Reimbursements (File / Submit) */
#reimb-view .reimb-banner {
    border-radius: 10px;
    font-weight: 600;
}

/* ===== RC MODAL (reusable) ===== */
.rc-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
}

.rc-modal.show {
    display: block;
}

.rcm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.rcm-dialog {
    position: relative;
    z-index: 1;
    margin: 6vh auto 4vh auto;
    width: min(96vw, 560px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .28);
    display: flex;
    flex-direction: column;
}

.rcm-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 64px 8px 12px;
    border-bottom: 1px solid #e7eef8;
}

.rcm-header h4 {
    margin: 0;
    color: #004a99;
    font-weight: 600;
}

.rcm-header .modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    transform: translate(10px, -10px);
    border: none;
    background: transparent;
    border-radius: 12px;
}

.rcm-body {
    padding: 12px;
    max-height: 60vh;
    overflow: auto;
}

.rcm-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px 12px;
    border-top: 1px solid #e7eef8;
}



.rc-btn-trash {
    color: #dc3545;
    /* rojo Bootstrap danger */
    padding: 2px 6px;
}

.rc-btn-trash:hover {
    color: #a71d2a;
    text-decoration: none;
}

.rc-btn-trash i {
    font-size: 1rem;
}


/* ================================
   SALES & INVENTORY — unified look
   (pegar al final de style179.css)
   ================================ */

/* --- Diálogo de modal (mismo ancho/espaciado) --- */
#sales-modal .rcm-dialog,
#inventory-modal .rcm-dialog {
    width: min(560px, 96vw);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(10, 30, 70, .20);
}

/* --- Header del modal --- */
#sales-modal .rcm-header,
#inventory-modal .rcm-header {
    background: linear-gradient(180deg, #f6f8ff 0%, #eef2fb 100%);
    border-bottom: 1px solid #dbe3f0;
    padding: 14px 16px;
}

#sales-modal .rcm-header h4,
#inventory-modal .rcm-header h4 {
    margin: 0;
    font-weight: 600;
    letter-spacing: .4px;
    color: #1E305C;
    /* azul GLP */
}

/* --- Acciones arriba de la tabla (Parse / Add row) --- */
#sales-modal .rcm-body .rc-actions,
#inventory-modal .rcm-body .rc-actions {
    display: flex;
    gap: 8px;
    margin: 8px 0 10px 0;
    flex-wrap: wrap;
}

#sales-modal .rcm-body .rc-actions .btn,
#inventory-modal .rcm-body .rc-actions .btn {
    height: 34px;
    padding: 6px 10px;
    border-radius: 10px;
}

/* --- Tabla base unificada --- */
#sales-modal .rc-table,
#inventory-modal .rc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e6eaf3;
    border-radius: 12px;
    overflow: hidden;
    font-size: .95rem;
    table-layout: fixed;
    /* consistente con anchos */
}

#sales-modal .rc-table thead th,
#inventory-modal .rc-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, #f4f7ff 0%, #e9effc 100%);
    color: #1E305C;
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 1px solid #dbe3f0;
    border-right: 1px solid #e9eef5;
}

#sales-modal .rc-table thead th:last-child,
#inventory-modal .rc-table thead th:last-child {
    border-right: none;
}

#sales-modal .rc-table tbody td,
#inventory-modal .rc-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f3fa;
    border-right: 1px solid #f3f6fd;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sales-modal .rc-table tbody tr:nth-child(even),
#inventory-modal .rc-table tbody tr:nth-child(even) {
    background: #fafbff;
}

#sales-modal .rc-table tbody td:last-child,
#inventory-modal .rc-table tbody td:last-child {
    border-right: none;
}

/* --- Anchos y alineaciones por columna --- */
#sales-modal .rc-table .col-product,
#inventory-modal .rc-table .col-product {
    width: 56%;
}

#sales-modal .rc-table .col-qty,
#inventory-modal .rc-table .col-qty {
    width: 20%;
    text-align: center;
}

#sales-modal .rc-table .col-total {
    width: 18%;
    text-align: right;
}

#sales-modal .rc-table .col-actions,
#inventory-modal .rc-table .col-actions {
    width: 6%;
    text-align: center;
    white-space: nowrap;
}

/* --- Inputs de edición (mismo look para ambos modales) --- */
#sales-modal .rc-table .sales-input,
#inventory-modal .rc-table .sales-input {
    width: 100%;
    height: 34px;
    padding: 6px 10px;
    border: 1px solid #cfd9ea;
    border-radius: 10px;
    background: #fff;
    outline: none;
    box-shadow: inset 0 1px 1px rgba(10, 30, 70, .04);
    font-size: .95rem;
}

#sales-modal .rc-table .col-qty .sales-input,
#inventory-modal .rc-table .col-qty .sales-input,
#sales-modal .rc-table .col-total .sales-input {
    text-align: center;
}

#sales-modal .rc-table .sales-input:focus,
#inventory-modal .rc-table .sales-input:focus {
    border-color: #5b7cff;
    box-shadow: 0 0 0 3px rgba(91, 124, 255, .15);
}

/* --- Botón borrar fila --- */
#sales-modal .rc-table .rc-delrow,
#inventory-modal .rc-table .rc-delrow {
    border: none;
    background: transparent;
    color: #b5bfd3;
    padding: 4px;
    border-radius: 8px;
}

#sales-modal .rc-table .rc-delrow:hover,
#inventory-modal .rc-table .rc-delrow:hover {
    color: #ff4d4f;
    background: #fff1f0;
}

/* --- Footer del modal (botones del mismo tamaño y centrados) --- */
#sales-modal .rcm-footer,
#inventory-modal .rcm-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #e8ecf6;
    padding-top: 12px;
}

#sales-modal .rcm-footer .btn,
#inventory-modal .rcm-footer .btn {
    min-width: 140px;
    /* mismo ancho visual */
    height: 40px;
    border-radius: 12px;
    font-weight: 600;
}

/* --- Responsive tweaks --- */
@media (max-width: 480px) {

    #sales-modal .rcm-dialog,
    #inventory-modal .rcm-dialog {
        width: 94vw;
    }

    #sales-modal .rc-table .col-product,
    #inventory-modal .rc-table .col-product {
        width: 60%;
    }

    #sales-modal .rc-table .col-qty,
    #inventory-modal .rc-table .col-qty {
        width: 24%;
    }

    #sales-modal .rc-table .col-actions,
    #inventory-modal .rc-table .col-actions {
        width: 16%;
    }
}

/* ================================
   Column widths per modal
   ================================ */

/* SALES: Product + Qty + Amount + Actions = 100% */
#sales-modal .rc-table .col-product {
    width: 56%;
}

#sales-modal .rc-table .col-qty {
    width: 16%;
    text-align: center;
}

#sales-modal .rc-table .col-total {
    width: 22%;
    text-align: right;
}

#sales-modal .rc-table .col-actions {
    width: 6%;
    text-align: center;
}

/* INVENTORY: Product + Units + Actions = 100% */
#inventory-modal .rc-table .col-product {
    width: 74%;
}

#inventory-modal .rc-table .col-qty {
    width: 20%;
    text-align: center;
}

#inventory-modal .rc-table .col-actions {
    width: 6%;
    text-align: center;
}

/* Inputs alignment (mantiene coherencia) */
#sales-modal .rc-table .col-total .sales-input {
    text-align: right;
}

#sales-modal .rc-table .col-qty .sales-input,
#inventory-modal .rc-table .col-qty .sales-input {
    text-align: center;
}

/* Mobile tweaks */
@media (max-width: 480px) {

    /* SALES */
    #sales-modal .rc-table .col-product {
        width: 54%;
    }

    #sales-modal .rc-table .col-qty {
        width: 18%;
    }

    #sales-modal .rc-table .col-total {
        width: 22%;
    }

    #sales-modal .rc-table .col-actions {
        width: 6%;
    }

    /* INVENTORY */
    #inventory-modal .rc-table .col-product {
        width: 72%;
    }

    #inventory-modal .rc-table .col-qty {
        width: 22%;
    }

    #inventory-modal .rc-table .col-actions {
        width: 6%;
    }
}

/* =========================================================
   SALES MODAL — asegurar columna Actions visible (trash)
   Modal: #sales-modal | Table: #salesModalTable
   ========================================================= */

#sales-modal .rc-table-wrap {
    overflow-x: hidden;
}

/* evita scroll horizontal raro */
#salesModalTable {
    table-layout: fixed;
    width: 100%;
}

/* Ajuste de anchos por columna (usa tus clases) */
#salesModalTable th.col-product,
#salesModalTable td.col-product {
    width: 58%;
}

#salesModalTable th.col-qty,
#salesModalTable td.col-qty {
    width: 14%;
}

#salesModalTable th.col-amount,
#salesModalTable td.col-amount {
    width: 20%;
}

#salesModalTable th.col-actions,
#salesModalTable td.col-actions {
    width: 8%;
    min-width: 38px;
    /* <-- reserva espacio para el ícono */
    text-align: center !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

/* Compacta celdas e inputs en móvil */
@media (max-width: 576px) {

    #salesModalTable th,
    #salesModalTable td {
        padding: 6px 6px !important;
        vertical-align: middle;
    }

    #salesModalTable input.form-control,
    #salesModalTable input.form-control-sm {
        padding: 6px 8px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
}

/* Botón trash: tamaño fijo (no se corta) */
#sales-modal .rc-btn-trash,
#sales-modal .rcRowDel,
#sales-modal .rcDelSalesRow,
#sales-modal .rcRowTrash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    line-height: 1;
}

/* Ícono un poquito más grande */
#sales-modal .rc-btn-trash i,
#sales-modal .rcRowDel i,
#sales-modal .rcDelSalesRow i,
#sales-modal .rcRowTrash i {
    font-size: 1.05rem;
}

/* SALES modal — trash SIEMPRE rojo */
#sales-modal .rc-btn-trash,
#sales-modal .rcRowDel,
#sales-modal .rcDelSalesRow,
#sales-modal .rcRowTrash {
    color: #dc3545 !important;
    /* rojo danger */
}

#sales-modal .rc-btn-trash i,
#sales-modal .rcRowDel i,
#sales-modal .rcDelSalesRow i,
#sales-modal .rcRowTrash i {
    color: #dc3545 !important;
}

#sales-modal .rc-btn-trash:hover,
#sales-modal .rcRowDel:hover,
#sales-modal .rcDelSalesRow:hover,
#sales-modal .rcRowTrash:hover {
    color: #a71d2a !important;
    /* rojo más oscuro hover */
}

#sales-modal .rc-btn-trash:hover i,
#sales-modal .rcRowDel:hover i,
#sales-modal .rcDelSalesRow:hover i,
#sales-modal .rcRowTrash:hover i {
    color: #a71d2a !important;
}

/* SALES modal — delete button (rc-delrow) rojo */
#sales-modal .rc-delrow {
    color: #dc3545 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#sales-modal .rc-delrow i {
    color: #dc3545 !important;
    font-size: 1.05rem;
}

#sales-modal .rc-delrow:hover,
#sales-modal .rc-delrow:focus {
    color: #a71d2a !important;
}

#sales-modal .rc-delrow:hover i,
#sales-modal .rc-delrow:focus i {
    color: #a71d2a !important;
}

/* =========================================================
   SALES modal — ajuste fino para que el trash SIEMPRE quepa
   ========================================================= */

#salesModalTable th.col-actions,
#salesModalTable td.col-actions {
    width: 9% !important;
    /* antes 8% */
    min-width: 42px !important;
    white-space: nowrap;
    padding-left: 2px !important;
    padding-right: 2px !important;
    text-align: center !important;
}

/* Botón delete un poquito más compacto */
#sales-modal .rc-delrow {
    width: 30px !important;
    /* antes 34 */
    height: 30px !important;
    padding: 0 !important;
}

/* Ícono apenas más chico */
#sales-modal .rc-delrow i {
    font-size: 1rem !important;
}


/* ===== Reimbursements: dual status banners (file + submit) ===== */
.reimb-banner {
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#reimbFileStatusBanner {
    font-size: 0.95rem;
}

#reimbSubmitStatusBanner {
    font-size: 0.95rem;
}

/* Reimbursements: submit banner dentro del footer, ancho completo arriba de los botones */
#reimb-view #reimbSubmitStatusBanner {
    grid-column: 1 / -1;
    margin-bottom: 0;
}


/* === No Break modal: custom blue radio buttons === */

#noBreakModal .form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    margin: 0;
    cursor: pointer;
}

/* ocultamos el radio nativo */
#noBreakModal .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* radio visual */
#noBreakModal .form-check-label {
    position: relative;
    padding-left: 28px;
    text-align: left;
    line-height: 1.35;
    font-weight: 600;
    color: #212529;
    cursor: pointer;
}

/* círculo externo (no seleccionado) */
#noBreakModal .form-check-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #9ec5ff;
    /* azul claro */
    background: #fff;
    transition: all 0.2s ease;
}

/* círculo interno (seleccionado) */
#noBreakModal .form-check-label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0d6efd;
    /* azul Bootstrap */
    transform: scale(0);
    transition: transform 0.2s ease;
}

/* estado seleccionado */
#noBreakModal .form-check-input:checked+.form-check-label::before {
    border-color: #0d6efd;
}

#noBreakModal .form-check-input:checked+.form-check-label::after {
    transform: scale(1);
}

/* hover */
#noBreakModal .form-check:hover .form-check-label {
    color: #0d6efd;
}

/* === No Break modal: legal disclaimer === */
#noBreakModal .no-break-disclaimer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
    /* separador suave */
    font-size: 0.75rem;
    /* pequeño pero legible */
    color: #6c757d;
    /* gris Bootstrap */
    line-height: 1.3;
    text-align: left;
}

/* =========================
   Live Supervisor (v203)
   ========================= */

.rc-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 10px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
}

.rc-live-title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: .2px;
}

.rc-live-body {
    padding: 12px 12px 90px 12px;
    /* aire por si tienes footer sticky */
}

.rc-live-loading {
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    font-weight: 600;
    color: #444;
}

.rc-live-empty {
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px dashed rgba(0, 0, 0, .18);
    color: #666;
    text-align: center;
}

.rc-live-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rc-live-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.rc-live-info {
    flex: 1 1 auto;
    min-width: 0;
}

.rc-live-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.15;
    color: #1f2a37;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-live-meta,
.rc-live-meta2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12.5px;
    color: #667085;
    margin-top: 4px;
}

.rc-dot {
    opacity: .6;
}

.rc-live-states {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

/* GO LOCAL — FULL VIEW & HISTORY COMPACT STATES */
#liveSupervisorView .rc-live-states,
#checkHistoryView .rc-live-states {
    display: grid;
    grid-template-columns: 48px 26px 48px;
    align-items: stretch;
    gap: 3px;
    width: max-content;
    min-width: 0;
}

/* GO LOCAL — COMPACT STATE SIZES */
#liveSupervisorView .rc-live-states .rc-btn-state,
#checkHistoryView .rc-live-states .rc-btn-state,
#liveSupervisorView .rc-live-states .rc-break-box,
#checkHistoryView .rc-live-states .rc-break-box {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: 4px 2px !important;
    border-radius: 8px !important;
    box-sizing: border-box;
}

/* GO LOCAL — OSWALD IN SHIFT DETAILS */
#liveSupervisorView .rc-live-info .rc-live-meta,
#liveSupervisorView .rc-live-info .rc-live-meta *,
#liveSupervisorView .rc-live-info .rc-live-meta2,
#liveSupervisorView .rc-live-info .rc-live-meta2 *,
#checkHistoryView .rc-live-info .rc-live-meta,
#checkHistoryView .rc-live-info .rc-live-meta *,
#checkHistoryView .rc-live-info .rc-live-meta2,
#checkHistoryView .rc-live-info .rc-live-meta2 * {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    color: #34415C !important;
}


/* GO LOCAL — COMPACT IN / OUT TYPOGRAPHY */
#liveSupervisorView .rc-live-states .rc-btn-state,
#checkHistoryView .rc-live-states .rc-btn-state {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
}

#liveSupervisorView .rc-live-states .rc-time,
#checkHistoryView .rc-live-states .rc-time {
    display: block;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.15;
    margin-top: 2px;
    white-space: nowrap;
}

/* GO LOCAL — BREAK COLOR INDICATOR ONLY */
#liveSupervisorView .rc-live-states .rc-break-box,
#checkHistoryView .rc-live-states .rc-break-box {
    font-size: 0 !important;
    line-height: 0 !important;
}

#liveSupervisorView .rc-live-states .rc-break-box *,
#checkHistoryView .rc-live-states .rc-break-box * {
    visibility: hidden !important;
}

/* GO LOCAL — COMPACT BREAK TYPOGRAPHY */
#liveSupervisorView .rc-live-states .rc-break-label,
#checkHistoryView .rc-live-states .rc-break-label {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

#liveSupervisorView .rc-live-states .rc-break-time,
#checkHistoryView .rc-live-states .rc-break-time {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 9px;
    font-weight: 300;
    line-height: 1.1;
    margin-top: 2px;
    text-align: center;
    white-space: nowrap;
}

/* botón base de estado */
.rc-btn-state {
    width: 86px;
    min-height: 64px;
    border-radius: 14px !important;
    font-weight: 600;
    line-height: 1.05;
    padding: 8px 8px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, .12) !important;
    background: #f6f7f9;
    color: #8a8f98;
}

.rc-btn-state .rc-time {
    display: block;
    font-weight: 600;
    font-size: 12px;
    margin-top: 4px;
}

/* IN/OUT DONE (verde sobrio) */
.rc-btn-in-done,
.rc-btn-out-done {
    background: rgba(16, 185, 129, .14) !important;
    /* green soft */
    border: 1px solid rgba(16, 185, 129, .35) !important;
    color: #0f5132 !important;
}

/* vacío */
.rc-btn-empty {
    background: #f6f7f9 !important;
    color: #8a8f98 !important;
}

/* BREAK box (no clickable) */
.rc-break-box {
    width: 92px;
    min-height: 64px;
    border-radius: 14px;
    padding: 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, .12);
    background: #f6f7f9;
}

.rc-break-label {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .4px;
    color: #6b7280;
}

.rc-break-time {
    margin-top: 6px;
    font-weight: 600;
    font-size: 12px;
    color: #111827;
}

.rc-break-empty {
    opacity: .55;
}

.rc-break-done {
    background: rgba(59, 130, 246, .14);
    /* blue soft */
    border: 1px solid rgba(59, 130, 246, .35);
}

.rc-break-on {
    background: rgba(59, 130, 246, .22);
    border: 1px solid rgba(59, 130, 246, .55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .10);
}

/* Modal photo */
.rc-photo-modal {
    border-radius: 18px;
    overflow: hidden;
}

.rc-photo-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Responsive */
@media (max-width: 420px) {
    .rc-live-row {
        flex-direction: column;
    }

    .rc-live-states {
        justify-content: space-between;
    }

    .rc-btn-state,
    .rc-break-box {
        width: 32%;
    }
}

/* ===== LIVE SUPERVISOR header: mismo look que Scheduler/Payroll/Reports ===== */

.live-title {
    margin: 0;
    color: #004a99;
    line-height: 1.2;
    letter-spacing: .3px;
    font-weight: 600;
}

.rc-live-body {
    padding: 12px 0 90px 0;
}

.rc-live-event {
    margin-top: 2px;
    font-weight: 600;
    font-size: 12.5px;
    color: #1f2a37;
    opacity: .85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#liveSupervisorView .ls-filters {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 6px 0 12px 0;
}

#liveSupervisorView .ls-filter {
    min-width: 160px;
    flex: 1 1 200px;
}

#liveSupervisorView .ls-filter label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #335b8a;
    margin: 0 0 4px 2px;
}

#liveSupervisorView .ls-clear {
    height: 31px;
}

#checkHistoryView .live-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Live Supervisor Shift Signals Modal ===== */

.ls-shift-link {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    color: #004a99;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ls-shift-link:hover {
    color: #0d6efd;
}

.ls-signals-modal {
    border-radius: 18px;
    overflow: hidden;
}

.ls-signals-meta {
    margin-top: 4px;
    font-size: 0.92rem;
    color: #5b6577;
    line-height: 1.35;
}

.ls-signals-section {
    border: 1px solid #e7eef8;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ls-signals-section-title {
    font-weight: 600;
    color: #1E305C;
    margin-bottom: 12px;
    text-align: left;
}


/* ===== Shift Signals modal polish ===== */

/* HEADER DEL MODAL */

.ls-modal-header {
    padding: 18px 18px 12px 18px;
    border-bottom: 1px solid #e6edf6;
}

/* botón close bonito */

.ls-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background-color: #eef3f9;
    background-size: 12px;

    border: 1px solid #d7e4f3;

    opacity: 1;

    transition: all .15s ease;
}

/* hover */

.ls-close-btn:hover {
    background-color: #e3edf8;
    transform: scale(1.05);
}

/* móvil */

@media (max-width:576px) {

    .ls-close-btn {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
    }

}

/* ===== CLOSE BUTTON (GLOBAL STYLE PROJECT) ===== */

.modal-close-red {
    position: absolute;
    right: 16px;
    top: 14px;

    width: 32px;
    height: 32px;

    border-radius: 50%;
    border: 2px solid #FF4032;

    background: white;
    color: #FF4032;

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

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: all .15s ease;
}

.modal-close-red:hover {
    background: #FF4032;
    color: white;
}

/* ===== SHIFT FLAGS SUMMARY ===== */

.shiftFlags-summary {
    text-align: center;
    padding: 10px 16px 14px 16px;
    line-height: 1.25;
}

.shiftFlags-summary div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(13px, 2.6vw, 16px);
    font-weight: 600;
    color: #1E305C;
}


#lsSignalsModal .modal-content {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, .18);
    overflow: hidden;
}


#lsSignalsModal .btn-close {
    transform: scale(.95);
    opacity: .8;
}

#lsSignalsModal .btn-close:hover {
    opacity: 1;
}

#lsSignalsModal .modal-body {
    padding: 16px 16px 10px 16px;
    background: #fbfdff;
}

#lsSignalsModal .modal-footer {
    border-top: 1px solid #e7eef8;
    padding: 14px 16px 16px 16px;
    background: #ffffff;
}

/* top info card */
.ls-signals-meta {
    margin-top: 10px;
}

.ls-meta-card {
    border: 1px solid #dbe8f7;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    box-shadow: 0 6px 18px rgba(0, 74, 153, .06);
    padding: 14px 14px 12px 14px;
}

.ls-meta-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ls-meta-title-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.ls-meta-kicker {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #5d7fa8;
    margin-bottom: 4px;
}

.ls-meta-shift-name {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    color: #1e305c;
    word-break: break-word;
}

.ls-meta-pk-badge {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 74, 153, .08);
    border: 1px solid rgba(0, 74, 153, .14);
    color: #004a99;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.ls-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ls-meta-item {
    border: 1px solid #e6eef8;
    border-radius: 14px;
    background: #ffffff;
    padding: 10px 12px;
    min-width: 0;
}

.ls-meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .65px;
    color: #6b85a5;
    margin-bottom: 4px;
}

.ls-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #21324d;
    line-height: 1.25;
    word-break: break-word;
}

/* sections */
.ls-signals-section {
    border: 1px solid #e3ecf8;
    border-radius: 18px;
    padding: 14px 14px 10px 14px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 5px 15px rgba(15, 23, 42, .04);
}

.ls-signals-section-title {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 74, 153, .08);
    color: #004a99;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .2px;
    margin-bottom: 12px;
}


/* ===== SHIFT FLAGS SECTION CHIPS ===== */

#lsSignalsModal .section-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 28px;
    min-width: 210px;
    min-height: 44px;

    border-radius: 999px;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1;

    text-align: center;
    margin: 0 auto 14px auto;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

/* CHECK IN */
#lsSignalsModal .section-chip.checkin {
    background: #28a745;
    color: #fff;
    opacity: 70%;
}

/* CHECK OUT */
#lsSignalsModal .section-chip.checkout {
    background: #dc3545;
    color: #fff;
    opacity: 70%;
}

/* BREAKS */
#lsSignalsModal .section-chip.breaks {
    background: #ffc107;
    color: black;
    opacity: 70%;
}

/* REPORTS */
#lsSignalsModal .section-chip.reports {
    background: blue;
    color: #fff;
    opacity: 70%;
}

/* footer buttons */
#lsSignalsModal .modal-footer .btn {
    min-width: 110px;
    border-radius: 12px;
    font-weight: 600;
    padding: 10px 16px;
}

/* mobile */
@media (max-width: 576px) {


    #lsSignalsModal .modal-body {
        padding: 14px 12px 8px 12px;
    }

    #lsSignalsModal .modal-footer {
        padding: 12px;
    }

    .ls-meta-top {
        flex-direction: column;
        align-items: stretch;
    }

    .ls-meta-pk-badge {
        align-self: flex-start;
    }

    .ls-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Shift Flags header fix v219 ===== */



#lsSignalsModal .ls-signals-header-main {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

#lsSignalsModal .ls-signals-close {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    padding: 0;
    opacity: 1;
    z-index: 5;
}

#lsSignalsModal .ls-signals-close:hover {
    opacity: 1;
}

@media (max-width: 576px) {

    #lsSignalsModal .ls-signals-close {
        top: 10px;
        right: 10px;
    }
}


#lsSignalsModal .ls-signals-meta {
    margin-top: 10px;
}

#lsSignalsModal .ls-shift-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #d9e6f5;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

#lsSignalsModal .ls-shift-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

#lsSignalsModal .ls-shift-title-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

#lsSignalsModal .ls-shift-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #6d88a8;
    margin-bottom: 4px;
}

#lsSignalsModal .ls-shift-title {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    color: #1f3763;
    word-break: break-word;
}

#lsSignalsModal .ls-shift-pk {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf3ff;
    border: 1px solid #cfe0f5;
    color: #0a4ea3;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

#lsSignalsModal .ls-shift-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#lsSignalsModal .ls-shift-info-box {
    background: #ffffff;
    border: 1px solid #dfeaf6;
    border-radius: 14px;
    padding: 10px 12px;
}

#lsSignalsModal .ls-shift-info-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #7a93b0;
    margin-bottom: 4px;
}

#lsSignalsModal .ls-shift-info-value {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    color: #243b63;
    word-break: break-word;
}

@media (max-width: 576px) {
    #lsSignalsModal .ls-shift-card {
        padding: 12px;
        border-radius: 16px;
    }

    #lsSignalsModal .ls-shift-card-top {
        flex-direction: column;
        align-items: stretch;
    }

    #lsSignalsModal .ls-shift-pk {
        align-self: flex-start;
    }

    #lsSignalsModal .ls-shift-info-grid {
        grid-template-columns: 1fr;
    }

    #lsSignalsModal .ls-shift-title {
        font-size: 14px;
    }

    #lsSignalsModal .ls-shift-info-value {
        font-size: 13px;
    }
}


/* =========================================
   SHIFT FLAGS MODAL — FIX WIDTH + SPACING
   v260
   ========================================= */

#lsSignalsModal .modal-dialog {
    width: min(96vw, 680px);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

#lsSignalsModal .modal-content.ls-signals-modal {
    width: 100%;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, .18);
    overflow: hidden;
}

#lsSignalsModal .modal-body {
    padding: 16px 16px 10px 16px;
    background: #fbfdff;
}

#lsSignalsModal #lsSignalsForm {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#lsSignalsModal .ls-signals-section {
    border: 1px solid #e7eef8;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
}

#lsSignalsModal .section-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    min-width: 220px;
    min-height: 44px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1;
    text-align: center;
    margin: 0 auto 14px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

/* filas: texto y control más cerca, sin empujarlos a los extremos */
#lsSignalsModal .ls-toggle-row,
#lsSignalsModal .ls-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 8px;
    padding: 12px 0;
    border-top: 1px solid #eef3fb;
}

#lsSignalsModal .ls-toggle-row:first-of-type,
#lsSignalsModal .ls-input-row:first-of-type {
    border-top: none;
    padding-top: 0;
}

#lsSignalsModal .ls-toggle-row span,
#lsSignalsModal .ls-input-row label {
    min-width: 0;
    margin: 0;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
    color: #2d3748;
    white-space: normal;
    overflow-wrap: break-word;
}

#lsSignalsModal .ls-input-row input.form-control {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    text-align: center;
    font-weight: 600;
    color: #1E305C;
    border: 1px solid #d6e4f7;
    border-radius: 14px;
    box-shadow: none;
}

#lsSignalsModal .ls-switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 48px;
    flex: 0 0 auto;
}

#lsSignalsModal .ls-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#lsSignalsModal .ls-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #ced8e5;
    border-radius: 999px;
    transition: .22s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

#lsSignalsModal .ls-slider::before {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    left: 4px;
    top: 8px;
    border-radius: 50%;
    background: #fff;
    transition: .22s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

#lsSignalsModal .ls-switch input:checked+.ls-slider {
    background: darkblue;
}

#lsSignalsModal .ls-switch input:checked+.ls-slider::before {
    transform: translateX(50px);
}

/* summary superior */
#lsSignalsModal .shiftFlags-summary {
    text-align: center;
    padding: 10px 18px 14px 18px;
    line-height: 1.22;
}

#lsSignalsModal .shiftFlags-summary div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 600;
    color: #1E305C;
}

/* close button */
#lsSignalsModal .modal-header {
    position: relative;
    border-bottom: 1px solid #e7eef8;
    padding: 16px 56px 14px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

#lsSignalsModal .modal-title {
    margin: 0;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.1;
    color: #004a99;
    letter-spacing: .2px;
}

#lsSignalsModal .modal-close-red {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #FF4032;
    background: #fff;
    color: #FF4032;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    transition: all .15s ease;
}

#lsSignalsModal .modal-close-red:hover {
    background: #FF4032;
    color: #fff;
}

#lsSignalsModal .modal-footer {
    border-top: 1px solid #e7eef8;
    padding: 14px 16px 16px 16px;
    background: #ffffff;
}

#lsSignalsModal .modal-footer .btn {
    min-width: 120px;
    border-radius: 12px;
    font-weight: 600;
    padding: 10px 16px;
}

/* desktop: no lo dejes más ancho que tu app visual */
@media (min-width: 992px) {
    #lsSignalsModal .modal-dialog {
        width: min(92vw, 640px);
        max-width: 640px;
    }
}

/* mobile */
@media (max-width: 576px) {
    #lsSignalsModal .modal-dialog {
        width: min(96vw, 96vw);
        max-width: 96vw;
        margin: 10px auto;
    }

    #lsSignalsModal .modal-header {
        padding: 14px 52px 12px 14px;
    }

    #lsSignalsModal .modal-title {
        font-size: 20px;
    }

    #lsSignalsModal .modal-close-red {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    #lsSignalsModal .shiftFlags-summary {
        padding: 10px 12px 12px 12px;
    }

    #lsSignalsModal .ls-signals-section {
        padding: 12px;
    }

    #lsSignalsModal .section-chip {
        min-width: 190px;
        font-size: 15px;
        padding: 11px 18px;
    }

    #lsSignalsModal .ls-toggle-row,
    #lsSignalsModal .ls-input-row {
        grid-template-columns: 1fr auto;
        column-gap: 10px;
        padding: 11px 0;
    }

    #lsSignalsModal .ls-toggle-row span,
    #lsSignalsModal .ls-input-row label {
        font-size: 13px;
        line-height: 1.2;
    }

    #lsSignalsModal .ls-switch {
        width: 74px;
        height: 40px;
    }

    #lsSignalsModal .ls-slider::before {
        width: 26px;
        height: 26px;
        top: 7px;
    }

    #lsSignalsModal .ls-switch input:checked+.ls-slider::before {
        transform: translateX(34px);
    }

    #lsSignalsModal .ls-input-row input.form-control {
        width: 92px;
        min-width: 92px;
        max-width: 92px;
    }
}

/* ===== GLOBAL SUBMIT BUTTON ===== */
.btn-submit-glp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #28a745 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;

    font-weight: 600 !important;
    letter-spacing: 0;
    text-shadow: none !important;

    min-height: 44px;
    padding: 12px 18px;

    box-shadow: none !important;
}

.btn-submit-glp:hover,
.btn-submit-glp:focus {
    background: #23913d !important;
    color: #fff !important;
}

.btn-submit-glp i {
    font-size: 1rem;
    line-height: 1;
}

#grp_eventSummary .rc-label {
    display: flex;
    justify-content: center;
    /* centra todo el bloque */
    align-items: center;
    /* alinea vertical */
    gap: 8px;
    /* espacio entre texto e íconos */
    text-align: center;
}

/* Textareas de Summary en Report Capture */
#fld_urgentIssues {
    min-height: 100px !important;
    height: 100px !important;
    resize: vertical;
}

#fld_eventSummary {
    min-height: 180px !important;
    height: 180px !important;
    resize: vertical;
}

/* NEW MODAL SHIFT FLAGS

/* =========================================
   SHIFT FLAGS — FINAL WIDTH FIX v260
   ========================================= */

#lsSignalsModal .modal-dialog {
    width: 100%;
    max-width: 500px !important;
    margin: 1.75rem auto;
}

#lsSignalsModal .modal-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(16, 24, 40, .18);
}

#lsSignalsModal .modal-body {
    padding: 14px 14px 10px 14px;
    background: #fbfdff;
}

#lsSignalsModal .ls-signals-section {
    border: 1px solid #e3ecf8;
    border-radius: 18px;
    padding: 12px 14px 10px 14px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 5px 15px rgba(15, 23, 42, .04);
}

#lsSignalsModal .ls-toggle-row,
#lsSignalsModal .ls-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    padding: 11px 0;
    border-top: 1px solid #edf3fb;
}

#lsSignalsModal .ls-toggle-row:first-of-type,
#lsSignalsModal .ls-input-row:first-of-type {
    border-top: none;
    padding-top: 0;
}

#lsSignalsModal .ls-toggle-row span,
#lsSignalsModal .ls-input-row label {
    margin: 0;
    min-width: 0;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    color: #24364f;
    white-space: normal;
    overflow-wrap: break-word;
}

#lsSignalsModal .ls-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
    flex: 0 0 auto;
}

#lsSignalsModal .ls-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#lsSignalsModal .ls-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #ced8e5;
    border-radius: 999px;
    transition: .22s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

#lsSignalsModal .ls-slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 4px;
    top: 4px;
    border-radius: 50%;
    background: #fff;
    transition: .22s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

#lsSignalsModal .ls-switch input:checked+.ls-slider {
    background: darkblue;
}

#lsSignalsModal .ls-switch input:checked+.ls-slider::before {
    transform: translateX(26px);
}

#lsSignalsModal .ls-input-row input.form-control {
    width: 96px;
    max-width: 96px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #d7e4f3;
    text-align: center;
    font-weight: 600;
    color: #1e305c;
    box-shadow: none;
}

#lsSignalsModal .section-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    margin: 0 auto 14px auto;
}

@media (max-width: 576px) {
    #lsSignalsModal .modal-dialog {
        max-width: 96vw !important;
        margin: 10px auto;
    }

    #lsSignalsModal .modal-content {
        max-width: 96vw;
    }

    #lsSignalsModal .ls-toggle-row span,
    #lsSignalsModal .ls-input-row label {
        font-size: 12.5px;
    }

    #lsSignalsModal .ls-switch {
        width: 52px;
        height: 28px;
    }

    #lsSignalsModal .ls-slider::before {
        width: 20px;
        height: 20px;
    }

    #lsSignalsModal .ls-switch input:checked+.ls-slider::before {
        transform: translateX(24px);
    }

    #lsSignalsModal .ls-input-row input.form-control {
        width: 88px;
        max-width: 88px;
    }
}

/* ============================
   RC FOOTER — iPhone Safari FIX
   (evita Next "partido")
   ============================ */

/* 1) Layout estable en iOS: usar GRID en vez de flex */
.rc-footer {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    /* Back | Next */
    gap: 12px;
    width: 100%;
    align-items: center;
    overflow: visible !important;
    /* evita clipping */
}

/* 2) Botones siempre ocupan su celda completa */
.rc-footer>button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
    box-sizing: border-box;
}

/* 3) Cuando rcSubmit aparece, que ocupe toda la fila */
#rcSubmit {
    grid-column: 1 / -1;
    /* full width */
}

/* 4) Si rcSubmit está hidden por inline style display:none, no afecta.
      Pero cuando lo muestres, que el layout sea consistente */
#rcSubmit[style*="display:none"] {
    display: none !important;
}

/* 5) Hardening extra para Safari iOS */
@supports (-webkit-touch-callout: none) {
    .rc-footer {
        min-width: 0;
    }

    .rc-footer>button {
        min-width: 0;
    }
}

/* =========================================
   SHIFT FLAGS HEADER — v262
   prueba 1 + prueba 2
   ========================================= */

#lsSignalsModal .modal-header.ls-signals-header {
    display: block;
    padding: 10px 18px 14px 18px;
    border-bottom: 1px solid #e7eef8;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

#lsSignalsModal .ls-signals-close-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 4px;
}

#lsSignalsModal .ls-signals-title-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

#lsSignalsModal .modal-title {
    margin: 0;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.1;
    color: #004a99;
    letter-spacing: .2px;
    text-align: center;
}

/* close SOLO para este modal */
#lsSignalsModal .modal-close-red.ls-signals-close-btn {
    position: static;
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    color: #FF4032;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

#lsSignalsModal .modal-close-red.ls-signals-close-btn i {
    font-size: 26px;
    /* mismo tamaño que el resto del proyecto */
    line-height: 1;
}

@media (max-width: 576px) {
    #lsSignalsModal .modal-header.ls-signals-header {
        padding: 10px 14px 12px 14px;
    }

    #lsSignalsModal .ls-signals-close-row {
        margin-bottom: 2px;
    }

    #lsSignalsModal .modal-title {
        font-size: 20px;
    }

    #lsSignalsModal .modal-close-red.ls-signals-close-btn i {
        font-size: 24px;
    }
}

.rc-photo-status {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all .2s ease;
}

.rc-photo-status--info {
    background: #e8f1ff;
    color: #0b4ea2;
    border-color: #bfd6ff;
}

.rc-photo-status--ok {
    background: #e9f8ee;
    color: #166534;
    border-color: #b7e4c7;
}

.rc-photo-status--warn {
    background: #fff7e6;
    color: #b26a00;
    border-color: #ffe0a3;
}

.rc-photo-status--err {
    background: #fdecec;
    color: #b91c1c;
    border-color: #f5b5b5;
}

#reports-list .scheduler-card .row4 .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    flex-shrink: 0;
}

.report-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #5c6b80;
    font-weight: 500;
}

.header-close-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 4px;
}

.header-title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.section-close-red {
    position: static;
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    color: #FF4032;
    padding: 0;
    margin: 0;
    box-shadow: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.section-close-red i {
    font-size: 26px;
    line-height: 1;
}

.section-close-red:hover {
    background: transparent;
    color: #d9362b;
}

.section-close-red:focus-visible {
    outline: none;
    box-shadow: none;
}

@media (max-width: 576px) {
    .section-close-red i {
        font-size: 24px;
    }
}

/* =========================
   TRAINING VIDEOS
========================= */

.training-videos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.training-video-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.training-video-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.training-video-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #eef4ff;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.training-video-texts {
    min-width: 0;
    flex: 1 1 auto;
}

.training-video-title-btn {
    display: inline-block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    text-decoration: none;
}

.training-video-title-btn:hover {
    text-decoration: underline;
}

.training-video-meta {
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}

.training-video-open-btn {
    white-space: nowrap;
    min-width: 92px;
    border-radius: 12px;
}

/* =========================
   TRAINING PLAYER
========================= */
/* =========================
   TRAINING PLAYER
========================= */

.training-player-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px;

    background: linear-gradient(180deg,
            rgba(30, 48, 92, 0.92) 0%,
            rgba(30, 48, 92, 0.96) 40%,
            rgba(20, 32, 60, 0.98) 100%);
}

.training-player-card {
    width: min(1100px, 100%);
    height: min(96dvh, 820px);
    max-height: 96dvh;
    background: #1E305C;
    border: 4px solid #1E305C;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.training-player-header {
    flex: 0 0 auto;
    background: #010F3C;
    border: none;
    border-top: 4px solid #FF4F2A;
    border-radius: 14px 14px 0 0;
    padding: 8px 12px 10px;
    margin: 0;
}


.training-player-header-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 28px;
    margin-bottom: 2px;
}

.training-player-header-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.training-player-title {
    margin: 0;
    font-family: var(--gl-font);
    color: #ffffff;
    line-height: 1.2;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.training-player-body {
    flex: 1 1 auto;
    min-height: 0;
    background: #1E305C;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.training-video-el {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    background: #000;
    display: block;
    object-fit: contain;
    border-left: 3px solid #1E305C;
    border-right: 3px solid #1E305C;
}

.training-video-el::-webkit-media-controls {
    display: none !important;
}

.training-video-el::-webkit-media-controls-enclosure {
    display: none !important;
}

.training-video-el::-webkit-media-controls-panel {
    display: none !important;
}

.training-video-el::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

.training-video-el::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.training-player-controls {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #ffffff;
    border: 3px solid #1E305C;
    border-radius: 0 0 14px 14px;
    margin: 0;
}

.training-player-control-btn {
    min-width: 130px;
    border-radius: 12px;
    border-width: 2px;
}

#toggleTrainingVideoBtn {
    border: 2px solid #1E305C;
}

#replayTrainingVideoBtn {
    border: 2px solid #1E305C;
    color: #1E305C;
    background: #ffffff;
}

#replayTrainingVideoBtn:hover {
    background: #eef3fb;
    color: #1E305C;
}

@media (max-width: 768px) {
    .training-player-overlay {
        padding: 4px;
        align-items: stretch;
        justify-content: stretch;
    }

    .training-player-card {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        border-width: 4px;
    }

    .training-player-header {
        padding:
            calc(6px + env(safe-area-inset-top, 0px)) 10px 6px 10px;
        border-radius: 0;
    }

    .training-player-title {
        font-size: 0.95rem;
    }

    .training-player-controls {
        padding:
            10px 10px calc(10px + env(safe-area-inset-bottom, 0px)) 10px;
        border-radius: 0;
    }

    .training-player-control-btn {
        flex: 1 1 0;
        min-width: 0;
    }
}

.rc-photo-status {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
}

.rc-photo-status-summary {
    font-weight: 700;
    margin-bottom: 6px;
}

.rc-photo-rejected-wrap strong {
    display: block;
    margin-bottom: 6px;
}

.rc-photo-rejected-list {
    margin: 0;
    padding-left: 18px;
}

.rc-photo-rejected-list li {
    margin-bottom: 8px;
}

.rc-photo-rejected-list li:last-child {
    margin-bottom: 0;
}

.rc-photo-rejected-name {
    font-weight: 600;
}

.rc-photo-rejected-reason {
    display: inline-block;
    margin-top: 2px;
    opacity: 0.95;
    font-size: 13px;
}

/* =========================================
   ANDROID SCROLL FIX
   mantener overscroll-behavior-y: none
   pero dar scroll interno a vistas largas
   ========================================= */

main {
    min-height: 0;
}

main .container {
    min-height: 0;
}

/* NEXT PAYROLL */
#payroll-view {
    min-height: 0;
}

#payroll-list {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* REIMBURSEMENTS */
#reimb-view {
    min-height: 0;
}

#reimb-view .reimb-wrap {
    border: 2px solid #e7eef8;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 12px;
    border-top: 0;

    max-height: 70dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding-bottom: 12px;
}

@media (max-width: 576px) {
    #reimb-view .reimb-wrap {
        max-height: 72dvh;
    }
}

#reimb-view,
#reimbForm {
    min-width: 0;
}

#reimbForm {
    padding-bottom: 90px;
}

#reimb-view .rc-form,
#reimb-view .rc-group,
#reimb-view .rc-row.two-cols {
    min-width: 0;
}

#reimb-view .rc-input,
#reimb-view .rc-textarea,
#reimb-view .rc-select {
    max-width: 100%;
}

#reimb-view #reimbReceiptPreview,
#reimb-view .rc-gallery {
    overflow-x: hidden;
}

#reimb-view .rc-thumb {
    flex: 0 0 auto;
}


/* ===== REIMBURSEMENTS — iPhone fix for DATE field ===== */
#grp_reimbAmount,
#grp_reimbDate {
    min-width: 0;
}

#reimbAmount,
#reimbDate {
    width: 100%;
    min-width: 0;
    height: 46px;
    box-sizing: border-box;
}

#reimbDate {
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.2;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* LIVE SUPERVISOR + TIMEKEEPING HISTORY */
#liveSupervisorView,
#checkHistoryView {
    min-height: 0;
}

.rc-live-body,
#liveSupBody,
#historyBody {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* listas internas por si crecen mucho */
#liveSupList,
#historyList {
    min-height: 0;
}

/* evita que un hijo flex/grid impida el scroll en Android */
.rc-live-body>* {
    min-height: 0;
}

/* =========================
   REIMBURSEMENT APPROVAL
   ========================= */

#reimbursementApprovalView {
    min-height: 0;
}



#reimbursementApprovalView .section-body {
    max-width: 980px;
    margin: 0 auto;
    padding: 8px 14px 90px;
    max-height: 70dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    min-height: 0;
}

#reimbursementApprovalListWrap,
#reimbursementApprovalList {
    min-height: 0;
}

.pending-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ra-pending-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #d9e2f0;
    border-radius: 16px;
    padding: 14px 14px 12px;
    box-shadow: 0 4px 14px rgba(30, 48, 92, 0.06);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-align: left;
}

.ra-pending-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 48, 92, 0.10);
}

.ra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
}

.ra-row+.ra-row {
    margin-top: 8px;
}

.ra-name {
    font-size: 18px;
    font-weight: 800;
    color: #1e305c;
    line-height: 1.2;
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ra-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    flex: 0 0 auto;
}

.ra-status-pending {
    background: #e7f0ff;
    color: #1e4fbf;
}

.ra-status-sent {
    background: #fff3cd;
    color: #8a6d00;
}

.ra-left,
.ra-right {
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
    color: #334155;
}

.ra-left strong,
.ra-right strong,
.ra-desc strong,
.ra-days strong {
    color: #1e305c;
    font-weight: 700;
}

.ra-left {
    flex: 1 1 auto;
}

.ra-right {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
}

.ra-desc {
    font-size: 14px;
    line-height: 1.4;
    color: #334155;
    margin-top: 8px;
    word-break: break-word;
}

.ra-days {
    font-size: 14px;
    line-height: 1.35;
    color: #334155;
    white-space: nowrap;
    text-align: right;
    flex: 0 0 auto;
}

.empty-state {
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    color: #64748b;
    font-weight: 600;
}

.reimb-approval-card {
    background: #ffffff;
    border: 1px solid #d9e2f0;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(30, 48, 92, 0.06);
}

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

.reimb-approval-grid .full-width {
    grid-column: 1 / -1;
}

.receipt-preview-box {
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    padding: 10px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.receipt-preview-box img {
    max-width: 100%;
    max-height: 380px;
    border-radius: 10px;
    object-fit: contain;
}

.receipt-preview-box a {
    font-weight: 700;
    color: #1e305c;
    text-decoration: none;
}

.ra-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}

.local-status-banner {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    display: none;
}

.local-status-banner.ok {
    background: #e8f7ec;
    color: #146c2e;
    border: 1px solid #b7e1c1;
}

.local-status-banner.err {
    background: #fdecec;
    color: #a61b1b;
    border: 1px solid #f5baba;
}

.local-status-banner.warn {
    background: #fff6df;
    color: #8a6400;
    border: 1px solid #f4d58d;
}

@media (max-width: 768px) {
    #reimbursementApprovalView .section-body {
        max-height: 72dvh;
        padding: 8px 10px 90px;
    }

    .reimb-approval-grid {
        grid-template-columns: 1fr;
    }

    .ra-actions {
        justify-content: stretch;
    }

    .ra-actions .btn {
        width: 100%;
    }

    .ra-row {
        align-items: flex-start;
    }

    .ra-name {
        white-space: normal;
    }

    .ra-right,
    .ra-days {
        text-align: right;
    }
}

.ra-detail-header {
    margin-bottom: 12px;
}

#reimbursementApprovalDetailWrap {
    display: none;
}

#reimbursementApprovalDetailWrap .reimb-approval-card {
    margin-top: 0;
}

#reimbursementApprovalDetailHeader {
    display: none;
}

/* =========================================
   REIMBURSEMENT APPROVAL CARDS — v377 tune
   ========================================= */

.ra-pending-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #d9e2f0;
    border-radius: 16px;
    padding: 14px 14px 12px;
    box-shadow: 0 4px 14px rgba(30, 48, 92, 0.06);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-align: left;
}

.ra-pending-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 48, 92, 0.10);
}

.ra-line1,
.ra-line2,
.ra-line3,
.ra-line4,
.ra-line5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.ra-line2,
.ra-line3,
.ra-line4,
.ra-line5 {
    margin-top: 7px;
}

.ra-line1 {
    margin-bottom: 1px;
}

.ra-name {
    font-size: 17px;
    font-weight: 600;
    color: #1e305c;
    line-height: 1.2;
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ra-date-amount {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
    color: #31456f;
    font-size: 14px;
}

.ra-date-label,
.ra-submitted-label {
    font-weight: 600;
    color: #1e305c;
    flex: 0 0 auto;
}

.ra-date-value,
.ra-submitted-date {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ra-amount {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 700;
    color: #1e305c;
    white-space: nowrap;
}

.ra-expense-type {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 600;
    color: #1e305c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ra-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    flex: 0 0 auto;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ra-status-pending {
    background: #e7f0ff;
    color: #1e4fbf;
}

.ra-status-sent {
    background: #efe4b8;
    color: #9a7800;
}

.ra-desc-single {
    width: 100%;
    font-size: 14px;
    color: #3d4d6c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ra-submitted-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 13px;
    color: #5b6b82;
}

.ra-days {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #1e305c;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .ra-name {
        font-size: 16px;
    }

    .ra-date-amount,
    .ra-expense-type,
    .ra-desc-single,
    .ra-submitted-wrap {
        font-size: 13px;
    }

    .ra-amount,
    .ra-days {
        font-size: 13px;
    }

    .ra-status {
        max-width: 118px;
        font-size: 10px;
        padding: 4px 9px;
    }
}

/* =========================================
   REIMBURSEMENT RECEIPT PREVIEW + ZOOM
   ========================================= */

.receipt-preview-box {
    position: relative;
    min-height: 120px;
}

.ra-receipt-thumb-wrap {
    position: relative;
    width: 100%;
    max-width: 220px;
    border: 1px solid #dbe3f0;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fbff;
}

.ra-receipt-thumb {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
}

.ra-receipt-zoom-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(30, 48, 92, 0.88);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.ra-receipt-zoom-btn i {
    font-size: 1rem;
    line-height: 1;
}

.ra-receipt-zoom-btn:hover {
    background: rgba(30, 48, 92, 1);
}

.ra-receipt-file-fallback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #dbe3f0;
    border-radius: 12px;
    background: #f8fbff;
    color: #1E305C;
    font-weight: 600;
}

.ra-receipt-file-fallback i {
    font-size: 1.1rem;
}

/* Full-screen zoom */
.ra-receipt-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
}

.ra-receipt-zoom-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.ra-receipt-zoom-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ra-receipt-zoom-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    border-radius: 12px;
    display: grid;
    place-items: center;
    z-index: 2;
}

.ra-receipt-zoom-close i {
    font-size: 1.7rem;
    display: block;
}

.ra-receipt-zoom-body {
    flex: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 24px 24px;
    overflow: auto;
    box-sizing: border-box;
}

.ra-receipt-zoom-body {
    position: relative;
    cursor: zoom-in;
}

.ra-receipt-magnifier {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 170px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.28),
        0 0 0 1.5px rgba(30, 48, 92, 0.45) inset;
    background-color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.12s ease, transform 0.12s ease;
    overflow: hidden;
}

.ra-receipt-magnifier.is-visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 991.98px),
(hover: none),
(pointer: coarse) {
    .ra-receipt-magnifier {
        display: none !important;
    }

    .ra-receipt-zoom-body {
        cursor: default;
    }
}

.ra-receipt-zoom-body img {
    display: block;
    max-width: min(96vw, 1600px);
    max-height: calc(100vh - 110px);
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    margin: auto;
}

@media (max-width: 768px) {
    .ra-receipt-zoom-body {
        padding: 60px 12px 20px;
    }

    .ra-receipt-zoom-body img {
        max-width: 100%;
        max-height: calc(100vh - 90px);
    }
}

@media (max-width: 480px) {
    .ra-receipt-thumb-wrap {
        max-width: 180px;
    }

    .ra-receipt-zoom-btn {
        width: 36px;
        height: 36px;
    }

    .ra-receipt-zoom-close {
        top: 8px;
        right: 8px;
    }

    .ra-receipt-zoom-close i {
        font-size: 1.6rem;
    }
}



.reimbursement-badge-pill {
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    font-size: 11px;
    margin-left: auto;
}

/* =========================
   REIMBURSEMENTS SUBMENU
   ========================= */

.sideMenu-item--with-caret {
    justify-content: flex-start;
}

.sideMenu-item--with-caret .menu-caret {
    margin-left: auto;
    transition: transform 0.18s ease;
}

.sideMenu-item--with-caret.is-open .menu-caret {
    transform: rotate(180deg);
}

.sideMenu-submenu {
    margin: -2px 0 8px 0;
    padding: 2px 0 2px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sideMenu-subitem {
    width: 100%;
    text-align: left;
    background: #27406f;
    border: none;
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    line-height: 1.2;
    min-height: 44px;
    transition: background .15s ease, transform .1s ease;
}

.sideMenu-subitem:hover {
    background: #315188;
    transform: translateX(2px);
}

.sideMenu-subitem i {
    font-size: 0.95rem;
    flex: 0 0 18px;
}

/* =========================
   MY REIMBURSEMENTS
   ========================= */

#myReimbursementsView {
    min-height: 0;
}

#myReimbursementsView .section-body {
    max-width: 980px;
    margin: 0 auto;
    padding: 8px 14px 90px;
    max-height: 70dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    min-height: 0;
}

#myReimbursementsListWrap,
#myReimbursementsList {
    min-height: 0;
}

#myReimbursementsDetailWrap {
    display: none;
}

#myReimbursementsDetailWrap .reimb-approval-card {
    margin-top: 0;
}

#myReimbursementsDetailHeader {
    display: none;
}

#myReimbursementsView .form-control[readonly],
#myReimbursementsView textarea[readonly] {
    background-color: #f8fafc;
    color: #334155;
    opacity: 1;
}

@media (max-width: 768px) {
    #myReimbursementsView .section-body {
        max-height: 72dvh;
        padding: 8px 10px 90px;
    }
}

/* =========================
   MY REIMBURSEMENTS STATUS
   ========================= */

.ra-status {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
}

/* Pending */
.ra-status-pending {
    background: #fff7cc;
    color: #a16207;
}

/* Sent to Manager */
.ra-status-sent {
    background: #e0ecff;
    color: #1d4ed8;
}

/* Approved */
.ra-status-approved {
    background: #dcfce7;
    color: #15803d;
}

/* Rejected */
.ra-status-rejected {
    background: #fee2e2;
    color: #b91c1c;
}

/* ===== MENU WIDTH / SUBMENU TUNING v387 ===== */

@media (min-width: 992px) {
    #sideMenu {
        width: 334px;
    }
}

.sideMenu-item {
    padding: 10px 9px;
    gap: 7px;
}

.sideMenu-submenu {
    margin: -2px 0 8px 0;
    padding: 2px 0 2px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sideMenu-subitem {
    width: 100%;
    text-align: left;
    background: #27406f;
    border: none;
    color: #fff;
    padding: 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.91rem;
    line-height: 1.15;
    min-height: 44px;
    transition: background .15s ease, transform .1s ease;
}

.sideMenu-subitem i {
    font-size: 0.95rem;
    flex: 0 0 16px;
}

.sideMenu-subitem span {
    flex: 1 1 auto;
    min-width: 0;
}

@media (min-width: 381px) {

    #menuReimbRequest span,
    #menuMyReimbursements span {
        white-space: nowrap;
    }
}

/* =========================================
   REIMBURSEMENT FILE TOGGLE v389
   ========================================= */

#reimbAddFileBlock {
    display: block;
}

#reimbFileActions {
    display: none;
    justify-content: flex-start;
    align-items: center;
}

#reimbReceiptPreview {
    min-height: 0;
}

#reimbDate.is-readonly-by-ocr {
    background-color: #f3f4f6;
    color: #475569;
    cursor: not-allowed;
}

/* ===== Reimbursement Approval card: ID on top right v399===== */

.ra-line1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ra-line1 .ra-name {
    min-width: 0;
    flex: 1 1 auto;
}

.ra-line1 .ra-reimb-id {
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: #5b6b82;
    white-space: nowrap;
}

/* ===== MY REIMBURSEMENTS: promoter + id on same line ===== */

.my-reimb-line1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.my-reimb-line1 .ra-name {
    min-width: 0;
    flex: 1 1 auto;
}

.my-reimb-id {
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: #5b6b82;
    white-space: nowrap;
}


/* ================================
   SYSTEM ADMIN / CHECK IN PARAMS - v415 compact
   ================================ */

.admin-scroll-view {
    display: none;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
    padding-bottom: 16px;
}

.admin-wrap {
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 15;
    background: #fff;
}

/* ===== Admin menu: one row per option ===== */
.admin-menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.admin-menu-row {
    width: 100%;
    border: 2px solid #e7eef8;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .2s ease;
}

.admin-menu-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.admin-menu-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-menu-row-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: #eef4ff;
    color: #1E305C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.admin-menu-row-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-menu-row-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #1E305C;
    line-height: 1.15;
}

.admin-menu-row-subtitle {
    font-size: 0.81rem;
    color: #64748b;
    line-height: 1.2;
    margin-top: 2px;
}

.admin-menu-row-arrow {
    color: #1E305C;
    font-size: 0.95rem;
    flex: 0 0 auto;
}

/* ===== Status ===== */
.admin-status {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.90rem;
    font-weight: 600;
    line-height: 1.2;
}

.admin-status.ok {
    background: #eaf8ef;
    color: #1f7a39;
    border: 1px solid #b9e2c3;
}

.admin-status.err {
    background: #fff0f0;
    color: #b42318;
    border: 1px solid #f4c7c7;
}

.admin-status.warn {
    background: #fff8e8;
    color: #9a6700;
    border: 1px solid #f2d38a;
}

/* ===== Param cards ===== */
.admin-section-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.admin-param-card {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(30, 48, 92, 0.05);
    overflow: hidden;
}

.admin-param-card-header {
    padding: 10px 14px;
    background: linear-gradient(180deg, #f7faff 0%, #f1f6ff 100%);
    border-bottom: 1px solid #e5edf8;
}

.admin-param-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1E305C;
    line-height: 1.1;
}

.admin-subblock-title {
    padding: 10px 14px 6px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1E305C;
    background: #fbfdff;
}

.admin-param-list {
    padding: 0 14px 12px 14px;
}

.admin-param-row {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #edf2fa;
    margin: 0;
    width: 100%;
}

.admin-param-row:last-child {
    border-bottom: none;
}

.admin-param-row-label {
    font-size: 0.90rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-param-row-input {
    align-items: center;
}

.admin-inline-input {
    display: flex;
    align-items: center;
    border: 1px solid #d7e2f1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    min-height: 38px;
    min-width: 140px;
    max-width: 170px;
    flex: 0 0 auto;
}

.admin-input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 8px 10px;
    font-size: 0.90rem;
    color: #1e293b;
    background: transparent;
    box-shadow: none;
    text-align: right;
}

.admin-input:focus {
    outline: none;
    box-shadow: none;
}

.admin-input-unit {
    padding: 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    background: #f8fbff;
    border-left: 1px solid #e6edf7;
    white-space: nowrap;
    min-height: 38px;
    display: flex;
    align-items: center;
}

/* ===== Slider switch ===== */
.admin-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex: 0 0 auto;
}

.admin-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.admin-switch-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: #cbd5e1;
    transition: .2s ease;
    border-radius: 999px;
}

.admin-switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: white;
    transition: .2s ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

.admin-switch input:checked+.admin-switch-slider {
    background-color: #1E305C;
}

.admin-switch input:checked+.admin-switch-slider:before {
    transform: translateX(20px);
}

.admin-switch input:focus+.admin-switch-slider {
    box-shadow: 0 0 0 3px rgba(158, 197, 254, .35);
}

/* ===== Footer actions ===== */
.admin-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 6px;
}

.admin-btn {
    min-width: 150px;
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 14px;
}

/* Mobile */
@media (max-width: 767.98px) {
    .admin-scroll-view {
        max-height: calc(100dvh - 108px);
        padding-bottom: 22px;
    }

    .admin-menu-row {
        padding: 12px;
    }

    .admin-menu-row-title {
        font-size: 0.93rem;
    }

    .admin-menu-row-subtitle {
        font-size: 0.79rem;
    }

    .admin-param-row {
        min-height: 46px;
        gap: 10px;
    }

    .admin-param-row-label {
        font-size: 0.86rem;
    }

    .admin-inline-input {
        min-width: 126px;
        max-width: 146px;
    }

    .admin-footer-actions {
        flex-direction: column;
    }

    .admin-btn {
        width: 100%;
    }
}

/* ===== Reimbursement Params specific ===== */

.admin-inline-input-text {
    min-width: 170px;
    max-width: 220px;
}

.admin-inline-input-select {
    min-width: 170px;
    max-width: 220px;
}

.admin-input-text {
    text-align: left;
}

.admin-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

@media (max-width: 767.98px) {

    .admin-inline-input-text,
    .admin-inline-input-select {
        min-width: 150px;
        max-width: 180px;
    }
}

.admin-users-table-wrap {
    overflow-x: auto;
    padding: 0;
}

.admin-users-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
}

.admin-users-table thead th {
    position: sticky;
    top: 0;
    background: #eef4ff;
    color: #1E305C;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: left;
    padding: 10px 10px;
    border-bottom: 1px solid #dbe6f5;
    white-space: nowrap;
    z-index: 2;
}

.admin-users-table tbody td {
    padding: 10px 10px;
    border-bottom: 1px solid #edf2fa;
    font-size: 0.88rem;
    color: #334155;
    vertical-align: middle;
}

.admin-users-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.admin-users-table .admin-inline-input {
    min-width: 90px;
    max-width: 110px;
}

.admin-users-table .admin-switch {
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .admin-users-table {
        min-width: 660px;
    }

    .admin-users-table thead th,
    .admin-users-table tbody td {
        font-size: 0.82rem;
        padding: 8px 8px;
    }
}

/* ===== USERS ADMIN - list + detail (no horizontal scroll) ===== */

.admin-footer-actions-top {
    padding-top: 0;
    padding-bottom: 10px;
    justify-content: flex-start;
}

.admin-users-list {
    padding: 10px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-user-row {
    width: 100%;
    border: 1px solid #e6edf7;
    border-radius: 14px;
    background: #fbfdff;
    padding: 12px 14px;
    text-align: left;
    transition: transform .08s ease, box-shadow .2s ease;
}

.admin-user-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(30, 48, 92, 0.08);
}

.admin-user-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.admin-user-code {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: .3px;
}

.admin-user-market {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1E305C;
    text-align: right;
}

.admin-user-name-btn {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #004a99;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.admin-user-name-btn:hover {
    text-decoration: underline;
}

.admin-inline-input-wide {
    min-width: 180px;
    max-width: 260px;
}

@media (max-width: 767.98px) {
    .admin-user-row {
        padding: 11px 12px;
    }

    .admin-user-name-btn {
        font-size: 0.92rem;
    }

    .admin-user-code,
    .admin-user-market {
        font-size: 0.78rem;
    }

    .admin-inline-input-wide {
        min-width: 150px;
        max-width: 190px;
    }
}


/* =========================================
   TRAINING VIDEOS — same scroll pattern as
   Reimbursement Approval / My Reimbursements v426
   ========================================= */

#training-videos-view {
    min-height: 0;
}


#trainingVideosList {
    min-height: 0;
}

@media (max-width: 768px) {
    #training-videos-view .training-section-body {
        max-height: 72dvh;
        padding: 8px 10px 90px;
    }
}


/* =========================================
   TRAINING VIDEOS — visual upgrade
   ========================================= */

.training-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f4f6fb;
    border: 1px solid #e2e8f3;
}

/* LEFT: icon + duration */
.training-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

.training-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #e7edf7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-icon i {
    font-size: 1.4rem;
    color: #1E305C;
}

.training-duration {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7a90;
    font-weight: 600;
}

/* CENTER: title */
.training-info {
    flex: 1 1 auto;
    min-width: 0;
}



/* RIGHT: button */
.training-open-btn {
    flex: 0 0 auto;
    background: linear-gradient(180deg, #2f6ee6, #1d5ed8);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
}

.training-open-btn:hover {
    opacity: 0.9;
}

/* =========================================
   TRAINING VIDEOS — v4000 layout fix
   ========================================= */

.training-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e3e7ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.training-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
}

.training-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #eef4ff;
    color: #1E305C;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-icon i {
    font-size: 1.2rem;
    line-height: 1;
}

.training-duration {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    min-height: 14px;
}

.training-info {
    min-width: 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.training-title-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    text-decoration: none;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

.training-title-btn:hover {
    text-decoration: underline;
}

.training-open-btn {
    white-space: nowrap;
    min-width: 84px;
    border-radius: 12px;
    font-weight: 600;
    padding-left: 16px;
    padding-right: 16px;
}

/* TRAINING VIDEOS — title and duration */

.training-title-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 3px;
}

.training-video-name {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: #010F3C;
}

.training-video-length {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    color: #595959;
}

@media (max-width: 520px) {
    .training-item {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 14px 12px;
    }

    .training-icon-wrap {
        width: 64px;
        min-width: 64px;
    }

    .training-icon {
        width: 50px;
        height: 50px;
    }

    .training-icon i {
        font-size: 1.3rem;
    }

    .training-title-btn {
        font-size: 14px;
        line-height: 1.3;
    }

    .training-open-btn {
        min-width: 74px;
        padding-left: 14px;
        padding-right: 14px;
    }
}

#contact-modal .cm-header {
    display: block;
    padding: 10px 0 6px 0;
    border-bottom: 1px solid #e7eef8;
}

/* fila botón */
#contact-modal .header-close-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
}

/* fila título */
#contact-modal .header-title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.scheduler-header .header-title-row h4,
.reports-header .header-title-row h4,
.payroll-header .header-title-row h4,
#reimb-view .header-title-row h5,
.live-header .header-title-row h4,
#contact-modal .header-title-row h4,
.rc-header .header-title-row h4,
.training-header .header-title-row h4,
.admin-header .header-title-row h4 {
    margin: 0;
    color: #004a99;
    line-height: 1.2;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 600;
}

/* =========================================================
   LIVE COMPACT VIEW
   ========================================================= */

#liveCompactView {
    min-height: 0;
}

#liveCompactBody {
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 8px 0 90px 0;
}

#liveCompactList {
    min-height: 0;
}

.lc-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px 30px 58px;
    align-items: stretch;
    gap: 3px;
    min-height: 82px;
}

.lc-info {
    min-width: 0;
    background: #ffffff;
    border: 2px solid #63d7ea;
    border-radius: 7px;
    padding: 7px 6px;
    text-align: center;
    overflow: hidden;
}

.lc-promoter {
    color: #0b1b70;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-event {
    display: block;
    width: 100%;
    color: #9aa0a8 !important;
    font-size: 0.86rem;
    font-weight: 400 !important;
    line-height: 1.05;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-meta,
.lc-date {
    color: #a7a7a7;
    font-size: 0.86rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-action {
    border: none;
    border-radius: 7px;
    font-size: 0.82rem;
    line-height: 1.05;
    font-weight: 500;
    text-align: center;
    padding: 4px 2px;
}

.lc-action span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.05;
}

.lc-done {
    background: rgba(16, 185, 129, .14) !important;
    border: 1px solid rgba(16, 185, 129, .35) !important;
    color: #0f5132 !important;
}

.lc-empty {
    background: #e8eef7;
    color: #9aa0a8;
}

.lc-break {
    background: #f3f6fb;
    color: #5b6577;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}


.lc-break-on {
    background: rgba(59, 130, 246, .22);
    border: 1px solid rgba(59, 130, 246, .55);
}

@media (max-width: 390px) {
    .lc-row {
        grid-template-columns: minmax(0, 1fr) 54px 26px 54px;
    }

    .lc-promoter {
        font-size: 0.92rem;
    }

    .lc-event,
    .lc-meta,
    .lc-date {
        font-size: 0.78rem;
    }

    .lc-action,
    .lc-action span {
        font-size: 0.74rem;
    }
}

.ra-status-checked {
    background: #dcfce7;
    color: #15803d;
}

/*/////////////////////////////////////*/

.rc-photo-rejected-wrap {
    margin-top: 8px;
    text-align: left;
}

.rc-photo-rejected-list {
    padding-left: 18px;
    margin-top: 6px;
}

.rc-photo-rejected-list li {
    margin-bottom: 8px;
    line-height: 1.25;
    word-break: break-word;
}

.rc-photo-rejected-name {
    display: block;
    font-weight: 700;
}

.rc-photo-rejected-reason {
    display: block;
    font-size: 0.88rem;
    opacity: 0.85;
}

/* =========================================================
   LIVE SUPERVISOR FULL VIEW — compact/blue polish
   ========================================================= */

#liveSupervisorView .ls-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 6px;
    align-items: stretch;
    padding: 4px 0 8px 0;
    margin: 0;
}

#liveSupervisorView .ls-filter {
    min-width: 0;
    flex: unset;
}

#liveSupervisorView .ls-filter label {
    display: none !important;
}

#liveSupervisorView .ls-filter select {
    height: 38px;
    border: 2px solid #63d7ea;
    border-radius: 8px;
    background-color: #fbfeff;
    color: #0b1b70;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: none;
}

#liveSupervisorView .ls-filter select:focus {
    border-color: #37bfd8;
    box-shadow: 0 0 0 3px rgba(99, 215, 234, 0.18);
}

#liveSupervisorView .ls-clear {
    height: 38px;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 0.86rem;
    font-weight: 600;
    border: 2px solid #d7e4f3;
    color: #1E305C;
    background: #fff;
}

#liveSupervisorView .rc-live-grid {
    gap: 5px;
}

#liveSupervisorView .rc-live-row {
    border: 2px solid #63d7ea;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
    padding: 7px 6px;
    gap: 6px;
}

#liveSupervisorView .rc-live-info {
    background: #fbfeff;
    border: 1px solid rgba(99, 215, 234, 0.45);
    border-radius: 8px;
    padding: 7px 8px;
}

#liveSupervisorView .rc-live-name {
    color: #0b1b70;
    font-size: 1rem;
    font-weight: 600;
}

#liveSupervisorView .rc-live-event {
    margin-top: 2px;
    opacity: 1;
}

#liveSupervisorView .rc-live-event .ls-shift-link {
    color: #6f7784 !important;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
}

#liveSupervisorView .rc-btn-state,
#liveSupervisorView .rc-break-box {
    border-radius: 8px !important;
    min-height: 0;
}

@media (max-width: 420px) {
    #liveSupervisorView .ls-filters {
        grid-template-columns: 1fr 1fr;
    }

    #liveSupervisorView .ls-clear {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.sideMenu-yellow {
    /*color:#FFD54A !important;*/
    color: white !important;
}

.sideMenu-yellow i {
    /*color:#FFD54A !important;*/
    color: white !important;
}

#fld_salesFreeText {
    min-height: 300px !important;
    height: 300px !important;
    resize: vertical;
}

/* ===== Reimbursement Approval comments / reason boxes ===== */

#raSentToManagerCommentsViewWrap,
#raCheckedCommentsViewWrap,
#raSentToManagerCommentsWrap,
#raCheckedCommentsWrap,
#raRejectReasonWrap {
    background: #f8fbff;
    border: 2px solid #e7eef8;
    border-radius: 14px;
    padding: 12px;
    margin-top: 8px;
}

#raSentToManagerCommentsViewWrap .form-label,
#raCheckedCommentsViewWrap .form-label,
#raSentToManagerCommentsWrap .form-label,
#raCheckedCommentsWrap .form-label,
#raRejectReasonWrap .form-label {
    color: #1E305C;
    font-weight: 600;
    margin-bottom: 6px;
}

#ra_sentToManagerCommentsView,
#ra_checkedCommentsView,
#ra_sentToManagerComments,
#ra_checkedComments,
#ra_rejectionReason {
    border: 2px solid #dbe7f6;
    border-radius: 12px;
    resize: vertical;
    min-height: 92px;
    font-size: 0.95rem;
    line-height: 1.35;
    background: #ffffff;
}

#ra_sentToManagerCommentsView[readonly],
#ra_checkedCommentsView[readonly] {
    background: #eef5ff;
    color: #24324B;
    cursor: default;
}

#raSentToManagerCommentsViewWrap {
    border-left: 5px solid #0d6efd;
}

#raCheckedCommentsViewWrap {
    border-left: 5px solid #198754;
}

#raSentToManagerCommentsWrap {
    border-left: 5px solid #ffc107;
}

#raCheckedCommentsWrap {
    border-left: 5px solid #198754;
}

#raRejectReasonWrap {
    border-left: 5px solid #dc3545;
}


.my-reimb-action-line {
    width: 100%;
    max-width: 100%;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 14px 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.my-reimb-action-line--approved {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.my-reimb-action-line--rejected {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.my-reimb-action-line--sent,
.my-reimb-action-line--checked {
    background: #fff7cc;
    color: #a16207;
    border: 1px solid #fde68a;
}


/* ================= FORGOT CODE LOGIN ================= */

.forgot-code-wrap {
    margin-top: 8px;
    margin-bottom: 4px;
    text-align: center;
}


#code-container .forgot-code-btn {
    background: transparent !important;
    border: none !important;
    color: #010F3C !important;
    padding: 4px 8px !important;
    font-family: var(--gl-font) !important;
    font-size: 1.125rem !important;
    font-weight: 300 !important;
    text-decoration: underline;
    cursor: pointer;
    border-radius: 8px;
}


#code-container .forgot-code-btn:hover {
    color: #FF4032 !important;
    background: rgba(30, 48, 92, 0.06) !important;
}

.forgot-code-modal {
    position: fixed;
    inset: 0;
    z-index: 1450;
    display: none;
    align-items: center;
    justify-content: center;
}

.forgot-code-modal.show {
    display: flex;
}

.forgot-code-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.forgot-code-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 460px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
    padding: 16px;
    text-align: left;
}

.forgot-code-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 54px 12px 54px;
    border-bottom: 1px solid #e7eef8;
    margin-bottom: 12px;
}

.forgot-code-header h4 {
    margin: 0;
    color: #004a99;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.forgot-code-header .modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: none;
    background: transparent;
    border-radius: 12px;
    line-height: 0;
    transform: translate(10px, -10px);
}

.forgot-code-header .modal-close i {
    font-size: 1.4rem;
}

.forgot-code-body {
    padding: 4px 0 0 0;
}

.forgot-code-help {
    margin: 0 0 12px 0;
    color: #24324B;
    font-size: 0.98rem;
    line-height: 1.35;
    text-align: center;
}

.forgot-code-status {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
}

.forgot-code-status--ok {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.forgot-code-status--err {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.forgot-code-status--info {
    background: #e8f4ff;
    color: #1E305C;
    border: 1px solid #bfdbfe;
}

.forgot-code-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.forgot-code-footer .btn {
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
}

@media (max-width: 380px) {
    .forgot-code-header h4 {
        font-size: 1.08rem;
    }

    .forgot-code-footer {
        gap: 8px;
    }

    .forgot-code-footer .btn {
        font-size: 0.9rem;
        padding-left: 8px;
        padding-right: 8px;
    }
}

.reimb-total-box {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 10px;
    align-items: center;
    background: #eef3fb;
    border: 1px solid #d6e4f7;
    border-radius: 12px;
    padding: 10px;
    margin: 8px 0 12px;
    color: #1E305C;
    font-weight: 700;
}

.reimb-total-box input {
    text-align: right;
    font-weight: 700;
    background: #fff;
}

.reimb-receipts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reimb-empty-list {
    padding: 12px;
    color: #6b7280;
    background: #fafafa;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    text-align: center;
}

.reimb-receipt-card {
    border: 2px solid #e7eef8;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    text-align: left;
}

.reimb-receipt-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #1E305C;
}

.reimb-receipt-file {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reimb-receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.reimb-receipt-field {
    margin-bottom: 8px;
}

.reimb-receipt-card label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1E305C;
    margin-bottom: 4px;
}

.reimb-receipt-card .rc-textarea {
    min-height: 64px;
}

.reimb-receipt-card.is-processing {
    opacity: 0.65;
    pointer-events: none;
}

.ra-receipts-preview-box {
    display: block;
}

.ra-receipts-preview-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ra-receipt-card {
    border: 1px solid #dbe3f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px;
}

.ra-receipt-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1E305C;
    margin-bottom: 6px;
}

.ra-receipt-card-amount {
    font-weight: 700;
    color: #198754;
}

.ra-receipt-card-meta {
    font-size: 0.86rem;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.35;
}

.ra-receipt-thumb-wrap {
    position: relative;
    width: 100%;
}

.ra-receipt-thumb {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.ra-receipt-zoom-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    border: none;
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(30, 48, 92, 0.92);
    color: #ffffff;
}


.todo-card {
    padding: 10px 12px;
    margin-bottom: 8px;
    text-align: left;
}

.todo-card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;

    padding-bottom: 4px;
    margin-bottom: 6px;

    border-bottom: 1px solid #eceff3;
}

.todo-brand {
    font-size: 1rem;
    font-weight: 800;
    color: #0b4f9c;
}

.todo-date {
    font-size: 0.90rem;
    font-weight: 700;
    color: #64748b;
}

.todo-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.90rem;
    color: #64748b;
}


.todo-location-label {
    font-weight: 700;
    color: #333;
}

.todo-event {
    text-align: left !important;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.todo-event p {
    text-align: left !important;
    margin: 0;
    line-height: 1.25;
    font-size: 0.92rem;
    color: #334155;
}

.todo-separator {
    color: #94a3b8;
    font-weight: 700;
}

.express-tasks-modal {
    position: fixed;
    inset: 0;
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.express-tasks-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
}

.express-tasks-dialog {
    position: relative;
    z-index: 1;
    width: min(94vw, 520px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
    overflow: hidden;
    text-align: left;
}

.express-tasks-header {
    padding: 16px 16px 10px;
    border-bottom: 1px solid #e7eef8;
    text-align: center;
}

.express-tasks-header h4 {
    margin: 0;
    color: #004a99;
    font-weight: 700;
}

.express-tasks-header p {
    margin: 6px 0 0;
    color: #5b6475;
    font-size: .95rem;
}

.express-tasks-body {
    padding: 14px 16px;
}

.express-tasks-textarea {
    width: 100%;
    border: 2px solid #e7eef8;
    border-radius: 12px;
    padding: 12px;
    font-size: 1rem;
    resize: vertical;
    min-height: 150px;
}

.express-tasks-textarea:focus {
    outline: none;
    border-color: #9ec5fe;
    box-shadow: 0 0 0 3px rgba(158, 197, 254, .35);
}

.express-tasks-error {
    margin-top: 8px;
    color: #b91c1c;
    font-weight: 600;
}

.express-tasks-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 12px 16px 16px;
    border-top: 1px solid #e7eef8;
}

.express-tasks-footer .btn {
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
}

@media (max-width: 420px) {
    .express-tasks-footer {
        grid-template-columns: 1fr;
    }
}

.early-checkin-message {
    margin-top: -6px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff3cd;
    color: #664d03;
    font-weight: 600;
    font-size: 0.95rem;
}

#action-container button.early-checkin-disabled,
#action-container button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* =========================================================
   SHIFT FLAGS — ROWS COMPACTAS Y LABELS A LA DERECHA
   ========================================================= */

#lsSignalsModal .admin-param-card {
    border: 1px solid #dce7f5;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 48, 92, 0.06);
}

#lsSignalsModal .admin-param-card-header {
    padding: 11px 14px;
    background: #f1f6ff;
    border-bottom: 1px solid #e1eaf6;
}

#lsSignalsModal .admin-param-card-title {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.95rem;
    color: #1e305c;
}

#lsSignalsModal .admin-param-list {
    padding: 0 14px 8px;
}

/* Cada fila usa dos columnas:
   texto flexible | control con ancho fijo */
#lsSignalsModal .admin-param-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    align-items: center;
    column-gap: 12px;

    min-height: 48px;
    padding: 8px 0;
    margin: 0;

    border-bottom: 1px solid #edf2fa;
}

/* Texto alineado hacia el switch */
#lsSignalsModal .admin-param-row-label {
    display: block;
    width: 100%;
    padding: 0;

    text-align: right;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
    color: #3b4b65;

    white-space: normal;
    overflow-wrap: anywhere;
}

/* Switch pegado y centrado en su columna */
#lsSignalsModal .admin-switch {
    justify-self: end;
    flex: none;
}

/* Las filas numéricas necesitan una segunda columna más ancha */
#lsSignalsModal .admin-param-row-input {
    grid-template-columns: minmax(0, 1fr) 114px;
}

/* Caja numérica */
#lsSignalsModal .admin-inline-input {
    justify-self: end;

    width: 114px;
    min-width: 114px;
    max-width: 114px;
    min-height: 40px;

    border: 1px solid #d7e2f1;
    border-radius: 12px;
    background: #f8fbff;
}

/* Número */
#lsSignalsModal .admin-input {
    padding: 8px 8px;
    text-align: right;
    font-weight: 600;
    color: #1e305c;
}

/* Unidad qty */
#lsSignalsModal .admin-input-unit {
    min-width: 42px;
    padding: 0 9px;

    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #69758a;

    border-left: 1px solid #e1e8f2;
}

/* Evita línea debajo de la última fila */
#lsSignalsModal .admin-param-row:last-child {
    border-bottom: none;
}

/* Ajuste móvil */
@media (max-width: 420px) {

    #lsSignalsModal .admin-param-list {
        padding-left: 12px;
        padding-right: 12px;
    }

    #lsSignalsModal .admin-param-row {
        grid-template-columns: minmax(0, 1fr) 50px;
        column-gap: 10px;
    }

    #lsSignalsModal .admin-param-row-input {
        grid-template-columns: minmax(0, 1fr) 108px;
    }

    #lsSignalsModal .admin-param-row-label {
        font-size: 0.84rem;
    }

    #lsSignalsModal .admin-inline-input {
        width: 108px;
        min-width: 108px;
        max-width: 108px;
    }
}

/* =========================================================
   EXPRESS REPORT — TASK TYPE
   ========================================================= */

#grp_taskType .rc-chips {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#grp_taskType .rc-chip {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    border-radius: 12px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;

    background: #f8fbff;
    color: #1E305C;
    border: 2px solid #d6e4f7;

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

#grp_taskType .rc-chip.is-on {
    background: #1E305C;
    color: #fff;
    border-color: #1E305C;
    box-shadow: 0 3px 10px rgba(30, 48, 92, .18);
}

#grp_taskType .rc-chip:hover {
    border-color: #9ec5fe;
}


/* =========================================================
   MANUAL HOURS
   ========================================================= */

#manual-hours-view .form-control,
#manual-hours-view .form-select {
    min-height: 46px;
}

/* =========================================================
   MANUAL HOURS - DURATION
   ========================================================= */

.manual-hours-duration {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;

    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.manual-hours-duration-colon {
    padding-top: 8px;
    font-size: 1.45rem;
    line-height: 46px;
    font-weight: 700;
    color: #1E305C;
}

.manual-hours-unit {
    margin-top: 5px;
    text-align: center;
    font-size: .78rem;
    color: #6c757d;
}

#manualHoursDurationHours,
#manualHoursDurationMinutes {
    min-height: 46px;
    font-size: 1.05rem;
    font-weight: 600;
}

#manualHoursStart {
    min-height: 46px;
}

/* ========================================================= 
   MANUAL HOURS - MOBILE SCROLL
   ========================================================= */
/* =========================================================
   MANUAL HOURS - MOBILE SCROLL
   Same pattern as Training Videos
   ========================================================= */

#manual-hours-view {
    min-height: 0;
    overflow: hidden;
}

#manual-hours-view>.section-body {
    max-height: 70dvh;

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;

    min-height: 0;

    /* espacio para que los botones lleguen cómodamente */
    padding-bottom: 24px;

    /* hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#manual-hours-view>.section-body::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    #manual-hours-view>.section-body {
        max-height: 72dvh;
    }
}

/* =========================================================
   REPORT CERTIFICATION
   ========================================================= */

.rc-checklabel:has(.rc-cert-text) {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 10px;
    align-items: start;

    width: 100%;
    margin: 4px 0 8px;
    padding: 12px;

    background: #fff8f8;
    border: 1px solid #f1c7c7;
    border-radius: 12px;

    text-align: left;
    cursor: pointer;
}


/* Checkbox grande y claramente visible */
.rc-checklabel:has(.rc-cert-text) input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 24px;
    height: 24px;
    margin: 1px 0 0 0;

    border: 2px solid #dc3545;
    border-radius: 5px;
    background: #fff;

    cursor: pointer;
    position: relative;
    flex-shrink: 0;

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


/* CHECKED */
.rc-checklabel:has(.rc-cert-text) input[type="checkbox"]:checked {
    background: #198754;
    border-color: #198754;
}


/* Check blanco */
.rc-checklabel:has(.rc-cert-text) input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;

    left: 7px;
    top: 3px;

    width: 7px;
    height: 13px;

    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}


/* Cuando ya está certificado, quitamos el aspecto de alerta */
.rc-checklabel:has(.rc-cert-text):has(input[type="checkbox"]:checked) {
    background: #f5fbf7;
    border-color: #b9dfc6;
}


/* Contenedor del texto */
.rc-cert-text {
    display: block;
    min-width: 0;

    color: #303846;
    font-size: 0.92rem;
    line-height: 1.38;
}


/* Cada certificación como párrafo independiente */
.rc-cert-paragraph {
    display: block;
}


/* Separación entre los 3 statements */
.rc-cert-paragraph+.rc-cert-paragraph {
    margin-top: 9px;
}


/* Focus visible para teclado/accesibilidad */
.rc-checklabel:has(.rc-cert-text) input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, .18);
}


/* Móvil */
@media (max-width: 480px) {

    .rc-checklabel:has(.rc-cert-text) {
        grid-template-columns: 26px 1fr;
        column-gap: 9px;
        padding: 10px;
    }

    .rc-checklabel:has(.rc-cert-text) input[type="checkbox"] {
        width: 23px;
        height: 23px;
    }

    .rc-cert-text {
        font-size: 0.89rem;
        line-height: 1.35;
    }

    .rc-cert-paragraph+.rc-cert-paragraph {
        margin-top: 8px;
    }
}

/* =========================================================
   EXPRESS PHOTO REQUIREMENT NOTICE
========================================================= */
/* =========================================================
   EXPRESS PHOTO NOTICE - GOCHECK STYLE
========================================================= */

#expressPhotoNotice {
    --notice-blue: #004a99;
    --notice-navy: #1E305C;

    width: min(390px, 92vw);
    height: auto;
    max-height: calc(100dvh - 32px);

    top: 16px;
    bottom: auto;

    background: #ffffff;
    border: 1px solid #d6e4f7;
    border-radius: 14px 0 0 14px;

    box-shadow: -6px 6px 24px rgba(30, 48, 92, .16);

    font-family: inherit;
    overflow: hidden;

    top: 90px;
    max-height: calc(100dvh - 105px);
}

/* HEADER */

#expressPhotoNotice .express-photo-notice-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    position: relative;

    padding: 16px 20px 12px;
    background: #fff;
    border-bottom: 1px solid #e7eef8;
}

#expressPhotoNotice .express-photo-notice-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    background: #eef3fb;
    color: #004a99;
    font-size: 18px;
}

#expressPhotoNoticeTitle {
    margin: 0;
    color: #FF4032;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0;
}

/* BODY */

#expressPhotoNotice .express-photo-notice-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 20px;
    overflow-y: auto;
    background: #ffffff;
}

#expressPhotoNotice .express-photo-notice-badge {
    align-self: center;

    padding: 8px 18px;
    margin-bottom: 18px;

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

    background: #eef3fb;
    color: #1E305C;

    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
}

/* MAIN MESSAGE */

#expressPhotoNotice .express-photo-notice-text {
    margin: 0 0 18px;

    color: #1E305C;
    font-family: inherit;

    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
}

#expressPhotoNotice .express-photo-notice-text strong {
    color: #004a99;
    font-weight: 700;
}

/* REMINDER */

#expressPhotoNotice .express-photo-notice-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 12px 14px;
    margin-bottom: 20px;

    background: #f4f7fc;
    border: 1px solid #d6e4f7;
    border-radius: 10px;

    color: #5b6b82;
    font-family: inherit;
    font-size: 0.87rem;
    line-height: 1.45;
    text-align: left;
}

#expressPhotoNotice .express-photo-notice-tip i {
    color: #004a99;
    font-size: 17px;
    flex-shrink: 0;
}

/* BUTTON - SAME GREEN AS GOCHECK */

#expressPhotoNotice .express-photo-notice-ok {
    width: 100%;
    min-height: 46px;

    margin-top: 0;
    padding: 11px 16px;

    background: #28a745 !important;
    border: none !important;
    border-radius: 10px;

    color: #ffffff !important;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;

    box-shadow: none !important;
}

#expressPhotoNotice .express-photo-notice-ok:hover {
    background: #23913d !important;
}

/* OPTIONAL */

#expressPhotoNotice.is-optional .express-photo-notice-icon {
    background: #eef3fb;
    color: #004a99;
}

#expressPhotoNotice.is-optional .express-photo-notice-badge {
    background: #f4f7fc;
    color: #004a99;
}

/* MOBILE */

@media (max-width: 575.98px) {
    #expressPhotoNotice {
        width: 92vw;
        top: 10px;
        max-height: calc(100dvh - 20px);
    }

    #expressPhotoNotice .express-photo-notice-body {
        padding: 18px 16px;
    }

    #expressPhotoNotice .express-photo-notice-text {
        font-size: 0.95rem;
    }
}


/* ================================================
   EXPRESS PHOTO NOTICE - FINAL POSITION AND HEADER
================================================ */

#expressPhotoNotice {
    position: fixed !important;

    width: min(390px, calc(100vw - 32px)) !important;
    height: fit-content !important;
    max-height: calc(100dvh - 115px) !important;

    top: 95px !important;
    right: 50% !important;
    left: auto !important;
    bottom: auto !important;

    margin: 0 !important;
    border: 1px solid #d6e4f7 !important;
    border-radius: 14px !important;

    box-shadow: 0 8px 30px rgba(0, 0, 0, .22);

    overflow-y: auto;
}

/* Preserve Bootstrap slide-in animation */
#expressPhotoNotice:not(.show):not(.showing) {
    transform: translate(150%, 0);
}

#expressPhotoNotice.show,
#expressPhotoNotice.showing {
    transform: translate(50%, 0) !important;
}

/* Both headings with identical styling */
#expressPhotoNotice .express-photo-notice-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    padding: 15px 16px 12px;
}

#expressPhotoNotice #expressPhotoNoticeTitle,
#expressPhotoNotice #expressPhotoNoticeBadge {
    display: block;
    margin: 0;
    padding: 0;

    border: none;
    border-radius: 0;
    background: transparent;

    color: #FF4032;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
}

/* Mobile */
@media (max-width: 575.98px) {
    #expressPhotoNotice {
        top: 95px !important;
        max-height: calc(100dvh - 110px) !important;
    }
}

#rcPhotoStatus {
    display: block !important;
    text-align: left;
}

#rcPhotoStatus.d-none {
    display: none !important;
}

#rcPhotoStatus .rc-photo-status-summary,
#rcPhotoStatus .rc-photo-limit-wrap,
#rcPhotoStatus .rc-photo-limit-wrap>div {
    display: block !important;
    width: 100%;
}

#rcPhotoStatus .rc-photo-status-summary,
#rcPhotoStatus .rc-photo-limit-wrap>div:first-child {
    margin-bottom: 6px;
}

.upload-status-lines {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px;
    width: 100%;
    min-width: 0;
    text-align: left;
}

.upload-status-line {
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    white-space: pre-line;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

#rcPhotoSummaryLine {
    font-weight: 700;
}

/* ==========================================
   GO LOCAL — POST REPORT SAVED MODAL
   STAFFING + EXPRESS
   ========================================== */


/* POST REPORT — COMPACT DIALOG */
#postReportModal .modal-dialog {
    width: calc(100% - 56px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

#postReportModal .post-report-content {
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(1, 15, 60, 0.18);
    border: none;
    background: #FFFFFF;
    overflow: hidden;
    border-top: 5px solid #FF4F2A;
}

#postReportModal .post-report-body {
    padding: 26px 22px 22px;
    text-align: center;
    font-family: var(--gl-font);
}

/* Success icon */
#postReportModal .post-report-icon {
    display: block;
    color: #28A745;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 12px;
}

/* REPORT SAVED */
#postReportModal .post-report-title {
    color: #010F3C;
    font-family: var(--gl-font);
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
}

/* Success description */
#postReportModal .post-report-success {
    color: #595959;
    font-family: var(--gl-font);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}

/* Divider */
#postReportModal .post-report-divider {
    height: 1px;
    background: #E7E7E7;
    margin: 20px 0 16px;
}

/* Instruction */
#postReportModal .post-report-instruction {
    color: #595959;
    font-family: var(--gl-font);
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.5;
    margin: 0 0 20px;
}

/* CONTINUE BUTTON */
#postReportModal .post-report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 48px;

    border: none;
    border-radius: 10px;

    background: #010F3C;
    color: #FFFFFF;

    font-family: var(--gl-font);
    font-size: 1.15rem;
    font-weight: 700;

    cursor: pointer;
    transition: background .2s ease;
}

#postReportModal .post-report-btn:hover {
    background: #1E305C;
}

#postReportModal .post-report-btn i {
    font-size: 1rem;
    color: #FFFFFF;
}


/* ==========================================
   GO LOCAL - OSWALD TYPOGRAPHY TEST
   ========================================== */

#mainLabel {
    font-family: var(--gl-font);
    font-weight: 700;
}

#versionLabel {
    font-family: var(--gl-font);
    font-weight: 300;
}

/* ============================================================
   GO LOCAL / LOGIN 3.2 — isolated from authenticated views
   The login layout is active ONLY while #code-container is visible.
   ============================================================ */
:root {
    --gl-ink: #010F3C;
    --gl-pink: #FF1B59;
    --gl-orange: #FF4F2A;
    --gl-paper: #E7E7E7;
}

body:has(#code-container:not([style*="display: none"])) {
    background: var(--gl-paper);
}

body:has(#code-container:not([style*="display: none"]))>header {
    position: absolute;
    top: 0;
    left: 0;
    height: 62px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

body:has(#code-container:not([style*="display: none"]))>header>img {
    display: none;
}

body:has(#code-container:not([style*="display: none"])) #hamburgerBtn {
    top: 7px;
    left: 7px;
    width: 46px;
    height: 46px;
    background: transparent;
    color: #fff;
}

body:has(#code-container:not([style*="display: none"])) main {
    width: 100%;
    flex: 1 0 auto;
    margin: 0;
    padding: 0;
}

body:has(#code-container:not([style*="display: none"])) main .container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

body:has(#code-container:not([style*="display: none"])) #main-view {
    padding: 0;
    margin: 0;
    overflow: visible;
    min-height: 100dvh;
    background: var(--gl-paper);
}

.gl-login-hero,
.gl-login-panel {
    display: none;
}

body:has(#code-container:not([style*="display: none"])) .gl-login-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: clamp(360px, 53dvh, 540px);
    padding: clamp(64px, 9dvh, 92px) max(34px, calc((100vw - 500px)/2 + 34px)) 64px;
    background: #010F3C;
    text-align: left;
    width: clamp(220px, 65vw, 300px);
}


/* =============================================================
   TAMAÑO DEL LOGI DE LA LOGIN PAGE AQUI. 
   ============================================================= */

body:has(#code-container:not([style*="display: none"])) .gl-login-logo {
    display: block;
    width: clamp(330px, 95vw, 480px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: auto;
}


body:has(#code-container:not([style*="display: none"])) .gl-login-slogan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;

    font-family: var(--gl-font);
    font-size: clamp(50px, 14vw, 78px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.5px;

    text-align: left;
    white-space: nowrap;
}

.gl-login-slogan span {
    font-family: inherit;
}

.gl-login-slogan span:first-child {
    color: #fff;
}

.gl-login-slogan span:last-child {
    color: var(--gl-ink);
    font-weight: 300;
}

body:has(#code-container:not([style*="display: none"])) .gl-login-panel {
    display: block;
    position: relative;
    margin-top: -24px;
    padding: 24px max(34px, calc((100vw - 500px)/2 + 34px)) max(40px, env(safe-area-inset-bottom));
    min-height: calc(47dvh + 24px);
    background: var(--gl-paper);
    border-radius: 26px 26px 0 0;
    text-align: left;
}

body:has(#code-container:not([style*="display: none"])) #mainLabel {
    display: none;
}

body:has(#code-container:not([style*="display: none"])) #code-container {
    width: 100%;
    margin: 0;
    font-family: var(--gl-font);
}

body:has(#code-container:not([style*="display: none"])) #code-container>p {
    display: none;
}

.gl-login-access-label {
    display: none;
}

body:has(#code-container:not([style*="display: none"])) .gl-login-access-label {
    display: block;
    margin: 0 0 16px;
    color: var(--gl-ink);
    font: 700 15px/1.2 var(--gl-font);
    letter-spacing: .6px;
}

body:has(#code-container:not([style*="display: none"])) #codeInput {
    display: block;
    width: 100%;
    max-width: none;
    height: 60px;
    margin: 0 0 17px;
    padding: 12px 17px;
    border: 2px solid var(--gl-ink);
    border-radius: 12px;
    background: #fff;
    color: var(--gl-ink);
    text-align: left;
    font: 300 21px var(--gl-font);
    outline-offset: 3px;
}

body:has(#code-container:not([style*="display: none"])) #codeInput::placeholder {
    color: #777;
    opacity: 1;
    font: 300 20px var(--gl-font);
}

body:has(#code-container:not([style*="display: none"])) #loginBtn {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 0 0;
    min-height: 60px;
    border-radius: 12px;
    background: var(--gl-ink);
    color: white;
    font: 700 24px/1.2 var(--gl-font);
    text-transform: uppercase;
    letter-spacing: .6px;
}

body:has(#code-container:not([style*="display: none"])) #loginBtn:hover,
body:has(#code-container:not([style*="display: none"])) #loginBtn:focus-visible {
    background: #14295b;
}

body:has(#code-container:not([style*="display: none"])) .forgot-code-wrap {
    margin: 27px 0 0;
    text-align: center;
}


body:has(#code-container:not([style*="display: none"])) #code-container .forgot-code-btn {
    color: var(--gl-ink) !important;
    font: 300 19px var(--gl-font) !important;
    text-decoration: underline;
}


body:has(#code-container:not([style*="display: none"])) #versionLabel {
    display: block;
    margin-top: 26px;
    text-align: center;
    color: #595959;
    font: 300 15px var(--gl-font);
}

@media (max-height: 680px) {
    body:has(#code-container:not([style*="display: none"])) .gl-login-hero {
        min-height: 335px;
        padding-top: 62px;
        padding-bottom: 48px;
    }

    body:has(#code-container:not([style*="display: none"])) .gl-login-panel {
        padding-top: 29px;
    }
}

@media (min-width: 700px) {
    body:has(#code-container:not([style*="display: none"])) .gl-login-hero {
        min-height: 440px;
    }

    body:has(#code-container:not([style*="display: none"])) .gl-login-panel {
        min-height: 400px;
    }
}

/* =============================================================
   GO LOCAL | SIDE MENU REFRESH — 2026-10-12
   Visual-only. Keep existing IDs, events and permission rules.
   ============================================================= */
#sideMenu {
    background: #010F3C;
    border-right: 1px solid rgba(255, 255, 255, .12);
    padding: 15px 12px 14px;
    opacity: 1;
}

#sideMenu .sideMenu-header {
    padding: 7px 5px 15px;
    margin-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

#sideMenu .sideMenu-header>span {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: .055em;
    text-transform: uppercase;
    color: #fff;
}

#sideMenu #closeMenuBtn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 10px;
}

#sideMenu #closeMenuBtn:focus-visible,
#sideMenu .sideMenu-item:focus-visible,
#sideMenu .sideMenu-subitem:focus-visible {
    outline: 2px solid #FF4F2A;
    outline-offset: 2px;
}

#sideMenu .sideMenu-list {
    margin: 0;
    padding: 3px 2px 12px;
    display: block;
    min-height: 0;
    overscroll-behavior: contain;
}

#sideMenu .sideMenu-list>li[hidden] {
    display: none !important;
}

#sideMenu .sideMenu-item {
    min-height: 45px;
    margin: 0 0 6px;
    padding: 10px 11px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 9px;
    background: #142856;
    color: #E7E7E7;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: 1.03rem;
    line-height: 1.25;
    letter-spacing: .015em;
    box-shadow: none;
    transition: background .15s ease, border-color .15s ease;
}

#sideMenu .sideMenu-item>i:first-child,
#sideMenu .sideMenu-icon {
    color: #FF4F2A;
    font-size: 1.05rem;
    flex: 0 0 20px;
    text-align: center;
}

#sideMenu .sideMenu-item:hover,
#sideMenu .sideMenu-item:active {
    background: #203A72;
    border-color: rgba(255, 79, 42, .48);
    transform: none;
}

#sideMenu .sideMenu-item.is-disabled,
#sideMenu .sideMenu-item:disabled {
    opacity: .55;
}

#sideMenu .sideMenu-item--with-caret.is-open {
    border-color: rgba(255, 79, 42, .55);
    background: #203A72;
}

#sideMenu .menu-caret {
    color: #FF4F2A;
}

#sideMenu .sideMenu-submenu {
    padding: 3px 0 8px 18px;
    margin: 0;
    gap: 6px;
}

#sideMenu .sideMenu-submenu[hidden] {
    display: none !important;
}

#sideMenu .sideMenu-subitem {
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: #0D204B;
    color: #E7E7E7;
    border-radius: 8px;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: .99rem;
}

#sideMenu .sideMenu-subitem i {
    color: #FF4F2A;
}

#sideMenu .sideMenu-subitem:hover {
    background: #203A72;
    transform: none;
}

/* Section markers are attached to existing list items; no JS changes. */
#sideMenu #menuTrainingVideosLi::before,
#sideMenu .sideMenu-list>li:has(> #menuLiveCompact)::before {
    display: block;
    margin: 15px 4px 9px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: #FF4F2A;
    font: 700 .80rem/1.3 'Oswald', Arial, sans-serif;
    letter-spacing: .12em;
}

#sideMenu #menuTrainingVideosLi::before {
    content: 'MY WORKSPACE';
}

#sideMenu .sideMenu-list>li:has(> #menuLiveCompact)::before {
    content: 'SUPERVISION';
}

#sideMenu .sideMenu-list>li:has(> #menuExit) {
    margin-top: 12px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

#sideMenu #menuExit {
    background: transparent;
    border: 1px solid rgba(255, 79, 42, .48);
    color: #fff;
}

#sideMenu #menuExit:hover {
    background: rgba(255, 79, 42, .14);
}

@media (max-width: 380px) {
    #sideMenu {
        width: min(286px, 88vw);
        padding-inline: 10px;
    }

    #sideMenu .sideMenu-item {
        font-size: .98rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    #sideMenu .sideMenu-item,
    #sideMenu .sideMenu-subitem {
        transition: none;
    }
}


/* ==========================================
   GO LOCAL - UNIFIED SIDE MENU TYPOGRAPHY
   ========================================== */

/* ==========================================
   GO LOCAL - MENU TEXT CONSISTENCY
   ========================================== */

#sideMenu .sideMenu-list .sideMenu-item .menu-text,
#sideMenu .sideMenu-list .sideMenu-item .sideMenu-text {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.03rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.015em !important;
}


/* Preserve Bootstrap icons */
#sideMenu .sideMenu-item i,
#sideMenu .sideMenu-subitem i {
    font-family: "bootstrap-icons" !important;
    font-weight: normal !important;
}

/* GO LOCAL - REIMBURSEMENTS SUBMENU TYPOGRAPHY */

#sideMenu .sideMenu-subitem .menu-text {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: 1.03rem;
    line-height: 1.25;
    letter-spacing: 0.015em;
}




/* ==========================================
   GO LOCAL - UPCOMING SHIFTS 2026 - 10 - 12
   ========================================== */

#scheduler-view {
    width: 100%;
    min-height: calc(100dvh - 75px);
    background: #E7E7E7;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

/* HEADER */

#scheduler-view .gl-scheduler-header {
    background: #010F3C;
    border-bottom: 4px solid #FF1B59;
    padding: 26px 26px 25px;
}

#scheduler-view .gl-scheduler-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

#scheduler-view .gl-scheduler-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

#scheduler-view .gl-scheduler-title-accent {
    color: #FF4F2A;
}

#scheduler-view .gl-scheduler-title-light {
    color: #FFFFFF;
}

/* CLOSE BUTTON */

#scheduler-view .gl-scheduler-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: transparent;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

#scheduler-view .gl-scheduler-close i {
    font-size: 23px;
    line-height: 1;
}

/* CONTENT */

#scheduler-view .gl-scheduler-content {
    background: #E7E7E7;
    padding: 22px 20px 32px;
    min-height: 60vh;
}

#scheduler-view .gl-scheduler-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    max-height: none;
    overflow: visible;
}

/* SHIFT CARDS */

#scheduler-view .scheduler-card {
    width: 100%;
    display: block;
    text-align: left;
    border: 0;
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: none;
    padding: 14px 15px;
    font-family: 'Oswald', Arial, sans-serif;
    cursor: default;
    transform: none;
}

#scheduler-view .scheduler-card:hover {
    transform: none;
    box-shadow: none;
}

#scheduler-view .scheduler-card .row1 {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #010F3C;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

#scheduler-view .scheduler-card .row2 {
    color: #010F3C;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}

#scheduler-view .scheduler-card .row3 {
    color: #595959;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.3;
}

/* EMPTY STATE */

#scheduler-view .gl-scheduler-empty {
    background: #FFFFFF;
    border-radius: 18px;
    min-height: 205px;
    padding: 30px 18px;
    text-align: center;
}

#scheduler-view .gl-scheduler-empty-logo {
    color: #595959;
    font-size: 36px;
    line-height: 1;
    margin-bottom: 12px;
}

#scheduler-view .gl-scheduler-empty-text {
    color: #010F3C;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
}

/* MOBILE */

@media (max-width: 480px) {
    #scheduler-view .gl-scheduler-header {
        padding: 20px 25px 20px;
    }

    #scheduler-view .gl-scheduler-content {
        padding: 20px;
    }
}

/* UPCOMING SHIFTS - MOBILE TOUCH SCROLL */

#scheduler-view {
    height: calc(100dvh - 95px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#scheduler-view .gl-scheduler-header {
    flex: 0 0 auto;
}

#scheduler-view .gl-scheduler-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

#scheduler-view .gl-scheduler-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

#scheduler-view .gl-scheduler-list {
    max-height: none;
    overflow: visible;
}


/* UPCOMING SHIFTS - OFFICIAL OSWALD TYPOGRAPHY */

#scheduler-view .scheduler-card,
#scheduler-view .scheduler-card *,
#scheduler-view .gl-scheduler-empty,
#scheduler-view .gl-scheduler-empty * {
    font-family: 'Oswald', Arial, sans-serif;
}

#scheduler-view .scheduler-card .row1,
#scheduler-view .scheduler-card .row1 strong,
#scheduler-view .scheduler-card .row1 span {
    font-weight: 700;
    font-size: 15px;
    color: #010F3C;
}

#scheduler-view .scheduler-card .row2,
#scheduler-view .scheduler-card .row2 strong,
#scheduler-view .scheduler-card .row2 span {
    font-weight: 700;
    font-size: 17px;
    color: #010F3C;
}

#scheduler-view .scheduler-card .row3,
#scheduler-view .scheduler-card .row3 span {
    font-weight: 300;
    font-size: 16px;
    color: #595959;
}

#scheduler-view .scheduler-card .row1 i,
#scheduler-view .scheduler-card .row3 i {
    font-family: "bootstrap-icons" !important;
}

/* ==========================================
   
   ========================================== */
/* UPCOMING SHIFTS - REDUCE OUTER SPACING */

main:has(#scheduler-view:not([style*="display: none"])) {
    padding-left: 4px;
    padding-right: 4px;
}

main:has(#scheduler-view:not([style*="display: none"]))>.container {
    padding-left: 0;
    padding-right: 0;
}

/* UPCOMING SHIFTS - BALANCED OUTER SPACING  261013 548am*/

main:has(#scheduler-view:not([style*="display: none"])) {
    padding: 8px 10px 0;
}

main:has(#scheduler-view:not([style*="display: none"]))>.container {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

#scheduler-view {
    border-radius: 14px 14px 0 0;
}

#scheduler-view .gl-scheduler-header {
    border-radius: 14px 14px 0 0;
}

/* ==================================================
   GO LOCAL - AUTHENTICATED MAIN SCREEN
   Keep home layout stable after navigating
   ================================================== */

body.gl-authenticated main .container {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

body.gl-authenticated #main-view {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}


/* ==================================================
   GO LOCAL - TRAINING VIDEOS
   ================================================== */

#training-videos-view {
    width: 100%;
    min-height: calc(100dvh - 75px);
    margin: 0;
    padding: 0;
    background: #E7E7E7;
    border-radius: 0;
    overflow: hidden;
}

/* HEADER */

#training-videos-view .gl-training-header {
    background: #010F3C;
    border-bottom: 4px solid #FF1B59;
    padding: 26px 22px 23px;
}

#training-videos-view .gl-training-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

#training-videos-view .gl-training-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 37px;
    line-height: 1.12;
}

#training-videos-view .gl-training-accent {
    color: #FF4F2A;
    font-weight: 700;
}

#training-videos-view .gl-training-light {
    color: #FFFFFF;
    font-weight: 300;
}

#training-videos-view .gl-training-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    padding: 0;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
}

#training-videos-view .gl-training-close i {
    font-size: 22px;
    line-height: 1;
}

/* CONTENT */

#training-videos-view .gl-training-content {
    background: #E7E7E7;
    padding: 18px 16px 28px;
    min-height: 60vh;
}

#training-videos-view .training-videos-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    max-height: none;
    overflow: visible;
}

/* VIDEO CARDS */

#training-videos-view .training-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 12px;
    background: #FFFFFF;
    border: 0;
    border-radius: 16px;
    box-shadow: none;
}

#training-videos-view .training-icon-wrap {
    flex: 0 0 50px;
    text-align: center;
}

#training-videos-view .training-icon {
    color: #FF4F2A;
    font-size: 25px;
}

#training-videos-view .training-duration {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #595959;
}

#training-videos-view .training-info {
    flex: 1 1 auto;
    min-width: 0;
}

#training-videos-view .training-title-btn {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #010F3C;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    overflow-wrap: anywhere;
}

#training-videos-view .training-open-btn {
    flex: 0 0 auto;
    padding: 8px 12px;
    background: #010F3C;
    border: 0;
    border-radius: 9px;
    color: #FFFFFF;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

#training-videos-view .training-open-btn:hover {
    background: #FF4F2A;
}

/* EMPTY STATE */

#training-videos-view .gl-training-empty {
    background: #FFFFFF;
    border-radius: 18px;
    min-height: 205px;
    padding: 35px 15px;
    text-align: center;
    color: #010F3C;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
}

#training-videos-view .gl-training-empty i {
    display: block;
    margin-bottom: 20px;
    color: #FF4F2A;
    font-size: 55px;
}

@media (max-width: 480px) {
    #training-videos-view .gl-training-heading {
        font-size: 35px;
    }

    #training-videos-view .training-item {
        gap: 9px;
        padding: 13px 10px;
    }

    #training-videos-view .training-title-btn {
        font-size: 15px;
    }
}

/* ==========================================
   GO LOCAL - MY REIMBURSEMENTS 20261013
   ========================================== */

#myReimbursementsView {
    background: #E7E7E7;
    height: calc(100dvh - 75px);
    min-height: 0;
    overflow: hidden;

    flex-direction: column;
}

/* Header */
#myReimbursementsView .gl-my-reimb-header {
    background: #010F3C;
    border-bottom: 4px solid #FF1B59;
    padding: 26px 22px 23px;
}

#myReimbursementsView .gl-my-reimb-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

#myReimbursementsView .gl-my-reimb-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    margin: 0;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: clamp(27px, 8vw, 39px);
    line-height: 1.12;
    text-align: left;
}

#myReimbursementsView .gl-my-reimb-accent {
    color: #FF4F2A;
    font-weight: 700;
}

#myReimbursementsView .gl-my-reimb-light {
    color: #FFFFFF;
    font-weight: 300;
}

/* Close button */
#myReimbursementsView .gl-my-reimb-close {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
}

#myReimbursementsView .gl-my-reimb-close i {
    font-size: 20px;
    line-height: 1;
}

/* Content */
#myReimbursementsView .section-body {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 14px 35px;
    background: #E7E7E7;

    height: calc(100dvh - 235px);
    max-height: none;
    min-height: 200px;

    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* Responsive */
@media (max-width: 480px) {
    #myReimbursementsView .gl-my-reimb-header {
        padding: 26px 20px 23px;
    }

    #myReimbursementsView .section-body {
        padding: 20px 13px 35px;
    }
}

#myReimbursementsView .gl-my-reimb-header {
    flex: 0 0 auto;
}

#myReimbursementsView .section-body {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* ==========================================
   MY REIMBURSEMENTS - REAL SCROLL FIX
   ========================================== */

#myReimbursementsView #myReimbursementsListWrap {
    overflow-y: auto !important;
    overflow-x: hidden !important;

    min-height: 0 !important;

    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* =========================================================
   GO LOCAL - MY REIMBURSEMENTS DETAIL HEADER
   ========================================================= */

/* HEADER */

#myReimbursementsDetailHeader {
    background: #010F3C;
    border-bottom: 4px solid #FF1B59;
    padding: 26px 22px 23px;
}

#myReimbursementsDetailHeader .gl-mr-detail-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

#myReimbursementsDetailHeader .gl-mr-detail-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 35px;
    line-height: 1.15;
}

#myReimbursementsDetailHeader .gl-mr-detail-accent {
    color: #FF4F2A;
    font-weight: 700;
}

#myReimbursementsDetailHeader .gl-mr-detail-light {
    color: #FFFFFF;
    font-weight: 300;
}

#myReimbursementsDetailHeader .gl-mr-detail-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    padding: 0;
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
}

#myReimbursementsDetailHeader .gl-mr-detail-close i {
    font-size: 22px;
    line-height: 1;
}

/* DETAIL CONTENT */

#myReimbursementsDetailWrap .reimb-approval-card {
    margin: 10px 0 20px;
    padding: 18px 15px;
    background: #FFFFFF;
    border: none;
    border-radius: 17px;
    box-shadow: none;
}

/* FIELD LABELS */

#myReimbursementsDetailWrap .form-label {
    display: block;
    margin-bottom: 5px;
    color: #595959;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: left;
}

/* READ-ONLY VALUES */

#myReimbursementsDetailWrap .form-control[readonly] {
    font-family: 'Oswald', Arial, sans-serif;
    width: 100%;
    min-height: 40px;
    background: #FFFFFF;
    color: #010F3C;
    border: 1px solid #D5D9E2;
    border-left: 3px solid #FF4F2A;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    box-shadow: none;
    opacity: 1;
}

#myReimbursementsDetailWrap textarea.form-control[readonly] {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    resize: none;
}

/* GRID SPACING */
#myReimbursementsDetailWrap .reimb-approval-grid {
    gap: 8px;
}

#myReimbursementsDetailWrap .reimb-approval-grid>.mb-3 {
    min-width: 0;
    margin-bottom: 0 !important;
}

/* RECEIPTS */

#myReimbursementsDetailWrap #mr_receiptPreview {
    background: #F5F6F8;
    border-radius: 12px;
    padding: 12px;
}

/* MOBILE */

@media (max-width: 480px) {

    #myReimbursementsDetailHeader .gl-mr-detail-heading {
        font-size: 31px;
    }

    #myReimbursementsDetailWrap .reimb-approval-card {
        padding: 16px 12px;
    }

    #myReimbursementsDetailWrap .form-label {
        font-size: 14px;
    }

}


/* =====================================================
   GO LOCAL - MY REIMBURSEMENTS
   LIST + DETAIL - SCROLL FIX
   ===================================================== */

/* Contenedor principal */
#myReimbursementsView {
    display: flex;
    flex-direction: column;

    height: calc(100dvh - 75px);
    min-height: 0;

    overflow: hidden;
}

/* Ambos encabezados permanecen visibles */
#myReimbursementsListHeader,
#myReimbursementsDetailHeader {
    flex: 0 0 auto;
}

/* Ambos contenidos pueden ocupar el espacio restante */
#myReimbursementsView #myReimbursementsListWrap,
#myReimbursementsView #myReimbursementsDetailWrap {
    flex: 1 1 auto;

    min-height: 0;
    max-height: none;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;

    padding-bottom: 35px;
}

/* LOGIN - FULL WIDTH NAVY HERO */

body:has(#code-container:not([style*="display: none"])) .gl-login-hero {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    background: #010F3C !important;
}

/* LOGIN - SLOGAN CONTRAST */

body:has(#code-container:not([style*="display: none"])) .gl-login-slogan span:last-child {
    color: #FF4F2A !important;
}

body:has(#code-container:not([style*="display: none"])) main,
body:has(#code-container:not([style*="display: none"])) main .container,
body:has(#code-container:not([style*="display: none"])) #main-view {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* ==========================================
   TRAINING VIDEOS - FINAL SCROLL FIX
   ========================================== */

#training-videos-view {
    width: 100%;
    max-width: 750px;
    height: calc(100dvh - 95px);
    min-height: 0;
    margin: 0 auto;
    padding: 0;

    flex-direction: column;
    overflow: hidden;
}

/* Mantener fijo el encabezado */
#training-videos-view .gl-training-header {
    flex: 0 0 auto;
}

/* Desplazar solamente las tarjetas */
#training-videos-view .gl-training-content {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;

    overflow-y: auto;
    overflow-x: hidden;

    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* La lista no debe tener un segundo scroll */
#training-videos-view #trainingVideosList {
    height: auto;
    max-height: none;
    overflow: visible;
}



/* ==============================================
   GO LOCAL — PENDING REPORTS
   Unified Brand UI
   ============================================== */

/* VISTA */
#reports-view {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 75px);
    min-height: 0;
    overflow: hidden;
    background: #010F3C;
    text-align: left;
}

/* HEADER — usa gl-section-header */
#reports-view .reports-header.gl-section-header {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 22px;
    background: #010F3C;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-radius: 0;
    box-shadow: none;
    z-index: 2;
}

/* TITLE — tipografía controlada por gl-section-title */
#reports-view .reports-title.gl-section-title {
    margin: 0;
    text-align: left !important;
    white-space: normal;
}

/* CLOSE — Bootstrap bi-x-circle */
#reports-view #closeReportsBtn {
    position: static;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #FFFFFF;
    box-shadow: none;
    transform: none;
    opacity: 1;
    cursor: pointer;
}

#reports-view #closeReportsBtn i {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 30px;
    line-height: 1;
    color: #FFFFFF;
}

#reports-view #closeReportsBtn:hover {
    background: transparent;
    opacity: .85;
}

#reports-view #closeReportsBtn:active {
    transform: none;
}

#reports-view #closeReportsBtn:focus-visible {
    outline: 2px solid #FF4F2A;
    outline-offset: 3px;
}

/* ÁREA SCROLLABLE */
#reports-view #reports-list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 14px 12px 24px;

    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: #010F3C;
}

/* CARDS */
#reports-view #reports-list .scheduler-card {
    margin: 0;
    padding: 15px 14px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(1, 15, 60, .10);
    color: #010F3C;
    text-align: left;
    cursor: pointer;
    transform: none;
}

/* TIPOGRAFÍA INTERNA */
#reports-view #reports-list .scheduler-card,
#reports-view #reports-list .scheduler-card * {
    font-family: 'Oswald', Arial, sans-serif !important;
}

/* EVENTO */
#reports-view #reports-list .scheduler-card .row1 {
    margin-bottom: 8px;
    color: #010F3C;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* UBICACIÓN */
#reports-view #reports-list .scheduler-card .row2 {
    margin-bottom: 10px;
    color: #595959;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
}

/* FECHA Y ESTADO */
#reports-view #reports-list .scheduler-card .row3,
#reports-view #reports-list .scheduler-card .row4 {
    color: #010F3C;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
}

/* CHIPS */
#reports-view #reports-list .scheduler-card .chip {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

/* DÍAS PENDIENTES */
#reports-view #reports-list .scheduler-card .chip--urgent {
    background: #FFE1E5;
    color: #B42335;
}

/* OTROS ESTADOS */
#reports-view #reports-list .scheduler-card .chip--status {
    background: #E7E7E7;
    color: #010F3C;
}

/* INTERACCIÓN */
#reports-view #reports-list .scheduler-card:hover {
    box-shadow: 0 3px 12px rgba(1, 15, 60, .14);
}

#reports-view #reports-list .scheduler-card:active {
    transform: none;
}



/* ==============================================
   PENDING REPORTS — EMPTY STATE
   ============================================== */

#reports-view #reportsEmpty {
    flex: 0 0 auto;
    margin: 20px 14px;
    padding: 24px 18px;

    background: #FFFFFF;
    color: #595959;
    border: 1px solid #E7E7E7;
    border-radius: 8px;

    font-family: 'Oswald', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;

    box-shadow: 0 2px 8px rgba(1, 15, 60, .10);
}

#reports-view #reportsEmpty * {
    font-family: 'Oswald', Arial, sans-serif !important;
}


/* ==========================================
   GO LOCAL - EXPRESS ACTION BUTTONS
   ========================================== */

#action-container .btn-express-in {
    background: #D1E7DD !important;
    background-color: #D1E7DD !important;
    color: #0F5132 !important;
    border: 2px solid transparent !important;
    opacity: 1;
    font-family: var(--gl-font);
    font-weight: 700;
}

#action-container .btn-express-out {
    background-color: #FF4F2A !important;
    color: #FFFFFF !important;
    opacity: 1;
    font-family: var(--gl-font);
    font-weight: 700;
}

/* ==========================================
   GO LOCAL - ACTION BUTTONS
   STAFFING + EXPRESS
   ========================================== */

/* CHECK IN / EXPRESS IN */
#action-container button.btn-checkin {
    background: #D1E7DD !important;
    background-color: #D1E7DD !important;
    color: #0F5132 !important;
    border: 2px solid transparent !important;
    opacity: 1;
    font-family: var(--gl-font);
    font-weight: 700;
}

/* CHECK OUT / EXPRESS OUT */
#action-container button.btn-checkout,
#action-container button.btn-report-checkout {
    background: #FF4F2A !important;
    color: #FFFFFF !important;
    border: none;
    opacity: 1;
    font-family: var(--gl-font);
    font-weight: 700;
}

/* ==========================================
   GO LOCAL - GPS VERIFICATION PANEL
   STAFFING + EXPRESS
   ========================================== */

/* Panel de mediciones */
#geoProgressPanel.alert-info {
    background: #E7E7E7 !important;
    color: #010F3C !important;
    border: 1px solid #C9C9C9 !important;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* Indicador circular de búsqueda */
#geoProgressPanel.alert-info .spinner-border {
    color: #FF4F2A !important;
}

/* Pista de la barra */
#geoProgressPanel.alert-info .progress {
    background: #D0D0D0 !important;
    border-radius: 20px;
    overflow: hidden;
}

/* Avance de la barra */
#geoProgressPanel.alert-info .progress-bar {
    background-color: #FF4F2A !important;
    border-radius: 20px;
}

/* Texto secundario */
#geoProgressPanel.alert-info .small,
#geoProgressPanel.alert-info .text-muted {
    color: #595959 !important;
}


/* ==========================================
   GO LOCAL - CAMERA ACTION BUTTONS
   ========================================== */

#camera-modal .gl-camera-take,
#camera-modal .gl-camera-retry,
#camera-modal .gl-camera-cancel {
    font-family: var(--gl-font);
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 16px;
    min-height: 44px;
    border: none !important;
    opacity: 1;
    transition: filter 0.2s ease;
}

/* TAKE PHOTO - BRAND ORANGE */
#camera-modal .gl-camera-take {
    background: #FF4F2A !important;
    color: #FFFFFF !important;
}

/* RETRY - OFF-WHITE / GRAY */
#camera-modal .gl-camera-retry {
    background: #E7E7E7 !important;
    color: #595959 !important;
}

/* CANCEL - BRAND PINK */
#camera-modal .gl-camera-cancel {
    background: #FF1B59 !important;
    color: #FFFFFF !important;
}

/* HOVER */
#camera-modal .gl-camera-take:hover,
#camera-modal .gl-camera-retry:hover,
#camera-modal .gl-camera-cancel:hover {
    filter: brightness(1.08);
}

/* DISABLED */
#camera-modal .gl-camera-take:disabled,
#camera-modal .gl-camera-retry:disabled,
#camera-modal .gl-camera-cancel:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ==========================================
   GO LOCAL - CAMERA LOGO
   ========================================== */

#camera-modal .gl-camera-logo {
    display: block;
    width: 148px;
    max-width: 55%;
    height: auto;
    object-fit: contain;
    margin: 0 auto 18px;
    flex-shrink: 0;
}

/* ==========================================
/* ==========================================
/* ==========================================
   GO LOCAL - EXPRESS PHOTO NOTICE
   OFFICIAL BRAND COLORS & TYPOGRAPHY
   ========================================== */
/* ==========================================
/* ==========================================

/* Tipografía general del aviso */
#expressPhotoNotice,
#expressPhotoNotice * {
    font-family: 'Oswald', Arial, sans-serif;
}

/* Títulos */
#expressPhotoNotice #expressPhotoNoticeTitle,
#expressPhotoNotice #expressPhotoNoticeBadge {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 700;
    color: #FF4F2A;
    text-align: center;
}

/* Texto principal */
#expressPhotoNotice .express-photo-notice-text {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    color: #010F3C;
    line-height: 1.6;
}

/* Recuadro informativo */
#expressPhotoNotice .express-photo-notice-tip {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    color: #595959;
    line-height: 1.5;
}

/* Ícono informativo */
#expressPhotoNotice .express-photo-notice-tip i {
    color: #010F3C;
}

/* Botón OK - Ink Navy */
#expressPhotoNotice .express-photo-notice-ok {
    background: #010F3C !important;
    color: #FFFFFF !important;
    border: none !important;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.4px;
}

/* Hover */
#expressPhotoNotice .express-photo-notice-ok:hover {
    background: #1E305C !important;
}

/* Al presionar */
#expressPhotoNotice .express-photo-notice-ok:active {
    background: #010F3C !important;
}

/* ==========================================
   GO LOCAL - EXPRESS REPORT UI
   ========================================== */

#report-capture-view.gl-express-report #sec_summary {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 14px;
    padding: 20px 16px;
    box-shadow: 0 4px 16px rgba(1, 15, 60, .08);
}

#report-capture-view.gl-express-report #sec_summary .rc-label {
    display: block;
    font-family: var(--gl-font);
    font-weight: 700;
    color: #010F3C;
    text-align: center;
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 18px;
}

#report-capture-view.gl-express-report #grp_eventSummary textarea {
    width: 100%;
    min-height: 180px;
    border: 1px solid #C9C9C9;
    border-radius: 10px;
    background: #FFFFFF;
    color: #010F3C;
    padding: 14px;
    font-size: 16px;
    line-height: 1.55;
    resize: vertical;
}

#report-capture-view.gl-express-report #grp_eventSummary textarea:focus {
    outline: none;
    border-color: #FF4F2A;
    box-shadow: 0 0 0 3px rgba(255, 79, 42, .12);
}

/* EXPRESS REPORT — HEADER */
#report-capture-view.gl-express-report .rc-header {
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 8px 12px;
}

#report-capture-view.gl-express-report .rc-title {
    font-family: var(--gl-font);
    font-weight: 700;
    color: #010F3C;
    text-align: center;
}

#report-capture-view.gl-express-report #rcCloseBtn {
    color: #FF1B59;
}

/* EXPRESS REPORT — FOOTER */
#report-capture-view.gl-express-report .rc-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    background: transparent;
    padding: 0;
    margin-top: 12px;
    border: 0;
    min-height: 0;
    height: auto;
}

#report-capture-view.gl-express-report .rc-footer #rcPrev,
#report-capture-view.gl-express-report .rc-footer #rcNext {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    font-family: var(--gl-font);
    font-weight: 700;
    font-size: 17px;
    box-shadow: none;
}

#report-capture-view.gl-express-report #rcPrev {
    background: #FFFFFF;
    color: #010F3C;
    border: 1px solid #010F3C;
}

#report-capture-view.gl-express-report #rcNext {
    background: #010F3C;
    color: #FFFFFF;
    border: 1px solid #010F3C;
}

#report-capture-view.gl-express-report #rcNext:hover {
    background: #1E305C;
}


/* ==========================================
   GO LOCAL — EXPRESS REPORT
   CLOSE / BACK / NEXT
   ========================================== */

/* EXPRESS REPORT — CLOSE CIRCULAR PINK */

#report-capture-view.gl-express-report #rcCloseBtn {
    position: static !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    padding: 0;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: #FFFFFF !important;
    transform: none !important;
    cursor: pointer;
}

#report-capture-view.gl-express-report #rcCloseBtn i {
    font-size: 24px;
    line-height: 1;
    color: #FFFFFF !important;
}

#report-capture-view.gl-express-report #rcCloseBtn:hover {
    background: transparent !important;
    opacity: 0.8;
}

/* ==========================================
   GO LOCAL — REPORT WIZARD NAVIGATION
   STAFFING + EXPRESS
   ========================================== */

#report-capture-view .rc-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 4px !important;
    margin: 12px 0 0 !important;

    align-items: stretch !important;
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

#report-capture-view .rc-footer .spacer {
    display: none !important;
}

#report-capture-view .rc-footer #rcPrev,
#report-capture-view .rc-footer #rcNext {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    position: static !important;
    flex: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    border-radius: 12px !important;
    box-shadow: none !important;
    transform: none !important;

    font-family: var(--gl-font) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* BACK */
#report-capture-view .rc-footer #rcPrev {
    grid-column: 1;
    background: #E7E7E7 !important;
    color: #010F3C !important;
    border: 1px solid #C9C9C9 !important;
}

/* NEXT */
#report-capture-view .rc-footer #rcNext {
    grid-column: 2;
    background: #FF4F2A !important;
    color: #FFFFFF !important;
    border: 1px solid #FF4F2A !important;
}

/* ICONOS */
#report-capture-view .rc-footer #rcPrev i,
#report-capture-view .rc-footer #rcNext i {
    font-size: 17px !important;
    line-height: 1 !important;
    color: inherit !important;
}

/* ESTADOS */
#report-capture-view .rc-footer #rcPrev:hover {
    background: #DADADA !important;
}

#report-capture-view .rc-footer #rcNext:hover {
    background: #E84321 !important;
}


/* ==========================================
   GO LOCAL — FINAL REPORT SUBMIT
   STAFFING + EXPRESS
   ========================================== */

/* SUBMIT: misma geometría que BACK y NEXT */
#report-capture-view .rc-footer #rcSubmit {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: inline-flex;
    position: static !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    background: #FF4F2A !important;
    color: #FFFFFF !important;
    border: 1px solid #FF4F2A !important;
    border-radius: 12px !important;

    font-family: var(--gl-font) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* BACK: primera columna y primera fila */
#report-capture-view .rc-footer #rcPrev {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

/* NEXT: segunda columna y primera fila */
#report-capture-view .rc-footer #rcNext {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

/* Ocultos: respetar el estado del wizard */
#report-capture-view .rc-footer #rcSubmit[style*="display:none"],
#report-capture-view .rc-footer #rcSubmit[style*="display: none"] {
    display: none !important;
}

/* SUBMIT hover */
#report-capture-view .rc-footer #rcSubmit:hover {
    background: #E84321 !important;
    border-color: #E84321 !important;
}

/* Icono */
#report-capture-view .rc-footer #rcSubmit i {
    font-size: 17px !important;
    line-height: 1 !important;
    color: #FFFFFF !important;
}

/* ==========================================
   GO LOCAL — PHOTO UPLOAD STATUS
   ========================================== */

#rcPhotoStatus.rc-photo-status {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-top: 4px solid #FF4F2A;
    border-radius: 12px;
    padding: 14px;
    color: #595959;
    font-family: var(--gl-font);
    box-shadow: 0 3px 12px rgba(1, 15, 60, .08);
}

#rcPhotoStatus .gl-photo-upload-result,
#rcPhotoStatus .gl-photo-upload-result * {
    font-family: var(--gl-font);
}

#rcPhotoStatus .gl-photo-upload-title {
    color: #010F3C;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: .4px;
    margin-bottom: 12px;
}

#rcPhotoStatus .gl-photo-upload-summary {
    background: #E7E7E7;
    border-radius: 8px;
    padding: 9px 12px;
    margin-bottom: 12px;
    text-align: center;
}

#rcPhotoStatus #rcPhotoSummaryLine {
    color: #010F3C;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}

#rcPhotoStatus .gl-photo-upload-details {
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.5;
    color: #595959;
}

#rcPhotoStatus .gl-photo-upload-details:empty {
    display: none;
}

#rcPhotoStatus .upload-status-line {
    overflow-wrap: anywhere;
    white-space: pre-line;
}

#rcPhotoStatus.rc-photo-status--err {
    border-top-color: #FF1B59;
}

#rcPhotoStatus.rc-photo-status--warn {
    border-top-color: #FF4F2A;
}

#rcPhotoStatus.rc-photo-status--ok {
    border-top-color: #28A745;
}

#rcPhotoStatus.rc-photo-status--info {
    border-top-color: #010F3C;
}

/* ==========================================
   GO LOCAL — REPORT CERTIFICATION
   OSWALD FONT ONLY
   ========================================== */

/* GO LOCAL — REPORT CERTIFICATION */
#report-capture-view .rc-cert-paragraph {
    font-family: var(--gl-font) !important;
    font-weight: 300 !important;
    /* Oswald Light */
}

/* ==========================================
   GO LOCAL — SELFIE CAMERA ACTIONS
   VERTICAL BUTTON LAYOUT
   ========================================== */

#camera-modal .gl-camera-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 500px !important;

    gap: 12px !important;
    margin-top: 16px !important;
    padding: 16px !important;

    background: #E7E7E7 !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);
}

/* Todos los botones */
#camera-modal .gl-camera-actions>button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 12px 16px !important;

    border-radius: 10px !important;
    border: none !important;

    font-family: var(--gl-font) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;

    text-align: center !important;
    box-shadow: none !important;
}

/* TAKE PHOTO — Brand Color */
#camera-modal .gl-camera-actions .gl-camera-take {
    background: #010F3C !important;
    color: #FFFFFF !important;
}

/* RETRY — gris claro */
#camera-modal .gl-camera-actions .gl-camera-retry {
    background: #FFFFFF !important;
    color: #595959 !important;
    border: 1px solid #C8C8C8 !important;
}

/* SUBMIT — Ink Navy */
#camera-modal .gl-camera-actions .btn-submit-glp {
    background: #010F3C !important;
    color: #FFFFFF !important;
}

/* CANCEL — Brand Pink */
#camera-modal .gl-camera-actions .gl-camera-cancel {
    background: #FF1B59 !important;
    color: #FFFFFF !important;
}

/* Evitar hover gris genérico */
#camera-modal .gl-camera-actions>button:hover {
    filter: brightness(0.94);
}

/* Enfoque accesible */
#camera-modal .gl-camera-actions>button:focus-visible {
    outline: 3px solid #FF4F2A !important;
    outline-offset: 3px;
}

/* ==========================================
   GO LOCAL - GPS LOCATION VERIFIED
   STAFFING + EXPRESS
   ========================================== */

#geoProgressPanel.alert-success,
#geoProgressPanel.alert-warning {
    background: #E7E7E7 !important;
    color: #010F3C !important;
    border: 1px solid #C9C9C9 !important;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    padding: 14px 16px;
}

/* Oswald en todo el panel */
#geoProgressPanel.alert-success,
#geoProgressPanel.alert-success *,
#geoProgressPanel.alert-warning,
#geoProgressPanel.alert-warning * {
    font-family: 'Oswald', Arial, sans-serif !important;
    color: #010F3C;
    font-weight: 300;
    line-height: 1.5;
}

/* GO LOCAL - GPS VERIFYING STATE */
#geoProgressPanel.alert-info,
#geoProgressPanel.alert-info * {
    font-family: 'Oswald', Arial, sans-serif !important;
    color: #010F3C;
    font-weight: 300;
    line-height: 1.5;
}

/* Título durante la verificación */
#geoProgressPanel.alert-info .fw-bold {
    color: #010F3C !important;
    font-weight: 700 !important;
    font-size: 1.15rem;
}

/* Etiquetas de mediciones */
#geoProgressPanel.alert-info strong {
    color: #010F3C !important;
    font-weight: 700 !important;
}

/* Título de verificación */
#geoProgressPanel.alert-success .fw-bold,
#geoProgressPanel.alert-warning .fw-bold {
    color: #010F3C !important;
    font-weight: 700 !important;
    font-size: 1.15rem;
}

/* Etiquetas de mediciones */
#geoProgressPanel.alert-success strong,
#geoProgressPanel.alert-warning strong {
    color: #010F3C !important;
    font-weight: 700 !important;
}

/* Valores y dirección */
#geoProgressPanel.alert-success div,
#geoProgressPanel.alert-warning div {
    overflow-wrap: anywhere;
}

/* Separación entre tarjeta Express y panel GPS */
#geoProgressPanel {
    margin-top: 8px !important;
}

/* ==========================================
   GO LOCAL - EXPRESS SCHEDULED SHIFT WARNING
   ========================================== */

#expressScheduledWarningModal,
#expressScheduledWarningModal * {
    font-family: 'Oswald', Arial, sans-serif;
}

/* Tarjeta */
#expressScheduledWarningModal .modal-content {
    background: #FFFFFF;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

/* Encabezado */
#expressScheduledWarningModal .modal-header {
    padding: 18px 18px 12px;
    border-bottom: 1px solid #E7E7E7;
}

/* WARNING + icono */
#expressScheduledWarningModal .modal-title,
#expressScheduledWarningModal .modal-title i {
    color: #FF4F2A !important;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.4px;
}

/* Texto */
#expressScheduledWarningModal .modal-body {
    padding: 18px;
    color: #595959;
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.55;
}

/* Separación entre párrafos */
#expressScheduledWarningModal .modal-body p {
    margin-bottom: 14px;
}

/* Palabras importantes */
#expressScheduledWarningModal .modal-body strong {
    color: #010F3C;
    font-weight: 700;
}

/* Pie del modal */
#expressScheduledWarningModal .modal-footer {
    padding: 12px 18px 18px;
    border-top: none;
}

/* Botón OK */
#expressScheduledWarningModal #expressScheduledWarningGotIt {
    background: #010F3C !important;
    border: none !important;
    color: #FFFFFF !important;
    border-radius: 8px;
    min-height: 44px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

#expressScheduledWarningModal #expressScheduledWarningGotIt:hover {
    background: #1E305C !important;
}


/* =========================================
   GO LOCAL - STAFFING SCHEDULED SHIFT CARD
   ========================================= */

#selected-shift-info .gl-staffing-card {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-top: 4px solid #FF4F2A;
    border-radius: 14px;
    padding: 15px 17px;
    text-align: left;
    box-shadow: 0 4px 14px rgba(1, 15, 60, 0.08);
    font-family: var(--gl-font);
}

#selected-shift-info .gl-staffing-card * {
    font-family: var(--gl-font);
}

.gl-staffing-heading {
    color: #595959;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    margin-bottom: 7px;
}

.gl-staffing-event {
    color: #010F3C;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 13px;
    overflow-wrap: anywhere;
}

.gl-staffing-field {
    margin-bottom: 9px;
}

.gl-staffing-label {
    display: block;
    color: #FF4F2A;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

/* GO LOCAL - Scheduled Shift labels */
#selected-shift-info .gl-staffing-field .gl-staffing-label {
    color: #595959;
}

.gl-staffing-value {
    color: #010F3C;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

#selected-shift-info .gl-staffing-datetime {
    color: #010F3C;
    font-size: 1.02rem;
    font-weight: 700;
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid #E7E7E7;
    line-height: 1.5;
}

.gl-staffing-separator {
    color: #FF4F2A;
    padding: 0 5px;
}

.gl-staffing-allowed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #E7E7E7;
}

.gl-staffing-allowed .gl-staffing-label {
    margin: 0;
}

.gl-staffing-allowed strong {
    color: #010F3C;
    font-size: 1.08rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 380px) {
    .gl-staffing-event {
        font-size: 1.13rem;
    }

    .gl-staffing-allowed {
        flex-wrap: wrap;
    }
}



/* =========================================================
   GO LOCAL - LOCATION OUTSIDE ALLOWED RANGE
   ========================================================= */

#geoDistanceOverrideModal,
#geoDistanceOverrideModal * {
    font-family: 'Oswald', Arial, sans-serif;
}

#geoDistanceOverrideModal .modal-dialog {
    margin-left: 12px;
    margin-right: 12px;
}

#geoDistanceOverrideModal .modal-content {
    background: #FFFFFF;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(1, 15, 60, 0.18);
}

/* HEADER */

#geoDistanceOverrideModal .modal-header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid #E7E7E7;
}

#geoDistanceOverrideModal .modal-title {
    color: #FF4F2A !important;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

#geoDistanceOverrideModal .modal-title i {
    color: #FF4F2A !important;
    font-size: 1.3rem;
}

/* BODY */

#geoDistanceOverrideModal .modal-body {
    padding: 18px;
    color: #595959;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.5;
}

#geoDistanceOverrideModal .modal-body>div {
    margin-bottom: 12px !important;
}

#geoDistanceOverrideModal .modal-body strong {
    color: #010F3C;
    font-weight: 700;
    font-size: 1.05rem;
}

/* WARNING BOX */

#geoDistanceOverrideModal .alert-warning {
    background: #FFF4D6;
    border: 1px solid #F4D98B;
    border-radius: 8px;
    color: #595959;
    padding: 14px;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

#geoDistanceOverrideModal .alert-warning strong {
    color: #010F3C;
    font-weight: 700;
}

/* FOOTER */

#geoDistanceOverrideModal .modal-footer {
    padding: 12px 18px 18px;
    border-top: 1px solid #E7E7E7;
}

#geoDistanceOverrideModal .modal-footer .btn {
    min-height: 44px;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* CANCEL - BRAND PINK */

#geoDistanceOverrideModal #geoOverrideNo {
    background: #FF1B59 !important;
    border-color: #FF1B59 !important;
    color: #FFFFFF !important;
}

/* CONTINUE - INK NAVY */

#geoDistanceOverrideModal #geoOverrideYes {
    background: #010F3C !important;
    border-color: #010F3C !important;
    color: #FFFFFF !important;
}

#geoDistanceOverrideModal #geoOverrideYes:hover {
    background: #1E305C !important;
    border-color: #1E305C !important;
}


/* =========================================================
   GO LOCAL - HUMAN FACE DETECTION STATUS
   ========================================================= */

#humanFaceDetectionStatus {
    background-color: #E7E7E7 !important;
    border: 1px solid #E7E7E7 !important;
    border-radius: 10px !important;
    color: #010F3C !important;
    padding: 14px 16px !important;

    font-family: 'Oswald', Arial, sans-serif !important;
    font-weight: 300;
    line-height: 1.45;
}

/* Toda la tipografía del mensaje */
#humanFaceDetectionStatus,
#humanFaceDetectionStatus * {
    font-family: 'Oswald', Arial, sans-serif !important;
}

/* Título principal */
#humanFaceDetectionStatus .fw-bold {
    color: #010F3C !important;
    font-weight: 700 !important;
    font-size: 1.25rem;
}

/* Texto secundario: Verification */
#humanFaceDetectionStatus .small {
    color: #595959 !important;
    font-weight: 300 !important;
    font-size: 1.12rem !important;
}

/* Íconos */
#humanFaceDetectionStatus .bi {
    color: #FF4F2A !important;
}

/* Evitar los colores heredados de Bootstrap */
#humanFaceDetectionStatus.alert-success,
#humanFaceDetectionStatus.alert-info,
#humanFaceDetectionStatus.alert-warning,
#humanFaceDetectionStatus.alert-danger {
    background-color: #E7E7E7 !important;
    border-color: #E7E7E7 !important;
}

/* =========================================================
   GO LOCAL - FACE & ENVIRONMENT STATUS ICONS
   ========================================================= */

/* Íconos aprobados */
#humanFaceDetectionStatus .bi-person-check-fill,
#humanFaceDetectionStatus .bi-check-circle-fill {
    color: #198754 !important;
}

/* Rostro no detectado */
#humanFaceDetectionStatus .bi-person-x-fill {
    color: #FF4F2A !important;
}

/* Errores y advertencias */
#humanFaceDetectionStatus .bi-person-x-fill,
#humanFaceDetectionStatus .bi-x-circle-fill,
#humanFaceDetectionStatus .bi-exclamation-triangle-fill {
    color: #FF4F2A !important;
}

/* =========================================
   GO LOCAL - EXPRESS SERVICE CARD
   ========================================= */

#selected-shift-info .gl-express-card {
    margin-bottom: 0;
}

/* Requirements panel */
#selected-shift-info .gl-express-requirements {
    background: #E7E7E7;
    border-radius: 9px;
    padding: 11px 12px;
    margin-top: 15px;
}

/* Orange micro-label */
#selected-shift-info .gl-express-requirements .gl-staffing-label {
    margin-bottom: 5px;
}

/* Requirement values */
#selected-shift-info .gl-express-requirements strong {
    display: block;
    color: #010F3C;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.5;
}

/* Icons */
#selected-shift-info .gl-express-requirements i {
    color: #FF4F2A;
    font-size: 0.95rem;
    margin-right: 3px;
}

/* Separator */
#selected-shift-info .gl-express-requirements .gl-staffing-separator {
    color: #FF4F2A;
    padding: 0 7px;
}

#selected-shift-info .gl-express-requirement-line {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

#selected-shift-info .gl-express-requirement-line i {
    width: 16px;
    text-align: center;
    margin: 0;
}


/* =========================================
   GO LOCAL - SHOW MESSAGE TYPOGRAPHY
   ========================================= */

#responseMessage,
#responseMessage .alert,
#responseMessage .alert * {
    font-family: var(--gl-font) !important;
}

/* Message text */
#responseMessage .alert {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 0.2px;
}

/* Bold text inside messages */
#responseMessage .alert strong,
#responseMessage .alert b {
    font-weight: 700;
}


/* ==========================================
   GO LOCAL — REPORT WIZARD
   STAFFING + EXPRESS
   TYPOGRAPHY AND HEADER
   ========================================== */

/* Oswald en todo el wizard */
#report-capture-view,
#report-capture-view input,
#report-capture-view textarea,
#report-capture-view select,
#report-capture-view button,
#report-capture-view label {
    font-family: 'Oswald', Arial, sans-serif !important;
}

/* Textos y campos */
#report-capture-view input,
#report-capture-view textarea,
#report-capture-view select {
    font-weight: 300;
}

/* Etiquetas */
#report-capture-view .rc-label {
    font-weight: 700;
}


/* ==========================================
   ENCABEZADO COMPARTIDO
   STAFFING + EXPRESS REPORTS
   ========================================== */

/* Encabezado compartido */
#report-capture-view .rc-header,
#report-capture-view.gl-express-report .rc-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;

    background: #010F3C !important;
    border: none !important;
    border-top-left-radius: 14px !important;
    border-top-right-radius: 14px !important;
    box-shadow: none !important;

    padding: 18px 12px !important;
    margin-bottom: 12px !important;
}

/* Nombre del shift / reporte */
#report-capture-view #rcTitle,
#report-capture-view .rc-title,
#report-capture-view.gl-express-report .rc-title {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    color: #FFFFFF !important;
    text-align: left !important;
    margin: 0 !important;

    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
}

/* Eliminar línea decorativa */
#report-capture-view .header-title-row::after {
    content: none !important;
    display: none !important;
}

/* Título alineado a la izquierda */
#report-capture-view .header-title-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 1 0;
    min-width: 0;
}

/* Subtítulo, cuando exista */
#report-capture-view #rcSubtitle,
#report-capture-view .rc-subtitle {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    color: #E7E7E7;
    white-space: normal;
}

/* Subtítulo debajo del encabezado principal */
#report-capture-view .rc-subtitle-row {
    flex: 0 0 100%;
    text-align: left;
}

/* Botón cerrar — estándar de secciones */
#report-capture-view #rcCloseBtn {
    color: #FFFFFF !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
}

#report-capture-view #rcCloseBtn i {
    color: #FFFFFF !important;
    font-size: 30px !important;
    line-height: 1;
}


/* Botones del wizard */
#report-capture-view .rc-footer button {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-weight: 700 !important;
}



/* ==========================================
   REPORT WIZARD — SECTION LABELS
   STAFFING + EXPRESS
   ========================================== */

#report-capture-view .rc-label,
#report-capture-view .rc-section-title {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-weight: 700 !important;
    color: #595959 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 1 !important;
}

/* Micrófono junto al título */
#report-capture-view .rc-label button,
#report-capture-view .rc-section-title button {
    color: #FF4F2A !important;
}



/* =========================================================
   GO LOCAL - ADD ADMIN HOURS - UI POLISH
   ========================================================= */

/* HEADER */

/* ADD ADMIN HOURS — UNIFIED SECTION HEADER */

#manual-hours-view .reports-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 54px;
    margin: 0 0 16px;
    padding: 10px 48px;

    background: #010F3C;
    border: none;
    border-top: 4px solid #FF4F2A;
    border-radius: 0;
    box-shadow: none;
}


#manual-hours-view .header-title-row {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

#manual-hours-view .header-title-row h1,
#manual-hours-view .header-title-row h2,
#manual-hours-view .header-title-row h3,
#manual-hours-view .header-title-row h4 {
    margin: 0;
    color: #FFFFFF !important;
    font-family: var(--gl-font) !important;
    font-weight: 700 !important;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

#manual-hours-view .header-close-row {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    z-index: 2;
}

#manual-hours-view #closeManualHoursBtn,
#manual-hours-view #closeManualHoursBtn i {
    color: #FFFFFF !important;
}


#manual-hours-view .header-title-row {
    margin: 0;
    padding: 0;
    text-align: center;
}

#manual-hours-view .reports-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: .7px;
    color: #010F3C;
    margin: 0;
    text-align: center;
}

#manual-hours-view #closeManualHoursBtn {
    color: #FF4F2A;
    background: transparent;
    border: 0;
    padding: 3px;
    font-size: 20px;
}

/* FORM CONTAINER */
#manual-hours-view>.section-body {
    padding: 4px 10px 28px;
}

#manual-hours-view .section-body>.mb-3 {
    margin-bottom: 18px !important;
}

/* FIELD LABELS */
#manual-hours-view .form-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #FFFFFF;
    margin-bottom: 8px;
    text-align: left;
}

/* INPUTS */
#manual-hours-view .form-control,
#manual-hours-view .form-select {
    min-height: 46px;
    border: 1px solid #C9CDD5;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #010F3C;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 16px;
    padding: 10px 12px;
    box-shadow: none;
}

#manual-hours-view .form-control:focus,
#manual-hours-view .form-select:focus {
    border-color: #FF4F2A;
    box-shadow: 0 0 0 3px rgba(255, 79, 42, .14);
    outline: none;
}

/* WORKER */
#manualHoursWorker {
    background: #E7E7E7 !important;
    color: #FF4F2A !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    text-align: center;
    letter-spacing: .4px;
}

/* DURATION */
#manual-hours-view .manual-hours-duration {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    max-width: 260px;
    margin: 0 auto;
}

#manualHoursDurationHours,
#manualHoursDurationMinutes {
    min-height: 50px !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-align: center;
}

#manual-hours-view .manual-hours-duration-colon {
    padding-top: 2px;
    line-height: 50px;
    color: #FF4F2A;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

#manual-hours-view .manual-hours-unit {
    color: #E7E7E7;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-top: 6px;
}


#manualHoursCompletedTasks {
    height: 65px;
    min-height: 65px;
    resize: vertical;
    line-height: 1.5;
}


#manual-hours-view #btnManualHoursMic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #FF4F2A;
    border-radius: 8px;
    background: #FFFFFF;
    color: #FF4F2A;
    padding: 0;
    font-size: 17px;
}

#manual-hours-view #btnManualHoursMic.btn-danger,
#manual-hours-view #btnManualHoursMic[aria-pressed="true"] {
    background: #FF1B59;
    color: #FFFFFF;
    border-color: #FF1B59;
}

/* ACTION BUTTONS */
#manual-hours-view #btnCancelManualHours,
#manual-hours-view #btnSubmitManualHours {
    min-height: 48px;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    transition: background .2s ease;
}


/* CANCEL — Brand Pink */
#manual-hours-view #btnCancelManualHours {
    background: #FF1B59;
    border: 1.5px solid #FF1B59;
    color: #FFFFFF;
}


/* SUBMIT — Ink Navy */
#manual-hours-view #btnSubmitManualHours {
    background: #010F3C;
    border: 1.5px solid #010F3C;
    color: #FFFFFF;
}

#manual-hours-view #btnSubmitManualHours:hover {
    background: #14265B;
    border-color: #14265B;
}

#manual-hours-view #btnSubmitManualHours:disabled {
    opacity: .65;
}

/* MOBILE */
@media (max-width: 480px) {
    #manual-hours-view .reports-header {
        padding: 13px 36px 12px;
    }

    #manual-hours-view .reports-title {
        font-size: 19px;
    }

    #manual-hours-view>.section-body {
        padding-left: 8px;
        padding-right: 8px;
    }

    #manual-hours-view .manual-hours-duration {
        max-width: 235px;
    }
}


/* ADD ADMIN HOURS — ACTION PANEL */
#manual-hours-view div:has(> #btnCancelManualHours):has(> #btnSubmitManualHours) {
    background: #E7E7E7;
    border-radius: 12px;
    padding: 12px;
    gap: 12px;
}

/* SUBMIT */
#manual-hours-view #btnSubmitManualHours {
    background: #010F3C;
    border: 1.5px solid #010F3C;
    color: #FFFFFF;
    border-radius: 8px;
}

/* CANCEL */
#manual-hours-view #btnCancelManualHours {
    background: #FF1B59;
    border: 1.5px solid #FF1B59;
    color: #FFFFFF;
    border-radius: 8px;
}



/* =========================================
   REIMBURSEMENT REQUEST — BRAND HEADER
   ========================================= */

#reimb-view .reimb-header,
#manual-hours-view .reimb-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #010F3C;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-radius: 0;

    margin: 0 0 10px;
    padding: 22px 8px 18px;
    box-shadow: none;
}

#reimb-view .header-title-row,
#manual-hours-view .reimb-header .header-title-row {
    display: block;
    text-align: left;
}

#reimb-view .reimb-title,
#manual-hours-view .reimb-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin: 0;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 300;
    text-align: left;
}

#reimb-view .reimb-title span:first-child,
#manual-hours-view .reimb-title span:first-child {
    color: #FF4F2A;
    font-weight: 700;
}

#reimb-view .reimb-title span:last-child,
#manual-hours-view .reimb-title span:last-child {
    color: #FFFFFF;
    font-weight: 300;
}

#reimb-view #closeReimbBtn,
#manual-hours-view #closeManualHoursBtn {
    position: static;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
}

#reimb-view #closeReimbBtn i,
#manual-hours-view #closeManualHoursBtn i {
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1;
}

#reimb-view #closeReimbBtn:hover {
    color: #FFFFFF;
    background: transparent;
    opacity: .8;
}



/* ============================================
   GO LOCAL — UNIFIED SECTION CLOSE BUTTONS
   Reference: MY REIMBURSEMENTS
   ============================================ */

/* ============================================
   GO LOCAL — UNIFIED SECTION CLOSE BUTTONS
   Native Bootstrap Icon: bi-x-circle
   ============================================ */

#myReimbursementsView .gl-my-reimb-close,
#scheduler-view .gl-scheduler-close,
#training-videos-view .gl-training-close,
#reimb-view #closeReimbBtn,
#system-admin-view #closeSystemAdminBtn,
#checkin-params-view #closeCheckInParamsBtn,
#reports-params-view #closeReportsParamsBtn,
#reimb-params-view #closeReimbParamsBtn,
#express-params-view #closeExpressParamsBtn,
#users-admin-view #closeUsersAdminBtn,
#closeMyReimbursementsDetailView #closeMyReimbursementsDetailView,
#liveCompactView #closeLiveCompactBtn,
#liveSupervisorView #closeLiveSupervisorBtn,
#checkHistoryView #closeHistoryBtn {
    position: static;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    color: #FFFFFF;
    opacity: 1;
    transform: none;
    cursor: pointer;
    line-height: 1;
}

#myReimbursementsView .gl-my-reimb-close i,
#scheduler-view .gl-scheduler-close i,
#training-videos-view .gl-training-close i,
#reimb-view #closeReimbBtn i,
#system-admin-view #closeSystemAdminBtn i,
#checkin-params-view #closeCheckInParamsBtn i,
#reports-params-view #closeReportsParamsBtn i,
#reimb-params-view #closeReimbParamsBtn i,
#express-params-view #closeExpressParamsBtn i,
#users-admin-view #closeUsersAdminBtn i,
#users-admin-view #closeUsersAdminBtn,
#closeMyReimbursementsDetailView #closeMyReimbursementsDetailView i,
#liveCompactView #closeLiveCompactBtn i,
#liveSupervisorView #closeLiveSupervisorBtn i,
#checkHistoryView #closeHistoryBtn i {
    display: block;
    font-size: 30px;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
}

#myReimbursementsView .gl-my-reimb-close:hover,
#scheduler-view .gl-scheduler-close:hover,
#training-videos-view .gl-training-close:hover,
#reimb-view #closeReimbBtn:hover,
#system-admin-view #closeSystemAdminBtn:hover,
#checkin-params-view #closeCheckInParamsBtn:hover,
#reports-params-view #closeReportsParamsBtn:hover,
#reimb-params-view #closeReimbParamsBtn:hover,
#express-params-view #closeExpressParamsBtn:hover,
#users-admin-view #closeUsersAdminBtn:hover,
#closeMyReimbursementsDetailView #closeMyReimbursementsDetailView:hover,
#liveCompactView #closeLiveCompactBtn:hover,
#liveSupervisorView #closeLiveSupervisorBtn:hover,
#checkHistoryView #closeHistoryBtn:hover {
    background: transparent;
    color: #FFFFFF;
    opacity: 0.85;
}

#myReimbursementsView .gl-my-reimb-close:active,
#scheduler-view .gl-scheduler-close:active,
#training-videos-view .gl-training-close:active,
#reimb-view #closeReimbBtn:active,
#system-admin-view #closeSystemAdminBtn:active,
#checkin-params-view #closeCheckInParamsBtn:active,
#reports-params-view #closeReportsParamsBtn:active,
#reimb-params-view #closeReimbParamsBtn:active,
#express-params-view #closeExpressParamsBtn:active,
#users-admin-view #closeUsersAdminBtn:active,
#closeMyReimbursementsDetailView #closeMyReimbursementsDetailView:active,
#liveCompactView #closeLiveCompactBtn:active,
#liveSupervisorView #closeLiveSupervisorBtn:active,
#checkHistoryView #closeHistoryBtn:active {
    transform: none;
}

#myReimbursementsView .gl-my-reimb-close:focus-visible,
#scheduler-view .gl-scheduler-close:focus-visible,
#training-videos-view .gl-training-close:focus-visible,
#reimb-view #closeReimbBtn:focus-visible,
#system-admin-view #closeSystemAdminBtn:focus-visible,
#checkin-params-view #closeCheckInParamsBtn:focus-visible,
#reports-params-view #closeReportsParamsBtn:focus-visible,
#reimb-params-view #closeReimbParamsBtn:focus-visible,
#express-params-view #closeExpressParamsBtn:focus-visible,
#users-admin-view #closeUsersAdminBtn:focus-visible,
#users-admin-view #closeUsersAdminBtn:focus-visible,
#closeMyReimbursementsDetailView #closeMyReimbursementsDetailView:focus-visible,
#liveCompactView #closeLiveCompactBtn:focus-visible,
#liveSupervisorView #closeLiveSupervisorBtn:focus-visible,
#checkHistoryView #closeHistoryBtn:focus-visible {
    outline: 2px solid #FF4F2A;
    outline-offset: 3px;
}

/* UNIFIED HEADER HORIZONTAL ALIGNMENT */

#myReimbursementsView .gl-my-reimb-header,
#scheduler-view .gl-scheduler-header,
#training-videos-view .gl-training-header,
#reimb-view .reimb-header,
#reports-params-view .gl-section-header,
#reimb-params-view .gl-section-header,
#express-params-view .gl-section-header,
#users-admin-view .gl-section-header,
#liveCompactView .gl-section-header,
#users-admin-view .gl-section-header,
#closeMyReimbursementsDetailView .gl-section-header,
#liveSupervisorView .gl-section-header,
#checkHistoryView .gl-section-header {
    padding-left: 22px;
    padding-right: 22px;
}

#reimb-view .reimb-header {
    align-items: flex-start;
}

/* ==============================================
   GO LOCAL — GLOBAL SECTION HEADER STANDARD
   ============================================== */

.gl-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    background: #010F3C;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-radius: 0;

    margin: 0 0 10px;
    padding: 22px 8px 18px;
    box-shadow: none;
}

.gl-section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;

    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: uppercase;
}

.gl-section-title .gl-title-primary {
    display: block;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 700 !important;
    color: #FF4F2A !important;
}

.gl-section-title .gl-title-secondary {
    display: block;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 300 !important;
    color: #FFFFFF !important;
}

/* ==============================================
   GO LOCAL — GLOBAL SECTION HEADER STANDARD
   ============================================== */
/* ==============================================
   GO LOCAL — GLOBAL SECTION HEADER STANDARD
   ============================================== */
/* ==============================================
   GO LOCAL — GLOBAL SECTION HEADER STANDARD
   ============================================== */



/* ============================================
   GO LOCAL — MY REIMBURSEMENTS CARDS
   Brand UI / Beta 3.2
   ============================================ */

#myReimbursementsView #myReimbursementsList {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 2px 16px;
}

/* Card principal */
#myReimbursementsView .my-reimb-card {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin: 0;
    padding: 14px 13px 12px;

    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(1, 15, 60, 0.10);
    color: #010F3C;
    font-family: 'Oswald', Arial, sans-serif;

    cursor: pointer;
    transition: box-shadow 0.15s ease;
}

#myReimbursementsView .my-reimb-card:active {
    box-shadow: 0 1px 4px rgba(1, 15, 60, 0.12);
}

/* Todas las filas */
#myReimbursementsView .my-reimb-card .ra-line1,
#myReimbursementsView .my-reimb-card .ra-line2,
#myReimbursementsView .my-reimb-card .ra-line3,
#myReimbursementsView .my-reimb-card .ra-line4,
#myReimbursementsView .my-reimb-card .ra-line5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    min-width: 0;
}

/* Nombre */
#myReimbursementsView .my-reimb-card .ra-name {
    min-width: 0;
    color: #010F3C;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* ID */
#myReimbursementsView .my-reimb-card .my-reimb-id {
    flex-shrink: 0;
    color: #595959;
    font-size: 12px;
    font-weight: 300;
    white-space: nowrap;
}

/* Fecha y monto */
#myReimbursementsView .my-reimb-card .ra-date-amount {
    display: flex;
    gap: 4px;
    align-items: baseline;
    min-width: 0;
}

#myReimbursementsView .my-reimb-card .ra-date-label,
#myReimbursementsView .my-reimb-card .ra-date-value {
    font-size: 13px;
    font-weight: 300;
    color: #595959;
}

#myReimbursementsView .my-reimb-card .ra-amount {
    flex-shrink: 0;
    color: #010F3C;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

/* Tipo de gasto */
#myReimbursementsView .my-reimb-card .ra-expense-type {
    min-width: 0;
    color: #010F3C;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

/* Estados */
#myReimbursementsView .my-reimb-card .ra-status {
    flex: 0 0 auto;
    width: auto;
    min-width: 78px;
    max-width: 52%;
    padding: 4px 10px;
    border: 0;
    border-radius: 4px;

    font-family: 'Oswald', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

/* Pending */
#myReimbursementsView .my-reimb-card .ra-status-pending {
    background: #FFF0C2;
    color: #865400;
}

/* Rejected */
#myReimbursementsView .my-reimb-card .ra-status-rejected {
    background: #FFE1E5;
    color: #B42335;
}

/* Approved */
#myReimbursementsView .my-reimb-card .ra-status-approved {
    background: #DDF3E6;
    color: #17633A;
}

/* Otros estados */
#myReimbursementsView .my-reimb-card .ra-status-sent,
#myReimbursementsView .my-reimb-card .ra-status-checked {
    background: #E7E7E7;
    color: #010F3C;
}

/* Descripción */
#myReimbursementsView .my-reimb-card .ra-line4 {
    padding-top: 2px;
}

#myReimbursementsView .my-reimb-card .ra-desc-single {
    min-width: 0;
    color: #595959;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Pie: Submitted + días */
#myReimbursementsView .my-reimb-card .ra-line5 {
    padding-top: 8px;
    border-top: 1px solid #E7E7E7;
}

#myReimbursementsView .my-reimb-card .ra-submitted-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

#myReimbursementsView .my-reimb-card .ra-submitted-label,
#myReimbursementsView .my-reimb-card .ra-submitted-date {
    color: #595959;
    font-size: 12px;
    font-weight: 300;
}

#myReimbursementsView .my-reimb-card .ra-days {
    flex-shrink: 0;
    color: #FF4F2A;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


/* ============================================
   MY REIMBURSEMENTS — TYPOGRAPHY FIX
   ============================================ */

/* Oswald en TODOS los elementos de las cards */
#myReimbursementsView .my-reimb-card,
#myReimbursementsView .my-reimb-card * {
    font-family: 'Oswald', Arial, sans-serif !important;
}

/* Títulos y cifras destacadas */
#myReimbursementsView .my-reimb-card .ra-name,
#myReimbursementsView .my-reimb-card .ra-amount,
#myReimbursementsView .my-reimb-card .ra-expense-type,
#myReimbursementsView .my-reimb-card .ra-days,
#myReimbursementsView .my-reimb-card .ra-status {
    font-weight: 700;
}

/* Textos secundarios */
#myReimbursementsView .my-reimb-card .my-reimb-id,
#myReimbursementsView .my-reimb-card .ra-date-label,
#myReimbursementsView .my-reimb-card .ra-date-value,
#myReimbursementsView .my-reimb-card .ra-desc-single,
#myReimbursementsView .my-reimb-card .ra-submitted-label,
#myReimbursementsView .my-reimb-card .ra-submitted-date {
    font-weight: 300;
}

#myReimbursementsView .my-reimb-card {
    border-top: 1px solid #E7E7E7;
}



/* =====================================================
   GO LOCAL — REIMBURSEMENT REQUEST
   FORM DETAIL ONLY — 20261015
   ===================================================== */

/* CUERPO DEL FORMULARIO */
#reimb-view .reimb-wrap {
    background: #FFFFFF;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 14px;
}


/* ETIQUETAS — FORM STANDARD */
#reimbForm .rc-label,
#reimbForm .reimb-receipt-card label:not(.btn) {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #595959;
    line-height: 1.35;
}


/* SEPARACIÓN DE GRUPOS */
#reimbForm #grp_reimbShift,
#reimbForm #grp_reimbReceipt {
    margin-bottom: 18px;
}

/* CAMPOS Y SELECTORES */
#reimbForm .rc-select,
#reimbForm .rc-input,
#reimbForm .rc-textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    background: #FFFFFF;
    border: 1px solid #C9CDD5;
    border-radius: 8px;
    color: #010F3C;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
}

#reimbForm .rc-select:focus,
#reimbForm .rc-input:focus,
#reimbForm .rc-textarea:focus {
    border-color: #FF4F2A;
    outline: 2px solid rgba(255, 79, 42, .15);
    outline-offset: 0;
    box-shadow: none;
}

/* ADD RECEIPT */
#reimbForm #reimbAddFileBlock .file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    background: #010F3C;
    color: #FFFFFF;
    border: 1px solid #010F3C;
    border-radius: 8px;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}


#reimbForm #reimbAddFileBlock .file-btn:hover,
#reimbForm #reimbAddFileBlock .file-btn:focus,
#reimbForm #reimbAddFileBlock .file-btn:active {
    background: #010F3C;
    border-color: #010F3C;
    color: #FFFFFF;
    box-shadow: none;
}

#reimbForm #reimbAddFileBlock .file-btn:has(input:disabled),
#reimbForm #reimbAddFileBlock .file-btn.is-disabled {
    background: #010F3C !important;
    border-color: #010F3C !important;
    color: #FFFFFF !important;
    opacity: 0.55;
    cursor: not-allowed;
}


/* INSTRUCCIONES DE RECIBOS */
#reimbForm #reimbMaxReceiptsHelp {
    margin-top: 8px;
    color: #595959;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
}

/* TOTAL REQUEST */
#reimbForm .reimb-total-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    padding: 14px;
    background: #E7E7E7;
    border: 1px solid #D5D5D5;
    color: #010F3C;
    border-radius: 10px;
}

#reimbForm .reimb-total-box>span {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: left !important;
    justify-self: start;
}

#reimbForm #reimbTotal {
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    background: #FFFFFF;
    border: 0;
    border-radius: 7px;
    color: #010F3C;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    text-align: right;
}

/* LISTADO DE RECIBOS */
#reimbForm .reimb-receipts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* SIN RECIBOS */
#reimbForm .reimb-empty-list {
    padding: 20px 14px;
    background: #FFFFFF;
    border: 1px dashed #C9CDD5;
    border-radius: 10px;
    color: #595959;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    text-align: center;
}

/* TARJETA INDIVIDUAL */
#reimbForm .reimb-receipt-card {
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(1, 15, 60, .07);
    color: #010F3C;
    text-align: left;
}

/* ENCABEZADO DE CADA RECIBO */
#reimbForm .reimb-receipt-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #010F3C;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

/* NOMBRE DEL ARCHIVO */
#reimbForm .reimb-receipt-file {
    margin-bottom: 10px;
    color: #595959;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* CAMPOS DE RECIBOS: DOS COLUMNAS */
#reimbForm .reimb-receipt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

#reimbForm .reimb-receipt-field {
    min-width: 0;
    margin-bottom: 10px;
}

#reimbForm .reimb-receipt-card .rc-textarea {
    min-height: 72px;
}

/* ESTADO DE PROCESAMIENTO OCR */
#reimbForm .reimb-receipt-card.is-processing {
    opacity: .65;
    pointer-events: none;
}

/* MENSAJES DE CARGA Y ENVÍO */
#reimbForm .reimb-banner {
    border-radius: 8px;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
}

/* FOOTER: CONSERVA COMPORTAMIENTO STICKY */
#reimbForm .rc-footer {
    gap: 12px;
}

#reimbForm .rc-footer .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    border-radius: 8px;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

/* CANCEL — Brand Pink */
#reimbForm #reimbCancel {
    background: #FF1B59 !important;
    border: 1px solid #FF1B59 !important;
    color: #FFFFFF !important;
}

/* SUBMIT — Ink Navy */
#reimbForm #reimbSubmit {
    background: #010F3C !important;
    border: 1px solid #010F3C !important;
    color: #FFFFFF !important;
}

/* MOBILE */
@media (max-width: 576px) {
    #reimb-view .reimb-wrap {
        padding: 14px 12px;
    }

    #reimbForm .reimb-total-box {
        grid-template-columns: minmax(0, 1fr) 120px;
        padding: 12px;
        gap: 8px;
    }

    #reimbForm .reimb-total-box>span {
        font-size: 16px;
    }

    #reimbForm #reimbTotal {
        font-size: 19px;
    }

    #reimbForm .reimb-receipt-card {
        padding: 12px;
    }
}


/* ==========================================
   GO LOCAL — REPORT FORMS STANDARD
   STAFFING + EXPRESS — 20261015
   ========================================== */

/* Área de captura — STAFFING + EXPRESS */
/* REPORT CAPTURE — Contenedor principal */

#report-capture-view {
    background: #FFFFFF !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;

    /* Estructura fija con contenido desplazable */
    height: calc(100dvh - 125px) !important;
    max-height: calc(100dvh - 125px) !important;

    display: flex;
    flex-direction: column !important;

    overflow: hidden !important;
}

/* REPORT CAPTURE — Solo el formulario tiene scroll */

#report-capture-view #rcForm {
    flex: 1 1 auto !important;
    min-height: 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
}

/* Header y footer fuera del área desplazable */

#report-capture-view .rc-header,
#report-capture-view .rc-footer {
    flex: 0 0 auto !important;
}

#report-capture-view .rc-form,
#report-capture-view .rc-section,
#report-capture-view .rc-group {
    background-color: #FFFFFF;
}

/* Labels de los campos */
#report-capture-view .rc-label,
#report-capture-view .rc-checklabel,
#report-capture-view.gl-express-report #sec_summary .rc-label {
    color: #595959;
}

/* Mantener rojo el indicador de campo obligatorio */
#report-capture-view .rc-label.is-required .rc-req,
#report-capture-view .rc-checklabel.is-required .rc-req {
    color: #dc3545;
}

/* BACK — Staffing y Express */
#report-capture-view .rc-footer #rcPrev:not(:disabled) {
    background: #595959 !important;
    border-color: #595959 !important;
    color: #FFFFFF !important;
}

#report-capture-view .rc-footer #rcPrev:not(:disabled):hover {
    background: #454545 !important;
    border-color: #454545 !important;
}

/* BACK deshabilitado */
#report-capture-view .rc-footer #rcPrev:disabled {
    background: #E7E7E7 !important;
    border-color: #E7E7E7 !important;
    color: #A0A0A0 !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

/* NEXT / CONTINUE — Ink Navy */
#report-capture-view .rc-footer #rcNext {
    background: #010F3C !important;
    border-color: #010F3C !important;
    color: #FFFFFF !important;
}

#report-capture-view .rc-footer #rcNext:hover {
    background: #1E305C !important;
    border-color: #1E305C !important;
}

/* SUBMIT — Ink Navy */
#report-capture-view .rc-footer #rcSubmit {
    background: #010F3C !important;
    border-color: #010F3C !important;
    color: #FFFFFF !important;
}

#report-capture-view .rc-footer #rcSubmit:hover {
    background: #1E305C !important;
    border-color: #1E305C !important;
}



/* ==========================================
   NEXT PAYROLL — GO LOCAL UI
   ========================================== */

/* Header: reutiliza gl-section-header */
#payroll-view .payroll-header.gl-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#payroll-view .payroll-header .header-title-row {
    flex: 1;
    min-width: 0;
}

/* Total dentro del header */
#payroll-view .payroll-header-amount {
    display: block;
    margin-top: 6px;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

/* Close: mismo botón global */
#payroll-view #closePayrollBtn {
    position: static;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: #FFFFFF;
}

#payroll-view #closePayrollBtn .bi {
    font-size: 30px;
}

/* Lista */
#payroll-view #payroll-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 2px 18px;
}

/* Tarjetas: fondo blanco, sin degradados */

/* ==========================================
   NEXT PAYROLL — CARDS
   GO LOCAL BRAND STANDARD
   ========================================== */

/* Card principal */
#payroll-view .payroll-card {
    display: block;
    width: 100%;
    padding: 15px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(1, 15, 60, .08);
    text-align: left;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-weight: 300;
    color: #010F3C;
}

/* Fecha y horario — Oswald Light */
#payroll-view .payroll-card .row1,
#payroll-view .payroll-card .row1 span {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.35;
    color: #595959;
}

#payroll-view .payroll-card .row1 i {
    color: #FF4F2A;
    font-size: 17px;
}

/* Nombre del evento — Oswald Bold */
#payroll-view .payroll-card .row2 {
    margin-bottom: 12px;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    color: #010F3C;
    overflow-wrap: anywhere;
}

/* Horas, tarifa y reembolso */
#payroll-view .payroll-card .row3 {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
    opacity: 1;
}

#payroll-view .payroll-card .row3 .chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 7px;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    line-height: 1.3;
    color: #595959;
}

#payroll-view .payroll-card .row3 .chip i {
    color: #FF4F2A;
    font-size: 15px;
}


/* Fecha y horario */
#payroll-view .payroll-card .row1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 300;
    color: #595959;
}

#payroll-view .payroll-card .row1 i {
    color: #FF4F2A;
    font-size: 17px;
}

/* Evento */
#payroll-view .payroll-card .row2 {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    color: #010F3C;
    overflow-wrap: anywhere;
}

/* Horas, tarifa y reembolso */
#payroll-view .payroll-card .row3 {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
    opacity: 1;
}

#payroll-view .payroll-card .row3 .chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid #E7E7E7;
    border-radius: 7px;
    background: #FFFFFF;
    color: #595959;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
}

#payroll-view .payroll-card .row3 .chip i {
    color: #FF4F2A;
}


/* Total por shift — gris suave */
#payroll-view .payroll-card .total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 11px 13px;
    background: #E7E7E7;
    border-radius: 8px;
    color: #010F3C;
}

#payroll-view .payroll-card .total-bar span {
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    color: #010F3C;
}

#payroll-view .payroll-card .total-bar strong {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 21px;
    font-weight: 300;
    color: #010F3C;
    white-space: nowrap;
}

/* NEXT PAYROLL — alineación izquierda */
#payroll-view .payroll-header .header-title-row {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

#payroll-view #payrollTitleSum {
    width: 100%;
    margin: 0;
    align-items: flex-start !important;
    text-align: left !important;
}

#payroll-view #payrollTitleSum .gl-title-secondary {
    white-space: nowrap;
}


/* SYSTEM ADMIN - Layout independiente */

#system-admin-view.admin-scroll-view {
    display: none;
    position: relative;
    float: none;
    clear: both;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0 12px 24px;
    box-sizing: border-box;

    max-height: none;
    overflow: visible;
}

#system-admin-view>.admin-wrap {
    display: block;
    width: 100%;
    max-width: 600px;
    min-width: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

#system-admin-view .admin-menu-list,
#system-admin-view .admin-menu-row {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* ============================================
   GO LOCAL — SYSTEM ADMIN BRAND STANDARD
   ============================================ */

#system-admin-view .admin-header {
    position: relative;
    margin-bottom: 14px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
}

/* Encabezado global: dos líneas */
#system-admin-view .gl-section-title {
    align-items: flex-start;
    text-align: left !important;
}


/* Lista de opciones */
#system-admin-view .admin-menu-list {
    gap: 10px;
    margin-top: 10px;
}

/* Tarjetas */
#system-admin-view .admin-menu-row {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 12px;
    padding: 13px 12px;
    box-shadow: 0 2px 5px rgba(1, 15, 60, .10);
    transition: border-color .15s ease,
        box-shadow .15s ease;
}

#system-admin-view .admin-menu-row:hover {
    border-color: #FF4F2A;
    box-shadow: 0 3px 9px rgba(1, 15, 60, .14);
}

/* Iconos */
#system-admin-view .admin-menu-row-icon {
    background: #E7E7E7;
    color: #FF4F2A;
    border-radius: 9px;
}

#system-admin-view .admin-menu-row-icon i {
    color: #FF4F2A;
}

/* Títulos */
#system-admin-view .admin-menu-row-title {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    color: #010F3C;
}

/* Descripciones */
#system-admin-view .admin-menu-row-subtitle {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.3;
    color: #595959;
    margin-top: 3px;
}

/* Flecha */
#system-admin-view .admin-menu-row-arrow {
    color: #FF4F2A;
    font-size: 17px;
}

/* Accesibilidad */
#system-admin-view .admin-menu-row:focus-visible {
    outline: 2px solid #FF4F2A;
    outline-offset: 3px;
}

@media (max-width: 400px) {
    #system-admin-view .admin-menu-row-title {
        font-size: 16px;
    }

    #system-admin-view .admin-menu-row-subtitle {
        font-size: 13px;
    }
}


/* =====================================================
   CHECK IN PARAMETERS — GO LOCAL BRAND
   ===================================================== */

/* Títulos: Check In, Breaks, Check Out */
#checkin-params-view .admin-param-card-title {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #010F3C;
}

/* Iconos de las tarjetas */
#checkin-params-view .admin-param-card-title i {
    color: #FF4F2A;
    font-size: 17px;
}

/* Subtítulos: Start Break, End Break */
#checkin-params-view .admin-subblock-title {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    color: #010F3C;
}

/* Etiquetas de parámetros */
#checkin-params-view .admin-param-row-label {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.35;
    color: #595959;
}

/* Campos numéricos y unidades */
#checkin-params-view .admin-param-row input[type="number"],
#checkin-params-view .admin-param-row input[type="text"],
#checkin-params-view .admin-param-row .input-group-text {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    color: #010F3C;
}

/* =====================================================
   FOOTER — CONTENEDOR GRIS
   ===================================================== */

#checkin-params-view .admin-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    background: #E7E7E7;
    border-radius: 12px;
    padding: 14px;
    margin-top: 18px;
    margin-bottom: 20px;
}

/* Estilo común de los botones */
#checkin-params-view .admin-footer-actions .admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: 100%;
    min-height: 46px;
    margin: 0;

    border-radius: 9px;

    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    box-shadow: none;
    transition: background-color .2s ease;
}

/* CANCEL — BRAND PINK */
#checkin-params-view #btnCancelCheckInParams {
    background: #FF1B59 !important;
    border: 1px solid #FF1B59 !important;
    color: #FFFFFF !important;
}

#checkin-params-view #btnCancelCheckInParams:hover {
    background: #E5154D !important;
    border-color: #E5154D !important;
}

/* SAVE — INK NAVY */
#checkin-params-view #btnSaveCheckInParams {
    background: #010F3C !important;
    border: 1px solid #010F3C !important;
    color: #FFFFFF !important;
}

#checkin-params-view #btnSaveCheckInParams:hover {
    background: #10245B !important;
    border-color: #10245B !important;
}

#checkin-params-view #btnSaveCheckInParams i {
    font-size: 19px;
}


/* =====================================================
   REPORTS PARAMETERS — GO LOCAL BRAND
   ===================================================== */

/* Encabezados de tarjetas */
#reports-params-view .admin-param-card-title {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #010F3C;
}

/* Iconos */
#reports-params-view .admin-param-card-title i {
    color: #FF4F2A;
    font-size: 17px;
    margin-right: 6px;
}

/* Etiquetas de parámetros */
#reports-params-view .admin-param-row-label {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.35;
    color: #595959;
}

/* Campos numéricos y unidades */
#reports-params-view .admin-param-row input[type="number"],
#reports-params-view .admin-param-row input[type="text"],
#reports-params-view .admin-param-row .input-group-text {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    color: #010F3C;
}

/* Espaciado entre tarjetas */
#reports-params-view .admin-section-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =====================================================
   FOOTER — GRIS + PINK + NAVY
   ===================================================== */

#reports-params-view .admin-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    background: #E7E7E7;
    border-radius: 12px;
    padding: 14px;
    margin-top: 18px;
    margin-bottom: 20px;
}

/* Botones */
#reports-params-view .admin-footer-actions .admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: 100%;
    min-height: 46px;
    margin: 0;
    border-radius: 9px;

    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    box-shadow: none;
    transition: background-color .2s ease;
}

/* CANCEL — BRAND PINK */
#reports-params-view #btnCancelReportsParams {
    background: #FF1B59 !important;
    border: 1px solid #FF1B59 !important;
    color: #FFFFFF !important;
}

#reports-params-view #btnCancelReportsParams:hover {
    background: #E5154D !important;
    border-color: #E5154D !important;
}

/* SAVE — INK NAVY */
#reports-params-view #btnSaveReportsParams {
    background: #010F3C !important;
    border: 1px solid #010F3C !important;
    color: #FFFFFF !important;
}

#reports-params-view #btnSaveReportsParams:hover {
    background: #10245B !important;
    border-color: #10245B !important;
}

#reports-params-view #btnSaveReportsParams i {
    font-size: 19px;
}


/* =====================================================
   REIMBURSEMENTS PARAMETERS — GO LOCAL BRAND
   ===================================================== */

/* Encabezados de tarjetas */
#reimb-params-view .admin-param-card-title {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #010F3C;
}

/* Iconos */
#reimb-params-view .admin-param-card-title i {
    color: #FF4F2A;
    font-size: 17px;
    margin-right: 6px;
}

/* Etiquetas */
#reimb-params-view .admin-param-row-label {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.35;
    color: #595959;
}

/* Inputs, select y unidades */
#reimb-params-view .admin-param-row input[type="number"],
#reimb-params-view .admin-param-row input[type="text"],
#reimb-params-view .admin-param-row select,
#reimb-params-view .admin-param-row .admin-input-unit {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    color: #010F3C;
}

/* Separación entre tarjetas */
#reimb-params-view .admin-section-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =====================================================
   FOOTER — OFF-WHITE + PINK + NAVY
   ===================================================== */

#reimb-params-view .admin-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #E7E7E7;
    border-radius: 12px;
    padding: 14px;
    margin-top: 18px;
    margin-bottom: 20px;
}

/* Botones */
#reimb-params-view .admin-footer-actions .admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    margin: 0;
    border-radius: 9px;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none;
    transition: background-color .2s ease;
}

/* CANCEL — BRAND PINK */
#reimb-params-view #btnCancelReimbParams {
    background: #FF1B59 !important;
    border: 1px solid #FF1B59 !important;
    color: #FFFFFF !important;
}

#reimb-params-view #btnCancelReimbParams:hover {
    background: #E5154D !important;
    border-color: #E5154D !important;
}

/* SAVE — INK NAVY */
#reimb-params-view #btnSaveReimbParams {
    background: #010F3C !important;
    border: 1px solid #010F3C !important;
    color: #FFFFFF !important;
}

#reimb-params-view #btnSaveReimbParams:hover {
    background: #10245B !important;
    border-color: #10245B !important;
}

#reimb-params-view #btnSaveReimbParams i {
    font-size: 19px;
}


/* ==========================================
   GO LOCAL — START BREAK / END BREAK
   Same dimensions as CHECK OUT
   ========================================== */

#action-container button.btn-break {
    min-height: 64px;
    height: 64px;
    padding: 8px 16px;
    margin: 14px 0;
    border-radius: 12px;

    font-family: var(--gl-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

#action-container button.btn-break i {
    font-size: 15px;
    line-height: 1;
    margin: 0;
}

/* =====================================================
   EXPRESS PARAMETERS — GO LOCAL BRAND
   ===================================================== */

/* Cards */
#express-params-view .admin-param-card {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: none;
}

#express-params-view .admin-param-card-header {
    background: #E7E7E7;
    padding: 13px 14px;
}

#express-params-view .admin-param-card-title {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #010F3C;
}

#express-params-view .admin-param-card-title i {
    color: #FF4F2A;
    font-size: 18px;
    margin-right: 7px;
}

/* Parameter labels */
#express-params-view .admin-param-row-label {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
    color: #595959;
}

/* Inputs and units */
#express-params-view .admin-param-row input[type="number"],
#express-params-view .admin-param-row input[type="text"],
#express-params-view .admin-input,
#express-params-view .admin-input-unit {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    color: #010F3C;
}

/* Footer */
#express-params-view .admin-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #E7E7E7;
    border-radius: 12px;
    padding: 14px;
    margin-top: 18px;
    margin-bottom: 20px;
}

#express-params-view .admin-footer-actions .admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    margin: 0;
    border-radius: 9px;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none;
}

/* CANCEL — Brand Pink */
#express-params-view #btnCancelExpressParams {
    background: #FF1B59 !important;
    border: 1px solid #FF1B59 !important;
    color: #FFFFFF !important;
}

/* SAVE — Ink Navy */
#express-params-view #btnSaveExpressParams {
    background: #010F3C !important;
    border: 1px solid #010F3C !important;
    color: #FFFFFF !important;
}

#express-params-view #btnCancelExpressParams:hover {
    background: #E0164C !important;
}

#express-params-view #btnSaveExpressParams:hover {
    background: #142653 !important;
}

#express-params-view #btnSaveExpressParams:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


/* ==========================================================
   USERS PARAMETERS — USER CARDS
   GO LOCAL BRAND STANDARD
   ========================================================== */


/* Eliminar espacio innecesario antes de la lista */
#users-admin-view #usersListView .admin-section-group {
    margin-top: 0;
}

#users-admin-view #usersListView .admin-param-card {
    overflow: hidden;
}

/* Mantener tarjetas separadas */
#users-admin-view #usersList {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 12px;
}

/* ==========================================================
   USERS PARAMETERS — USER CARDS
   GO LOCAL BRAND STANDARD
   ========================================================== */

#users-admin-view .admin-user-row {
    width: 100%;
    padding: 14px 15px;
    margin: 0;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-left: 4px solid #FF4F2A;
    border-radius: 10px;
    box-shadow: none;
    text-align: left;
    transition: border-color .2s ease, background-color .2s ease;
}

#users-admin-view .admin-user-row:hover {
    transform: none;
    background: #FFF8F6;
    border-color: #FF4F2A;
}

#users-admin-view .admin-user-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

#users-admin-view .admin-user-code {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #FF4F2A;
}

#users-admin-view .admin-user-market {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #595959;
    text-align: right;
}

#users-admin-view .admin-user-name-btn {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #010F3C;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    overflow-wrap: anywhere;
}

#users-admin-view .admin-user-name-btn:hover {
    color: #FF4F2A;
}

#users-admin-view .admin-user-name-btn:focus-visible {
    outline: 2px solid #FF1B59;
    outline-offset: 4px;
    border-radius: 3px;
}

/* Mobile */
@media (max-width: 767.98px) {
    #users-admin-view .admin-user-row {
        padding: 12px 13px;
    }

    #users-admin-view .admin-user-code,
    #users-admin-view .admin-user-market {
        font-size: 12px;
    }

    #users-admin-view .admin-user-name-btn {
        font-size: 17px;
    }
}

/* ==========================================================
   USERS PARAMETERS — PROMOTER DETAIL
   GO LOCAL BRAND
   ========================================================== */

/* Tarjeta principal */
#usersDetailView .admin-param-card {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

/* Encabezado de la tarjeta */
#usersDetailView .admin-param-card-header {
    background: #F7F8FA;
    border-bottom: 1px solid #E7E7E7;
    padding: 13px 15px;
}

#usersDetailView .admin-param-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    color: #010F3C;
    text-transform: uppercase;
}

#usersDetailView .admin-param-card-title i {
    color: #FF4F2A;
    font-size: 19px;
}

/* Filas y etiquetas */
#usersDetailView .admin-param-row {
    min-height: 49px;
    padding: 9px 12px;
    border-bottom: 1px solid #E7E7E7;
    gap: 8px;
}

#usersDetailView .admin-param-row:last-child {
    border-bottom: none;
}

#usersDetailView .admin-param-row-label {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.3;
    color: #595959;
}

/* Campos de información */
#usersDetailView .admin-inline-input {
    min-width: 0;
}

#usersDetailView .admin-input {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    color: #010F3C;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 9px;
    min-height: 35px;
    padding: 6px 9px;
    box-shadow: none;
}

#usersDetailView .admin-input:focus {
    border-color: #FF4F2A;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 79, 42, .12);
}

#usersDetailView .admin-input[readonly] {
    background: #F7F8FA;
}

/* Switches: mantener funcionamiento existente */
#usersDetailView .admin-switch input:checked+.admin-switch-slider {
    background: #010F3C;
}

/* USERS DETAIL — Footer de acciones */
#usersDetailView .admin-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    background: #E7E7E7;
    border-radius: 12px;

    padding: 14px;
    margin-top: 18px;
    margin-bottom: 20px;

    box-shadow: none;
}

/* Estándar de botones */
#usersDetailView .admin-footer-actions .admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    border-radius: 9px;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: none;
}

/* Cancel — Brand Pink */
#usersDetailView #btnCancelUserDetail {
    background: #FF1B59 !important;
    border: 1px solid #FF1B59 !important;
    color: #FFFFFF !important;
}

/* Save — Ink Navy */
#usersDetailView #btnSaveUserDetail {
    background: #010F3C !important;
    border: 1px solid #010F3C !important;
    color: #FFFFFF !important;
}

/* Estados hover */
#usersDetailView #btnCancelUserDetail:hover {
    background: #DF124A !important;
}

#usersDetailView #btnSaveUserDetail:hover {
    background: #14275B !important;
}

/* Ajustes móviles */
@media (max-width: 767.98px) {
    #usersDetailView .admin-param-row-label {
        font-size: 14px;
    }

    #usersDetailView .admin-input {
        font-size: 14px;
    }

    #usersDetailView .admin-param-card-title {
        font-size: 18px;
    }
}

/* =====================================================
   LIVE COMPACT VIEW — GO LOCAL BRAND
   ===================================================== */

#liveCompactView #liveCompactBody,
#liveCompactView #liveCompactList {
    width: 100%;
    min-width: 0;
}

/* Lista de turnos */
#liveCompactView .lc-table {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

/* Una fila = promotor + IN + BREAK + OUT */
#liveCompactView .lc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px 26px 48px;
    gap: 3px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Información del promotor */
#liveCompactView .lc-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 7px 6px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-left: 3px solid #FF4F2A;
    border-radius: 8px;
    overflow: hidden;
}

/* Nombre */
#liveCompactView .lc-promoter {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #010F3C;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Evento — conservar el botón que abre el turno */
#liveCompactView .lc-event {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 3px 0 0;
    background: transparent;
    border: 0;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    color: #010F3C;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

#liveCompactView .lc-event:hover {
    color: #FF4F2A;
}

/* Ubicación y horario */
#liveCompactView .lc-meta,
#liveCompactView .lc-date {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.25;
    color: #595959;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

#liveCompactView .lc-date {
    margin-top: 2px;
}

/* IN / OUT */
#liveCompactView .lc-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 64px;
    padding: 4px 2px;
    margin: 0;
    border-radius: 7px;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    box-shadow: none;
}

#liveCompactView .lc-action span {
    font-size: 10px;
    font-weight: 300;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

/* Check In realizado */
#liveCompactView .lc-in.lc-done {
    background: #E6F4EA;
    border: 1px solid #B5DEC1;
    color: #176B39;
}

/* Check Out realizado */
#liveCompactView .lc-out.lc-done {
    background: #E7EDFA;
    border: 1px solid #B9C9E9;
    color: #010F3C;
}

/* Estado pendiente */
#liveCompactView .lc-action.lc-empty {
    background: #E7E7E7;
    border: 1px solid #D5D5D5;
    color: #595959;
    opacity: 1;
}

/* Break */
#liveCompactView .lc-break {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 2px;
    margin: 0;
    border-radius: 7px;
    background: #E7E7E7;
    color: #595959;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 11px;
    font-weight: 700;
}

#liveCompactView .lc-break.lc-break-on {
    background: #FFF0C2;
    color: #805900;
    border: 1px solid #E8C65C;
}

/* Pantallas estrechas */
@media (max-width: 380px) {
    #liveCompactView .lc-row {
        grid-template-columns: minmax(0, 1fr) 43px 23px 43px;
        gap: 2px;
    }

    #liveCompactView .lc-promoter {
        font-size: 13px;
    }

    #liveCompactView .lc-action {
        font-size: 12px;
    }
}

/* LIVE COMPACT — Estados registrados */
/* LIVE COMPACT — IN y OUT completados */
#liveCompactView .lc-in.lc-done,
#liveCompactView .lc-out.lc-done {
    background: #28A745 !important;
    border: 1px solid #28A745 !important;
    color: #FFFFFF !important;
}

/* Textos y horas en blanco */
#liveCompactView .lc-in.lc-done *,
#liveCompactView .lc-out.lc-done * {
    color: #FFFFFF !important;
}

/* Break */
#liveCompactView .lc-break.lc-break-on {
    background: #E7B95C !important;
    border: 1px solid #E7B95C !important;
    color: #010F3C !important;
}

/* =========================================
   GO LOCAL - LIVE PHOTO MODAL
   ========================================= */

#rcPhotoModal .rc-photo-modal {
    background: #FFFFFF;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(1, 15, 60, .22);
}

/* Header */
#rcPhotoModal .modal-header {
    background: #010F3C;
    border-bottom: 3px solid #FF4F2A;
    padding: 14px 18px;
}

#rcPhotoModal .modal-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.2;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Circular close icon */
#rcPhotoModal .rc-photo-close-icon {
    border: 0;
    background: transparent;
    color: #FFFFFF;
    font-size: 25px;
    line-height: 1;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#rcPhotoModal .rc-photo-close-icon:hover {
    color: #FF4F2A;
}

/* Photo */
#rcPhotoModal .modal-body {
    padding: 14px;
    background: #FFFFFF;
}

#rcPhotoModal .rc-photo-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 9px;
}

/* Footer */
#rcPhotoModal .modal-footer {
    background: #E7E7E7;
    border-top: 0;
    padding: 12px 14px;
    justify-content: center;
}

/* Close button */
#rcPhotoModal .rc-photo-close-btn {
    width: 100%;
    background: #FF1B59;
    color: #FFFFFF;
    border: 0;
    border-radius: 7px;
    padding: 11px 18px;

    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .5px;
    cursor: pointer;
}

#rcPhotoModal .rc-photo-close-btn:hover {
    background: #010F3C;
}

#rcPhotoModal .rc-photo-close-btn:active {
    transform: scale(.99);
}

#liveCompactView .lc-event {
    text-align: left;
}

/* TODAY FULL VIEW — Go Local */

#liveSupervisorView .ls-filters,
#checkHistoryView .ls-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 0 12px;
}

#liveSupervisorView .ls-filter select,
#checkHistoryView .ls-filter select {
    width: 100%;
    height: 38px;
    border: 1px solid #E7E7E7;
    border-radius: 7px;
    background: white;
    color: #010F3C;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    box-shadow: none;
}

#liveSupervisorView .ls-clear,
#checkHistoryView .ls-clear {
    grid-column: 1 / -1;
    width: 100%;
    height: 34px;
    border: 1px solid #E7E7E7;
    border-radius: 7px;
    background: #E7E7E7;
    color: #010F3C;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

#liveSupervisorView .rc-live-grid,
#checkHistoryView .rc-live-grid {
    gap: 5px;
}

#liveSupervisorView .rc-live-row,
#checkHistoryView .rc-live-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 3px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#liveSupervisorView .rc-live-info,
#checkHistoryView .rc-live-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 7px 6px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-left: 3px solid #FF4F2A;
    border-radius: 8px;
    overflow: hidden;
}

#liveSupervisorView .rc-live-name,
#checkHistoryView .rc-live-name {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #010F3C;
    text-transform: uppercase;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


#liveSupervisorView .rc-live-event,
#checkHistoryView .rc-live-event {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 3px 0 0;
    padding: 0;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    color: #010F3C;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#liveSupervisorView .rc-live-event .ls-shift-link,
#checkHistoryView .rc-live-event .ls-shift-link {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 3px 0 0;
    padding: 0;
    color: #010F3C !important;
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

#liveSupervisorView .rc-live-meta,
#liveSupervisorView .rc-live-meta2,
#checkHistoryView .rc-live-meta,
#checkHistoryView .rc-live-meta2 {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    color: #34415C;
    text-align: left;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* GO LOCAL — LIGHT EMPTY STATES — SAME AS LIVE COMPACT */
#liveSupervisorView .rc-live-states .rc-btn-state.rc-btn-empty,
#checkHistoryView .rc-live-states .rc-btn-state.rc-btn-empty,
#liveSupervisorView .rc-live-states .rc-break-box:not(.rc-break-done):not(.rc-break-on),
#checkHistoryView .rc-live-states .rc-break-box:not(.rc-break-done):not(.rc-break-on) {
    background: #E7E7E7 !important;
    border: 1px solid #E7E7E7 !important;
    color: #595959 !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* GO LOCAL — HIDE TEXT IN EMPTY STATES */
#liveSupervisorView .rc-live-states .rc-btn-state.rc-btn-empty,
#checkHistoryView .rc-live-states .rc-btn-state.rc-btn-empty {
    font-size: 0 !important;
    line-height: 0 !important;
}

#liveSupervisorView .rc-live-states .rc-btn-state.rc-btn-empty *,
#checkHistoryView .rc-live-states .rc-btn-state.rc-btn-empty * {
    visibility: hidden !important;
}


#liveSupervisorView .rc-btn-in-done,
#liveSupervisorView .rc-btn-out-done,
#checkHistoryView .rc-btn-in-done,
#checkHistoryView .rc-btn-out-done {
    background: #28A745 !important;
    border-color: #28A745 !important;
    color: white !important;
}

#liveSupervisorView .rc-break-done,
#liveSupervisorView .rc-break-on,
#checkHistoryView .rc-break-done,
#checkHistoryView .rc-break-on {
    background: #E7B95C !important;
    border-color: #E7B95C !important;
    color: #010F3C !important;
}

/* TIMEKEEPING HISTORY — ACTIONS */

#checkHistoryView .live-header-actions {
    display: flex;
    gap: 8px;
    padding: 10px 0;
}

#checkHistoryView #openHistoryFiltersBtn,
#checkHistoryView #exportHistoryXlsxBtn {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 7px;
    min-height: 36px;
    padding: 6px 16px;
}

#checkHistoryView #openHistoryFiltersBtn {
    background: #010F3C;
    border: 1px solid #FF4F2A;
    color: #FFFFFF;
}

#checkHistoryView #exportHistoryXlsxBtn {
    background: #E7E7E7;
    border: 1px solid #E7E7E7;
    color: #010F3C;
}

#checkHistoryView #openHistoryFiltersBtn:active,
#checkHistoryView #exportHistoryXlsxBtn:active {
    transform: scale(0.98);
}


/* ==========================================
   TIMEKEEPING HISTORY — FILTERS MODAL
   ========================================== */

#historyFiltersModal .modal-dialog {
    width: calc(100% - 28px);
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

#historyFiltersModal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
}

/* Header */
#historyFiltersModal .modal-header {
    background: #010F3C;
    border-bottom: 3px solid #FF4F2A;
    padding: 17px 18px;
    min-height: 68px;
}

#historyFiltersModal .modal-title {
    font-family: var(--gl-font);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .4px;
}

#historyFiltersModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
    box-shadow: none;
}

/* Body */
#historyFiltersModal .modal-body {
    padding: 18px 18px 12px;
    text-align: left;
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
}

#historyFiltersModal .modal-body .mb-2 {
    margin-bottom: 14px !important;
}

#historyFiltersModal .form-label {
    display: block;
    font-family: var(--gl-font);
    font-size: 1rem;
    font-weight: 700;
    color: #010F3C;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-align: left;
}

#historyFiltersModal .form-control,
#historyFiltersModal .form-select {
    font-family: var(--gl-font);
    font-size: 1rem;
    font-weight: 300;
    color: #010F3C;
    background-color: #fff;
    border: 1px solid #C8CED8;
    border-radius: 9px;
    min-height: 43px;
    padding: 8px 12px;
    box-shadow: none;
}

#historyFiltersModal .form-control:focus,
#historyFiltersModal .form-select:focus {
    border-color: #FF4F2A;
    box-shadow: 0 0 0 3px rgba(255, 79, 42, .12);
}

#historyFiltersModal .form-select:disabled {
    background-color: #E7E7E7;
    color: #595959;
    opacity: .8;
}

#historyFiltersModal #hfHint {
    font-family: var(--gl-font);
    font-weight: 300;
    color: #FF4F2A !important;
    text-align: left;
}

/* Footer */
#historyFiltersModal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #E7E7E7;
    border-top: 1px solid #D2D2D2;
    padding: 12px 18px;
}

#historyFiltersModal .modal-footer .btn {
    font-family: var(--gl-font);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 9px;
    min-width: 105px;
    min-height: 42px;
    margin: 0;
}

#historyFiltersModal #hfClear {
    background: #fff;
    color: #010F3C;
    border: 1px solid #010F3C;
}

#historyFiltersModal #hfApply {
    background: #010F3C;
    color: #fff;
    border: 1px solid #010F3C;
}

#historyFiltersModal #hfApply:hover {
    background: #172858;
}


/* HISTORY FILTERS — SELECT OPTIONS */
#historyFiltersModal select,
#historyFiltersModal select option {
    font-family: "Oswald", sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
}


/* ============================================
   ADD ADMIN HOURS — LIGHT BODY
   ============================================ */

/* Fondo blanco solo en esta pantalla */
#manual-hours-view {
    background: #FFFFFF !important;
}

/* Mantener encabezado navy */
#manual-hours-view .reimb-header,
#manual-hours-view .reports-header {
    background: #010F3C !important;
}

/* Área del formulario */
#manual-hours-view>.section-body {
    background: #FFFFFF !important;
    color: #010F3C;
    padding: 18px 12px 28px;
}

/* Etiquetas del formulario */
#manual-hours-view .section-body label,
#manual-hours-view .section-body .form-label {
    color: #010F3C !important;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

/* Campos */
#manual-hours-view .section-body input,
#manual-hours-view .section-body select,
#manual-hours-view .section-body textarea {
    background-color: #FFFFFF;
    color: #010F3C;
    border: 1px solid #D9DDE5;
}

/* Textos auxiliares */
#manual-hours-view .section-body small,
#manual-hours-view .section-body .form-text {
    color: #595959 !important;
}

/* Franja de acciones */
#manual-hours-view div:has(> #btnCancelManualHours):has(> #btnSubmitManualHours) {
    background: #E7E7E7;
}

/* ADD ADMIN HOURS — COMPLETED TASKS */
#grp_manualHoursCompletedTasks>label>span:first-child {
    font-family: 'Oswald', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #010F3C !important;
    text-transform: uppercase !important;
}

#liveCompactView .lc-event {
    text-align: left !important;
}

/* ============================================
   SHIFT FLAGS — ADMIN STANDARD
   ============================================ */

#lsSignalsModal .ls-signals-topbar {
    flex-shrink: 0;
}

#lsSignalsModal .ls-signals-summary {
    font-family: "Oswald", Arial, sans-serif;
    text-align: center;
    border-radius: 12px;
}

#lsSignalsModal #sfLine1 {
    color: #010F3C;
    font-weight: 700;
}

#lsSignalsModal #sfLine2,
#lsSignalsModal #sfLine3 {
    color: #595959;
    font-weight: 300;
}

#lsSignalsModal .ls-signals-body {
    min-height: 0;
    overflow-y: auto;
}

#lsSignalsModal .ls-signals-footer {
    flex-shrink: 0;
}

#lsSignalsModal .ls-signals-footer .btn-danger {
    background: #FF1B59;
    border-color: #FF1B59;
}

#lsSignalsModal #lsSignalsSubmitBtn {
    background: #010F3C;
    border-color: #010F3C;
    color: #fff;
}


/* ============================================
   SHIFT FLAGS — GO LOCAL PARAMETER SCREEN
   ============================================ */

#lsSignalsModal {
    --sf-navy: #010F3C;
    --sf-orange: #FF4F2A;
    --sf-pink: #FF1B59;
    --sf-gray: #E7E7E7;
    padding: 0 !important;
}

#lsSignalsModal .modal-dialog.ls-signals-dialog {
    width: min(100%, 640px);
    max-width: 640px !important;
    height: 100dvh;
    margin: 0 auto !important;
    display: flex;
}

#lsSignalsModal .modal-content.ls-signals-modal {
    width: 100%;
    max-width: none;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: var(--sf-navy);
    overflow: hidden;
    box-shadow: none;
}

#lsSignalsModal .ls-signals-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    max-height: none;
    background: var(--sf-navy);
}

/* HEADER */

#lsSignalsModal .ls-signals-topbar {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 25px 20px 20px;
    background: var(--sf-navy);
    border: 0;
}

#lsSignalsModal .gl-section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
}

#lsSignalsModal .gl-title-primary {
    color: var(--sf-orange);
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 20px;
}

#lsSignalsModal .gl-title-secondary {
    color: #FFFFFF;
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 20px;
}

#lsSignalsModal .gl-scheduler-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
}

#lsSignalsModal .gl-scheduler-close i {
    font-size: 27px;
    line-height: 1;
}

/* SHIFT INFORMATION */

#lsSignalsModal .ls-signals-summary {
    flex: 0 0 auto;
    margin: 0 20px 14px;
    padding: 12px;
    border: 1px solid #DDE5F0;
    border-radius: 12px;
    background: #FFFFFF;
    text-align: center;
    line-height: 1.35;
}

#lsSignalsModal #sfLine1 {
    color: var(--sf-navy);
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

#lsSignalsModal #sfLine2,
#lsSignalsModal #sfLine3 {
    color: #595959;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 300;
}

/* SCROLLABLE CARDS */

#lsSignalsModal .ls-signals-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 20px 18px;
    background: var(--sf-navy);
    -webkit-overflow-scrolling: touch;
}

#lsSignalsModal .ls-admin-card {
    margin: 0 0 12px;
    border-radius: 15px;
    overflow: hidden;
    background: #FFFFFF;
}

#lsSignalsModal .admin-param-card-header {
    padding: 11px 13px;
    background: #F3F6FB;
    border-bottom: 0;
}

#lsSignalsModal .admin-param-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sf-navy);
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

#lsSignalsModal .admin-param-card-title i {
    color: var(--sf-orange);
}

#lsSignalsModal .admin-param-list {
    padding: 0 12px 8px;
}

#lsSignalsModal .admin-param-row-label {
    color: #595959;
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    font-weight: 300;
    text-align: left;
}

/* FOOTER */

#lsSignalsModal .ls-signals-footer {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 12px 20px max(16px, env(safe-area-inset-bottom));
    background: var(--sf-gray);
    border-radius: 12px 12px 12px 12px;
}

#lsSignalsModal .ls-signals-footer .admin-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 43px;
    border: 0;
    border-radius: 9px;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

#lsSignalsModal .ls-signals-cancel {
    background: var(--sf-pink);
    color: #FFFFFF;
}

#lsSignalsModal .ls-signals-save {
    background: var(--sf-navy);
    color: #FFFFFF;
}

@media (max-width: 767.98px) {
    #lsSignalsModal .modal-dialog.ls-signals-dialog {
        width: 100%;
        max-width: 100% !important;
        margin: 0 !important;
    }

    #lsSignalsModal .ls-signals-footer .admin-btn {
        width: auto;
        min-width: 0;
    }
}


/* EXPRESS REPORT — MOBILE ADJUSTMENTS */

@media (max-width: 600px) {

    /* Título y micrófono en una sola fila */
    #report-capture-view.gl-express-report #sec_summary .rc-label.rc-label--row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        text-align: left;
        font-size: clamp(15px, 4vw, 19px);
        margin-bottom: 12px;
    }

    #report-capture-view.gl-express-report #sec_summary .rc-label.rc-label--row .rc-trans-btn {
        flex: 0 0 auto;
        margin-left: 0;
    }

    /* Reducir altura del textarea */
    #report-capture-view.gl-express-report #grp_eventSummary textarea {
        height: clamp(180px, 34dvh, 280px);
        min-height: 180px;
        max-height: 280px;
    }

    /* CLOSE blanco sobre el encabezado navy */
    #report-capture-view.gl-express-report #rcCloseBtn {
        color: #FFFFFF !important;
    }
}

/* EXPRESS REPORT — SUMMARY */
#report-capture-view.gl-express-report #fld_eventSummary {
    height: clamp(180px, 32dvh, 250px) !important;
    min-height: 180px !important;
    max-height: 250px;
}

/* Mantener título y micrófono juntos */
#report-capture-view.gl-express-report #grp_eventSummary .rc-label.rc-label--row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: clamp(14px, 3.8vw, 19px);
    text-align: left;
}

#report-capture-view.gl-express-report #grp_eventSummary .rc-label.rc-label--row .rc-trans-btn {
    flex-shrink: 0;
    margin-left: 0;
}

/* =========================================================
   STAFFING PARAMETERS — STICKY HEADER
   ========================================================= */
#checkin-params-view .gl-section-header,
#reports-params-view .gl-section-header,
#reimb-params-view .gl-section-header,
#express-params-view .gl-section-header {
    position: sticky !important;
    top: 0;
    z-index: 30;
    background: #010F3C;
    padding-top: 12px;
    padding-bottom: 12px;
}


/* NEW PARAMETERS: allow long labels to wrap without pushing switches offscreen */
#checkin-params-view .admin-param-row-label {
    min-width: 0;
    overflow-wrap: break-word;
}

#checkin-params-view .admin-switch {
    flex-shrink: 0;
}


/* =========================================================
   USERS PARAMETERS — STICKY HEADER + FRONTEND SEARCH
   GO LOCAL BRAND
   ========================================================= */

/* USERS PARAMETERS — Hide scrollbar, keep touch scrolling */
#users-admin-view {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#users-admin-view::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* USERS PARAMETERS — Header dentro del contenedor sticky */
#users-admin-view .gl-section-header {
    position: relative !important;
    top: auto;
    z-index: auto;
    background: #010F3C;
    border-top: none;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* USERS PARAMETERS — HEADER + SEARCH AS ONE STICKY UNIT */
#users-admin-view .users-sticky-header {
    position: sticky;
    top: -2px;
    z-index: 40;
    background: #010F3C;
}

#users-admin-view .users-search-bar {
    position: relative;
    top: auto;
    z-index: auto;
    background: #010F3C;
    padding: 8px 16px 12px;
}


#users-admin-view .users-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

#users-admin-view .users-search-input-wrap>i {
    position: absolute;
    left: 14px;
    color: #FF4F2A;
    font-size: 17px;
    pointer-events: none;
}

#users-admin-view #usersSearchInput {
    width: 100%;
    height: 43px;
    padding: 0 14px 0 42px;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    background: #FFFFFF;
    color: #010F3C;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.4px;
    outline: none;
    box-sizing: border-box;
}

#users-admin-view #usersSearchInput:focus {
    border-color: #FF4F2A;
    box-shadow: 0 0 0 2px rgba(255, 79, 42, 0.18);
}

#users-admin-view #usersSearchInput::placeholder {
    color: #595959;
    opacity: 0.8;
}

#users-admin-view .users-search-count {
    margin-top: 6px;
    color: #E7E7E7;
    text-align: right;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.6px;
}

/* No dejar espacio extra entre buscador y lista */
#users-admin-view #usersListView .admin-section-group {
    margin-top: 0;
}

@media (max-width: 767.98px) {
    #users-admin-view .users-search-bar {
        top: auto;
        padding-left: 12px;
        padding-right: 12px;
    }
}



/* USERS PARAMETERS — CLEAR SEARCH BUTTON */

#users-admin-view #usersSearchInput {
    padding-right: 48px;
}

/* Ocultar la X nativa de Safari y Chrome */
#users-admin-view #usersSearchInput::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
}

#users-admin-view .users-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #FF4F2A;
    font-size: 19px;
    cursor: pointer;
    z-index: 2;
}

#users-admin-view .users-search-clear[hidden] {
    display: none !important;
}

/* ======================================================
   GO LOCAL - SUPPORT REQUEST
   Unified authenticated / unauthenticated modal
   ====================================================== */

#contact-modal .cm-dialog {
    width: min(92vw, 480px);
    max-height: 90dvh;
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: #FFFFFF;
}

#contact-modal .cm-header {
    flex: 0 0 auto;
    padding: 4px 0 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #E7E7E7;
}

#contact-modal .header-title-row h4 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #010F3C;
    text-align: center;
}

#contact-modal .cm-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 2px 12px;
    -webkit-overflow-scrolling: touch;
}

#contact-modal .cm-body p {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    color: #595959;
    font-size: 16px;
    line-height: 1.5;
}

/* WhatsApp */
#contact-modal .support-wa-btn {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

/* Contact form */
#contact-modal .support-identity-wrap {
    margin: 8px 0 14px;
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 12px;
}

#contact-modal .support-identity-title {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #010F3C;
    margin-bottom: 14px;
}

#contact-modal .support-identity-grid {
    gap: 12px;
}

#contact-modal .support-identity-grid .rc-label {
    font-family: 'Oswald', Arial, sans-serif;
    color: #595959;
}

#contact-modal .support-identity-grid .rc-input {
    width: 100%;
    min-height: 42px;
    border-radius: 9px;
}

#contact-modal .support-identity-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

#contact-modal #supportIdentityContinueBtn {
    background: #FF4F2A;
    border-color: #FF4F2A;
    color: #FFFFFF;
}

#contact-modal #supportIdentityCancelBtn {
    background: #FF1B59 !important;
    border-color: #FF1B59 !important;
    color: #FFFFFF !important;
}

/* Screenshot */
#contact-modal #supportShotWrap {
    max-height: none;
    overflow: visible;
    margin-top: 14px;
}

#contact-modal .support-shot-label {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #595959;
    margin-bottom: 8px;
}

#contact-modal #supportShotPreview {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 480px) {
    #contact-modal .cm-dialog {
        width: calc(100vw - 28px);
        max-height: 90dvh;
        padding: 14px;
    }

    #contact-modal .support-identity-actions .btn {
        min-width: 0;
        font-size: 14px;
        white-space: normal;
    }
}

#contact-modal .support-shot-label {
    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #595959 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* =========================================
   GO LOCAL - SUPPORT REQUEST HEADER
   ========================================= */

#contact-modal .cm-header {
    background-color: #010F3C !important;
    border-bottom: none !important;
    border-radius: 10px;
    padding: 12px 14px !important;
    margin-bottom: 12px;
}

#contact-modal .header-title-row h4 {
    color: #FFFFFF !important;
    margin: 0 !important;
    text-align: center;
}


/* SUPPORT REQUEST - CLOSE POSITION */

#contact-modal .modal-close.close-btn.is-red {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    transform: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* SUPPORT REQUEST - CONTINUE WHATSAPP */

#contact-modal #supportIdentityContinueBtn {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #ffffff !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;

    white-space: nowrap;
    font-weight: 600;
}

#contact-modal #supportIdentityContinueBtn:hover,
#contact-modal #supportIdentityContinueBtn:focus {
    background-color: #157347 !important;
    border-color: #146c43 !important;
}

/* SUPPORT REQUEST - IDENTITY FIELDS */

#contact-modal #supportIdentityWrap .rc-input {
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    color: #010F3C !important;
    letter-spacing: 0.3px;
}

/* Labels */
#contact-modal #supportIdentityWrap .rc-label {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700 !important;
}


/* ==========================================
   GO LOCAL - RECOVER ACCESS CODE
   BETA 4.0 VISUAL REFRESH
   ========================================== */

.forgot-code-dialog {
    width: min(92vw, 420px);
    padding: 20px 18px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(1, 15, 60, .28);
}

/* Header */
.forgot-code-header {
    position: relative;
    padding: 0 34px 13px;
    margin-bottom: 15px;
    border-bottom: 1px solid #E7E7E7;
}

.forgot-code-header h4 {
    font-family: var(--gl-font) !important;
    font-weight: 700 !important;
    font-size: 1.35rem;
    line-height: 1.22;
    letter-spacing: .3px;
    color: #010F3C !important;
    text-align: center;
}

/* Close */
.forgot-code-header .modal-close {
    top: -9px;
    right: -9px;
    transform: none;
    color: #FF4F2A;
}

.forgot-code-header .modal-close i {
    color: #FF4F2A;
    font-size: 1.35rem;
}

/* Description */
.forgot-code-help {
    font-family: var(--gl-font);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.4;
    color: #595959;
    margin-bottom: 14px;
    text-align: center;
}

/* Email label */
.forgot-code-body label {
    display: block;
    font-family: var(--gl-font);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .3px;
    color: #010F3C;
    margin-bottom: 7px;
}

/* Email input */
.forgot-code-body input[type="email"] {
    display: block;
    width: 100%;
    min-height: 46px;
    border: 1.5px solid #D5D9E2;
    border-radius: 11px;
    background: #fff;
    color: #010F3C;
    padding: 10px 13px;
    font-family: var(--gl-font);
    font-weight: 300;
    font-size: 1rem;
    outline: none;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}

.forgot-code-body input[type="email"]:focus {
    border-color: #010F3C;
    box-shadow: 0 0 0 3px rgba(1, 15, 60, .10);
}

/* Action buttons */
.forgot-code-dialog button.btn {
    font-family: var(--gl-font);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .3px;
    border-radius: 10px;
    min-height: 44px;
}

/* Cancel */
/* CANCEL — GO LOCAL BRAND PINK */
.forgot-code-dialog .btn-danger {
    background: #FF1B59 !important;
    border-color: #FF1B59 !important;
    color: #FFFFFF !important;
}


/* Send Code */

/* SEND CODE — GO LOCAL INK NAVY */
.forgot-code-dialog .btn-success {
    background-color: #010F3C !important;
    border-color: #010F3C !important;
    color: #FFFFFF !important;
}

.forgot-code-dialog .btn-success:hover,
.forgot-code-dialog .btn-success:focus {
    background-color: #010F3C !important;
    border-color: #010F3C !important;
    color: #FFFFFF !important;
}


/* Status messages */
.forgot-code-status {
    font-family: var(--gl-font);
    font-weight: 300;
    font-size: .95rem;
    line-height: 1.4;
    border-radius: 10px;
}

/* Compact mobile */
@media (max-width: 380px) {
    .forgot-code-dialog {
        padding: 17px 13px 15px;
    }

    .forgot-code-header h4 {
        font-size: 1.2rem;
    }

    .forgot-code-dialog button.btn {
        font-size: .92rem;
    }
}



#forgotCodeModal #forgotCodeSendBtn {
    background: #010F3C !important;
    background-color: #010F3C !important;
    border-color: #010F3C !important;
    color: #FFFFFF !important;
}


/* TODAY COMPACT VIEW — Brand Orange */
#menuLiveCompact .bi-broadcast-pin {
    color: #FF4F2A !important;
}

/* =========================================
   GO LOCAL 4.0 — TIMER TYPOGRAPHY BALANCE
   ========================================= */

/* CHECK IN ALLOWED AT */
#earlyCheckInMessage,
#earlyCheckInMessage * {
    font-family: 'Oswald', sans-serif;
    color: #010F3C !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.2;
}

/* ELAPSED BREAK TIME */
.gl-break-timer-label,
#break-chrono {
    font-family: 'Oswald', sans-serif;
    color: #010F3C !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.2;
}

/* Mantener los números alineados */
#break-chrono {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* TRAINING VIDEO PLAYER - WHITE CLOSE ICON */
#closeTrainingVideoPlayerBtn,
#closeTrainingVideoPlayerBtn:hover,
#closeTrainingVideoPlayerBtn:focus {
    background: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: none !important;
}

#closeTrainingVideoPlayerBtn {
    margin-right: 6px;
    margin-top: 4px;
}

/* EARLY CHECK OUT — Typography adjustments */

#glCheckOutAllowed .gl-staffing-label {
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

#glCheckOutAllowedTime {
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Countdown below CHECK OUT button */
#action-container .early-checkin-message {
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

/* ==========================================
   RECORD SENDING STATUS MODAL — BETA 4.0
   ========================================== */

#recordSendingStatusModal {
    z-index: 20000;
}

#recordSendingStatusModal .modal-dialog {
    max-width: 420px;
    margin: 1rem auto;
}

#recordSendingStatusModal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(1, 15, 60, 0.25);
}

#recordSendingStatusModal .modal-header {
    background: #010F3C;
    border: none;
    padding: 22px 16px;
}

#recordSendingStatusModal .modal-title {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#recordSendingStatusModal .modal-body {
    padding: 34px 20px 24px;
}

#recordSendingStatusIcon {
    font-size: 64px;
    line-height: 1;
}

#recordSendingStatusIcon .bi-check-circle-fill {
    color: #198754;
}

#recordSendingStatusIcon .bi-x-circle-fill {
    color: #DC3545;
}

#recordSendingStatusMessage {
    font-family: 'Oswald', sans-serif;
    font-size: 27px;
    font-weight: 700;
    color: #010F3C;
}

#recordSendingStatusModal .modal-footer {
    border: none;
    padding: 0 20px 28px;
}

#recordSendingStatusOkBtn {
    background: #010F3C;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    font-weight: 700;
    min-width: 150px;
    min-height: 48px;
    border-radius: 9px;
}

#recordSendingStatusOkBtn:hover,
#recordSendingStatusOkBtn:focus {
    background: #FF4F2A;
    color: #FFFFFF;
}

#recordSendingStatusOkBtn:focus-visible {
    outline: 3px solid #FF4F2A;
    outline-offset: 3px;
}

/* RECORD SENDING STATUS — BACKDROP PRIORITY */
body:has(#recordSendingStatusModal.show) .modal-backdrop {
    z-index: 19999 !important;
}

/* ERROR ICON — GO LOCAL BRAND ORANGE */
#recordSendingStatusModal #recordSendingStatusIcon .bi-x-circle-fill {
    color: #FF4F2A !important;
}


/* ERROR ICON — GO LOCAL BRAND ORANGE */
#recordSendingStatusModal #recordSendingStatusIcon .bi-x-circle-fill {
    color: #FF4F2A !important;
}

/* OK BUTTON — ALWAYS INK NAVY */
#recordSendingStatusModal #recordSendingStatusOkBtn,
#recordSendingStatusModal #recordSendingStatusOkBtn:hover,
#recordSendingStatusModal #recordSendingStatusOkBtn:focus,
#recordSendingStatusModal #recordSendingStatusOkBtn:active {
    background-color: #010F3C !important;
    border-color: #010F3C !important;
    color: #FFFFFF !important;
}

/* RECORD SENDING STATUS — COMPACT WIDTH */
#recordSendingStatusModal .modal-dialog {
    max-width: 360px !important;
    width: calc(100% - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ==========================================
   GO LOCAL 4.0 — NO BREAK MODAL
   ========================================== */

#noBreakModal .modal-dialog {
    max-width: 440px;
    margin: 16px auto;
    padding: 0 12px;
}

#noBreakModal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    font-family: 'Oswald', Arial, sans-serif;
}



#noBreakModal .modal-header {
    justify-content: center;
    position: relative;
    padding: 16px 44px;
    background-color: #010F3C;
    border-bottom: none;
}

#noBreakModal .modal-title {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.25;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}


/* GO LOCAL — NO BREAK MODAL CIRCULAR CLOSE */

#noBreakModal .modal-header .btn-close {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background-color: transparent;
    background-image: var(--bs-btn-close-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    filter: brightness(0) invert(1);
    opacity: 1;
    box-shadow: none;
}

#noBreakModal .modal-header .btn-close:hover {
    opacity: 0.85;
}

#noBreakModal .modal-header .btn-close:focus {
    box-shadow: none;
}



#noBreakModal .modal-body {
    padding: 18px 22px;
    max-height: 65dvh;
    overflow-y: auto;
}

#noBreakModal .modal-body>p {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: 19px;
    line-height: 1.4;
    color: #010F3C;
    text-align: left;
}

#noBreakModal #noBreakOptions {
    gap: 10px !important;
}

#noBreakModal .form-check {
    padding: 5px 0;
}

#noBreakModal .form-check-label {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.35;
    color: #010F3C;
}

/* Custom radio buttons */
#noBreakModal .form-check-label::before {
    border: 2px solid #FF4F2A;
}

#noBreakModal .form-check-label::after {
    background: #FF4F2A;
}

#noBreakModal .form-check-input:checked+.form-check-label::before {
    border-color: #FF4F2A;
}

#noBreakModal .form-check:hover .form-check-label {
    color: #010F3C;
}

#noBreakModal .no-break-disclaimer {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.4;
    color: #595959;
    text-align: center;
    margin-top: 16px;
}

#noBreakModal #noBreakError {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    color: #FF4F2A !important;
}

#noBreakModal .modal-footer {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    padding: 16px;
}

#noBreakModal .modal-footer .btn {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    border-radius: 10px;
    min-height: 44px;
}


/* GO LOCAL — CANCEL BUTTON PINK */

#noBreakModal .modal-footer .btn-outline-secondary,
#noBreakModal .modal-footer .btn-outline-secondary:hover,
#noBreakModal .modal-footer .btn-outline-secondary:focus,
#noBreakModal .modal-footer .btn-outline-secondary:active {
    background-color: #FF1B59 !important;
    border-color: #FF1B59 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}


#noBreakModal #btnNoBreakContinue {
    color: #FFFFFF;
    background: #010F3C;
    border: 1px solid #010F3C;
}

@media (max-width: 380px) {
    #noBreakModal .modal-title {
        font-size: 20px;
    }

    #noBreakModal .form-check-label {
        font-size: 16px;
    }

    #noBreakModal .modal-footer .btn {
        font-size: 15px;
        padding: 9px 10px;
    }
}


/* ==========================================
   GO LOCAL 4.0 — BREAK RADIO FINAL FIX
   ========================================== */

#noBreakModal .form-check {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 6px 0;
    cursor: pointer;
}

#noBreakModal .form-check-label {
    display: block;
    position: relative;
    padding-left: 32px;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    color: #010F3C;
    text-align: left;
}

#noBreakModal .form-check-label::before {
    border: 2px solid #FF4F2A;
    background: #FFFFFF;
}

#noBreakModal .form-check-label::after {
    background: #FF4F2A;
}

#noBreakModal .form-check-input:checked+.form-check-label::before {
    border-color: #FF4F2A;
}

#noBreakModal .form-check-input:checked+.form-check-label::after {
    transform: scale(1);
}

#noBreakModal .form-check:hover .form-check-label {
    color: #010F3C;
}

/* Accesibilidad con teclado */
#noBreakModal .form-check-input:focus-visible+.form-check-label::before {
    outline: 2px solid #010F3C;
    outline-offset: 3px;
}


/* GO LOCAL — NO BREAK MODAL CLOSE */

#noBreakModal .gl-no-break-close {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    padding: 0;

    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
}

#noBreakModal .gl-no-break-close i {
    font-size: 25px;
    line-height: 1;
}

#noBreakModal .gl-no-break-close:hover {
    color: #FF4F2A;
}

#noBreakModal .gl-no-break-close:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
    border-radius: 50%;
}


/* ==========================================
   GO LOCAL 4.0 — START BREAK / END BREAK
   ========================================== */

#action-container .btn-break,
#action-container .btn-break:hover,
#action-container .btn-break:focus,
#action-container .btn-break:active {
    background-color: #E7E7E7 !important;
    border-color: #E7E7E7 !important;
    color: #010F3C !important;
}

#action-container .btn-break i {
    color: #010F3C !important;
}


/* ==========================================
   GO LOCAL 4.0 - NOTIFICATION COLORS
   ========================================== */

/* Cancelled / Danger / Warning */
#responseMessage .alert-danger,
#responseMessage .alert-warning {
    background-color: #FFFFFF !important;
    color: #FF4F2A !important;
    border: 2px solid #FF4F2A !important;
}

/* Success / Info */
#responseMessage .alert-success,
#responseMessage .alert-info {
    background-color: #FFFFFF !important;
    color: #010F3C !important;
    border: 2px solid #010F3C !important;
}

/* Icons and nested text */
#responseMessage .alert-danger *,
#responseMessage .alert-warning * {
    color: #FF4F2A !important;
}

#responseMessage .alert-success *,
#responseMessage .alert-info * {
    color: #010F3C !important;
}

/* GO LOCAL 4.0 — LOGIN NOTIFICATION SPACING */
#code-container #responseMessage {
    margin-top: 12px !important;
}

/* ==========================================
   GO LOCAL 4.0 — SHIFT FLAGS SAVE STATUS
   ========================================== */
#lsSignalsModal #lsSignalsStatus {
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 20px;
    border-radius: 0;
    background: #FFFFFF;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    max-height: 30dvh;
    overflow-y: auto;
}

#lsSignalsStatus[style*="display: none"] {
    display: none !important;
}

/* Guardado exitoso */
#lsSignalsStatus.is-success {
    color: #010F3C;
    border: 2px solid #010F3C;
}

/* Error o cancelación */
#lsSignalsStatus.is-error {
    color: #FF4F2A;
    border: 2px solid #FF4F2A;
}

#lsSignalsStatus i {
    margin-right: 6px;
    font-size: 19px;
    vertical-align: middle;
}

/* LIVE COMPACT VIEW - TEXT LEGIBILITY */

#liveCompactView .lc-info .lc-event.ls-shift-link {
    color: #010F3C !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

#liveCompactView .lc-info .lc-meta,
#liveCompactView .lc-info .lc-date {
    color: #34415C !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* LOGIN — SLOGAN UNIFICADO */
body:has(#code-container:not([style*="display: none"])) .gl-login-slogan span {
    display: block;
    color: #FF4F2A !important;
    font-family: var(--gl-font);
    font-weight: 700 !important;
    text-align: left;
}

/* ==========================================
   LOGIN — ANIMACIÓN HORIZONTAL SECUENCIAL
   ON/OFF mediante la clase gl-animate
   ========================================== */

@keyframes glEnterFromLeft {
    from {
        opacity: 0;
        transform: translateX(-120vw);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glEnterFromRight {
    from {
        opacity: 0;
        transform: translateX(120vw);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* WE — Izquierda */
.gl-login-slogan.gl-animate span:nth-child(1) {
    animation: glEnterFromLeft 0.4s ease-out 0s both;
}

/* MAKE IT — Derecha */
.gl-login-slogan.gl-animate span:nth-child(2) {
    animation: glEnterFromRight 0.4s ease-out 0.2s both;
}

/* HAPPEN — Izquierda */
.gl-login-slogan.gl-animate span:nth-child(3) {
    animation: glEnterFromLeft 0.4s ease-out 0.6s both;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .gl-login-slogan.gl-animate span {
        animation: none;
        opacity: 1;
        transform: none;
    }
}


/* ==========================================
   REIMBURSEMENT REQUEST — WARNING MESSAGE
   GO LOCAL BRAND 4.01
   ========================================== */

#reimb-request-view .alert-warning,
#reimbursement-request-view .alert-warning {
    background-color: #FFFFFF !important;
    color: #FF4F2A !important;
    border: 1px solid #FF4F2A !important;
    border-radius: 12px !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important;
    box-shadow: none !important;
}

/* ==========================================
   GO LOCAL — REIMBURSEMENT STATUS BANNERS
   ========================================== */

#reimbFileStatusBanner,
#reimbSubmitStatusBanner {
    background: #FFFFFF !important;
    color: #FF4F2A !important;
    border: 1px solid #FF4F2A !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

/* Mantener el estilo aunque JS cambie
   las clases de estado de Bootstrap */

#reimbFileStatusBanner.alert-warning,
#reimbFileStatusBanner.alert-danger,
#reimbSubmitStatusBanner.alert-warning,
#reimbSubmitStatusBanner.alert-danger {
    background: #FFFFFF !important;
    color: #FF4F2A !important;
    border-color: #FF4F2A !important;
}

/* GO LOCAL — REIMBURSEMENT BANNER TYPOGRAPHY */

#reimbFileStatusBanner,
#reimbSubmitStatusBanner {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important;
    font-size: 15px !important;
    letter-spacing: 0.2px !important;
}

/* GO LOCAL — REIMBURSEMENT SUCCESS */

#reimbSubmitStatusBanner.alert-success {
    background-color: #FFFFFF !important;
    color: #010F3C !important;
    border: 1px solid #010F3C !important;
    border-radius: 15px !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important;
    font-size: 15px !important;
    letter-spacing: 0.2px !important;
    box-shadow: none !important;
}

/* ==========================================
   GO LOCAL 4.01 — REIMBURSEMENT BANNERS
   TYPOGRAPHY
   ========================================== */

#reimbFileStatusBanner,
#reimbFileStatusBanner *,
#reimbSubmitStatusBanner,
#reimbSubmitStatusBanner * {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important;
    font-size: 15px !important;
    font-style: normal !important;
    letter-spacing: 0.2px !important;
}

/* GO LOCAL — REIMBURSEMENT SUCCESS MESSAGES */

#reimbFileStatusBanner.alert-success,
#reimbSubmitStatusBanner.alert-success {
    background-color: #FFFFFF !important;
    color: #010F3C !important;
    border: 1px solid #010F3C !important;
    border-radius: 15px !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important;
    box-shadow: none !important;
}

/* GO LOCAL - MAIN SCREEN SPACING */

#selected-shift-info,
#action-container {
    width: calc(100% - 32px);
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* GO LOCAL - CHECK IN / OUT WAIT MESSAGE */
#action-container .early-checkin-message {
    min-height: 76px;
    padding: 18px 16px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Oswald', Arial, sans-serif !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    text-align: center;
    border-radius: 14px;
    box-sizing: border-box;
}

/* GO LOCAL - GPS PANEL WIDTH */
#geoProgressPanel {
    width: calc(100% - 32px) !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* GO LOCAL - SENDING MESSAGE WIDTH */
#responseMessage {
    width: calc(100% - 32px) !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* LOGIN — SAME WIDTH AND EDGES AS MESSAGE */
body:has(#code-container:not([style*="display: none"])) .gl-login-access-label,
body:has(#code-container:not([style*="display: none"])) #codeInput,
body:has(#code-container:not([style*="display: none"])) #loginBtn {
    width: calc(100% - 32px);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* LOGIN — ACCESS CODE LABEL ALIGNMENT */
body:has(#code-container:not([style*="display: none"])) .gl-login-access-label {
    padding-left: 0 !important;
    text-indent: 0 !important;
    transform: translateX(4px);
}

/* GO LOCAL - RECORD SENDING STATUS WIDTH */
#recordSendingStatusModal .modal-dialog {
    width: calc(100% - 64px) !important;
    max-width: 380px !important;
    margin: 1rem auto !important;
}

/* ==========================================
   GO LOCAL - RECORD SENDING STATUS REFINEMENT
   ========================================== */

/* Encabezado Navy más compacto */
#recordSendingStatusModal .modal-header {
    padding: 13px 16px !important;
    min-height: 0 !important;
}

/* Título ligeramente más equilibrado */
#recordSendingStatusModal .modal-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
}

/* Botón OK más ancho */
#recordSendingStatusOkBtn {
    width: 75% !important;
    max-width: 280px !important;
    min-height: 52px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* GO LOCAL 4.0 - REPORT PRODUCTS & COMPETITORS */

.rc-promoted>.d-flex,
.rc-competitors>.d-flex {
    gap: 12px;
    padding: 12px 16px;
    flex-wrap: nowrap;
}

.rc-promoted>.d-flex>.fw-bold,
.rc-competitors>.d-flex>.fw-bold {
    font-family: 'Oswald', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #010F3C !important;
    line-height: 1.25;
    min-width: 0;
    flex: 1;
    overflow-wrap: break-word;
}

#rcAddPromotedRow,
#rcAddCompetitorRow {
    font-family: 'Oswald', sans-serif !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #FFFFFF !important;
    background-color: #010F3C !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    flex-shrink: 0;
}


/* GO LOCAL 4.0 — PRODUCT AUTOCOMPLETE */

.rc-promoted .rc-product-suggestions {
    display: none;
    position: relative;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 5px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.rc-promoted .rc-product-suggestion-item {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color: #010F3C;
    padding: 11px 12px;
    border-bottom: 1px solid #E7E7E7;
    overflow-wrap: anywhere;
    cursor: pointer;
    background: #FFFFFF;
}

.rc-promoted .rc-product-suggestion-item:last-child {
    border-bottom: none;
}

.rc-promoted .rc-product-suggestion-item:active {
    background: #E7E7E7;
}

/* GO LOCAL 4.0 — REUSABLE AUTOCOMPLETE ALIGNMENT */

.rc-product-suggestions,
.rc-product-suggestion-item {
    text-align: left;
}

/* MOST REQUESTED PRODUCTS — FIX TRASH POSITION */
#rcPromotedTable td:has(.rcRowDel) {
    vertical-align: top !important;
}


/* GO LOCAL 4.0 — COMPETITOR BRANDS AUTOCOMPLETE */

#rcCompetitorsTable .rc-brand-suggestions {
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 6px;
    margin-top: 4px;
    text-align: left;
}

#rcCompetitorsTable .rc-brand-suggestion-item {
    padding: 10px 12px;
    font-size: 14px;
    color: #010F3C;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #E7E7E7;
}

#rcCompetitorsTable .rc-brand-suggestion-item:last-child {
    border-bottom: none;
}

#rcCompetitorsTable .rc-brand-suggestion-item:hover,
#rcCompetitorsTable .rc-brand-suggestion-item:active {
    background: #E7E7E7;
}

/* Mantener los tarritos alineados arriba */
#rcCompetitorsTable td:has(.rcDelCompetitorRow) {
    vertical-align: top !important;
}

/* GO LOCAL 4.0 — MANUAL HOURS START TIME SELECTOR */

.manual-hours-start-wrapper {
    position: relative;
    width: 100%;
}

.manual-hours-start-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 7px;
    color: #010F3C;
    font-family: 'Oswald', sans-serif;
    text-align: left;
    cursor: pointer;
}

.manual-hours-start-trigger:focus {
    outline: none;
    border-color: #FF4F2A;
}

.manual-hours-start-trigger i {
    font-size: 13px;
    color: #010F3C;
}

.manual-hours-start-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 210px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 7px;
    box-shadow: 0 5px 15px rgba(1, 15, 60, 0.12);
}

.manual-hours-start-option {
    padding: 10px 12px;
    color: #010F3C;
    font-family: 'Oswald', sans-serif;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #E7E7E7;
}

.manual-hours-start-option:last-child {
    border-bottom: none;
}

.manual-hours-start-option:hover,
.manual-hours-start-option:active {
    background: #E7E7E7;
}


/* =========================================
   GO LOCAL 4.0 — ADD NEW BRAND MODAL
   ========================================= */

#glpBrandConfirmModal .modal-dialog {
    max-width: 380px;
    margin: 16px auto;
    padding: 0 12px;
}

#glpBrandConfirmModal .modal-content {
    border: none;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(1, 15, 60, 0.22);
}

#glpBrandConfirmModal .modal-header {
    background: #010F3C !important;
    padding: 18px 22px;
    border-bottom: 3px solid #FF4F2A !important;
}

#glpBrandConfirmModal .modal-title {
    font-family: "Oswald", sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #FFFFFF;
}

#glpBrandConfirmModal .modal-body {
    padding: 26px 22px !important;
}

#glpBrandConfirmText {
    font-family: "Oswald", sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    color: #010F3C;
    overflow-wrap: anywhere;
}

#glpBrandConfirmModal .modal-footer {
    padding: 0 20px 24px;
    gap: 10px;
}

#glpBrandConfirmModal .modal-footer .btn {
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 7px;
    padding: 11px 20px;
    min-width: 120px;
}

#glpBrandConfirmCancel {
    background: #FF1B59 !important;
    color: #FFFFFF !important;
}

#glpBrandConfirmYes {
    background: #010F3C !important;
    color: #FFFFFF !important;
}

#glpBrandConfirmModal .modal-footer .btn:active {
    transform: scale(0.98);
}

/* REPORT — Espacio lateral del contenido */

#report-capture-view #rcForm {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
}

/* ==========================================
   GO LOCAL 4.01 — REIMBURSEMENT CUSTOM SELECT
   ========================================== */

#reimb-view .glp-reimb-native-hidden {
    display: none !important;
}

#reimb-view .glp-reimb-select {
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#reimb-view .glp-reimb-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 14px;

    background: #FFFFFF;
    color: #010F3C;
    border: 1px solid #D8E0EF;
    border-radius: 12px;

    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

#reimb-view .glp-reimb-select-trigger>span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#reimb-view .glp-reimb-select-trigger>span:last-child {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
}

#reimb-view .glp-reimb-select-trigger:focus-visible {
    outline: 2px solid #FF4F2A;
    outline-offset: 2px;
}

#reimb-view .glp-reimb-select-trigger:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

#reimb-view .glp-reimb-select-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 100;

    max-height: min(300px, 45dvh);
    overflow-y: auto;
    overflow-x: hidden;

    background: #FFFFFF;
    border: 1px solid #D8E0EF;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(1, 15, 60, 0.16);

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#reimb-view .glp-reimb-select-menu[hidden] {
    display: none !important;
}

#reimb-view .glp-reimb-select-option {
    display: block;
    width: 100%;
    padding: 12px 14px;

    background: #FFFFFF;
    color: #010F3C;
    border: none;
    border-bottom: 1px solid #EDF0F5;

    font: inherit;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

#reimb-view .glp-reimb-select-option:last-child {
    border-bottom: none;
}

#reimb-view .glp-reimb-select-option.selected {
    background: #EAF0FA;
    font-weight: 600;
}

#reimb-view .glp-reimb-select-option:disabled {
    opacity: 0.45;
}

/* GO LOCAL 4.01 — OSWALD CUSTOM SELECT */

#reimb-view .glp-reimb-select-trigger,
#reimb-view .glp-reimb-select-option {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    letter-spacing: 0.2px;
}

#reimb-view .glp-reimb-select-option.selected {
    font-weight: 600 !important;
}

/* REIMBURSEMENT — DATE Y AMOUNT EN FILAS SEPARADAS */

#reimb-view .reimb-receipt-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
}

#reimb-view .reimb-receipt-grid>div {
    width: 100% !important;
    min-width: 0 !important;
}

#reimb-view .reimb-receipt-grid .rc-input {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    min-height: 52px !important;
}

/* REIMBURSEMENT — DATE iOS FIX */

#reimb-view .reimb-receipt-grid .reimb-row-date {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    text-align: left !important;
    padding-left: 14px !important;
    padding-right: 14px !important;

    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
}

#reimb-view .reimb-row-date::-webkit-date-and-time-value {
    text-align: left !important;
    min-width: 0 !important;
}

#reimb-view .reimb-row-date::-webkit-datetime-edit {
    display: block;
    text-align: left !important;
    padding: 0 !important;
}

/* REIMBURSEMENT — iOS DATE WIDTH FIX */

#reimb-view .reimb-receipt-grid>div {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

#reimb-view input.reimb-row-date {
    -webkit-appearance: none !important;
    appearance: none !important;

    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    box-sizing: border-box !important;
}

/* REIMBURSEMENT — EXPENSE TYPE DROPDOWN */

#reimb-view .reimb-receipt-field .glp-reimb-select-menu {
    max-height: 180px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#reimb-view .reimb-receipt-field .glp-reimb-select-option {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* REIMBURSEMENT — TOTAL REQUEST LEFT ALIGN */

#reimb-view .reimb-total-label {
    text-align: left !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
}

/* REIMBURSEMENT — READING RECEIPT SPINNER */

#reimbFileStatusBanner:has(.spinner-border) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px;
}

#reimbFileStatusBanner .spinner-border {
    display: inline-block !important;
    flex: 0 0 auto;
    margin: 0 !important;
    vertical-align: middle;
}

/* ==========================================
   GO LOCAL — UNIFIED EMPTY STATE
   ========================================== */

.gl-empty-state {
    background: #FFFFFF;
    border-radius: 18px;
    min-height: 205px;
    padding: 30px 18px;
    margin: 20px;
    text-align: center;
}

.gl-empty-icon {
    color: #595959;
    font-size: 36px;
    line-height: 1;
    margin-bottom: 12px;
}

.gl-empty-text {
    color: #010F3C;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
}



/* ============================================
   TECHNICAL ISSUES — BETA 5000
   GO LOCAL PROMOTIONS
   ============================================ */

#techIssueAuthModal,
#techIssueReportModal {
    --ti-navy: #010F3C;
    --ti-orange: #FF4F2A;
    --ti-pink: #FF1B59;
    --ti-gray: #E7E7E7;
    --ti-text: #595959;
}

/* MODAL CONTAINER */

#techIssueAuthModal .modal-dialog,
#techIssueReportModal .modal-dialog {
    width: calc(100% - 24px);
    max-width: 520px;
    margin: 12px auto;
}

#techIssueAuthModal .modal-content,
#techIssueReportModal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--ti-gray);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .25);
}

/* HEADER */

#techIssueAuthModal .modal-header,
#techIssueReportModal .modal-header {
    background: var(--ti-navy);
    border: 0;
    padding: 24px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#techIssueAuthModal .modal-title,
#techIssueReportModal .modal-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    color: #FFFFFF;
}

#techIssueAuthModal .modal-title i,
#techIssueReportModal .modal-title i {
    color: var(--ti-orange);
    margin-right: 8px;
}

#techIssueAuthModal .btn-close,
#techIssueReportModal .btn-close {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    opacity: 1;
    filter: invert(1);
    box-shadow: none;
}

/* BODY */

#techIssueAuthModal .modal-body,
#techIssueReportModal .modal-body {
    padding: 24px 22px;
    background: var(--ti-gray);
    color: var(--ti-text);
}

#techIssueAuthModal .form-label,
#techIssueReportModal .form-label {
    display: block;
    margin-bottom: 9px;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--ti-navy);
}

#techIssueAuthModal .form-control,
#techIssueReportModal .form-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #C8CBD2;
    border-radius: 9px;
    background-color: #FFFFFF;
    color: var(--ti-navy);
    font-size: 15px;
    padding: 10px 13px;
}

#techIssueAuthModal .form-control:focus,
#techIssueReportModal .form-select:focus {
    border-color: var(--ti-orange);
    box-shadow: 0 0 0 3px rgba(255, 79, 42, .12);
    outline: none;
}

/* TECHNICAL ISSUE OPTIONS */

#techIssueReportModal #techIssueOptionsContainer {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: 48dvh;
    overflow-y: auto;
    padding: 2px;
}

#techIssueReportModal #techIssueOptionsContainer .form-check {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 13px 14px 13px 38px;
    border: 1px solid #D5D7DC;
    border-radius: 10px;
    background: #FFFFFF;
}

#techIssueReportModal #techIssueOptionsContainer .form-check-input {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: 0;
    cursor: pointer;
    border-color: #A9AFBB;
}

#techIssueReportModal #techIssueOptionsContainer .form-check-input:checked {
    background-color: var(--ti-orange);
    border-color: var(--ti-orange);
}

#techIssueReportModal #techIssueOptionsContainer .form-check-label {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ti-navy);
    cursor: pointer;
}

/* STATUS MESSAGES */

#techIssueAuthStatus,
#techIssueReportStatus {
    font-size: 13px;
    line-height: 1.5;
}

/* FOOTER */

#techIssueAuthModal .modal-footer,
#techIssueReportModal .modal-footer {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 16px 22px 22px;
    background: var(--ti-gray);
    border: 0;
}

#techIssueAuthModal .modal-footer .btn,
#techIssueReportModal .modal-footer .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    border: 0;
    border-radius: 9px;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    box-shadow: none;
}

#techIssueAuthModal .modal-footer .btn-secondary,
#techIssueReportModal .modal-footer .btn-secondary {
    background: var(--ti-pink);
}

#techIssueAuthModal .modal-footer .btn-primary,
#techIssueReportModal .modal-footer .btn-primary {
    background: var(--ti-navy);
}

#techIssueAuthModal .modal-footer .btn:disabled,
#techIssueReportModal .modal-footer .btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* MOBILE */

@media (max-width: 575.98px) {

    #techIssueAuthModal .modal-dialog,
    #techIssueReportModal .modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    #techIssueAuthModal .modal-header,
    #techIssueReportModal .modal-header {
        padding: 20px 18px;
    }

    #techIssueAuthModal .modal-body,
    #techIssueReportModal .modal-body {
        padding: 20px 18px;
    }

    #techIssueAuthModal .modal-footer,
    #techIssueReportModal .modal-footer {
        padding: 12px 18px 20px;
    }

    #techIssueAuthModal .modal-title,
    #techIssueReportModal .modal-title {
        font-size: 19px;
    }
}


/* ============================================
   TECHNICAL ISSUES — OSWALD EN TODO EL MODAL
   ============================================ */

#techIssueAuthModal .modal-content,
#techIssueAuthModal .modal-content *,
#techIssueReportModal .modal-content,
#techIssueReportModal .modal-content * {
    font-family: 'Oswald', sans-serif;
}

/* Inputs, selectores y opciones */
#techIssueAuthModal input,
#techIssueReportModal input,
#techIssueReportModal select,
#techIssueReportModal option,
#techIssueReportModal label,
#techIssueReportModal #techIssueOptionsContainer,
#techIssueReportModal #techIssueOptionsContainer span {
    font-family: 'Oswald', sans-serif !important;
}

/* Botones y mensajes */
#techIssueAuthModal button,
#techIssueReportModal button,
#techIssueAuthStatus,
#techIssueReportStatus {
    font-family: 'Oswald', sans-serif !important;
}

/* ============================================
   TECHNICAL ISSUES — REPORTED BY
   Reutiliza el diseño de Staffing Reports
   ============================================ */
#techIssueReportModal .tech-issue-reported-by {
    position: relative;
    width: 100%;
}

#techIssueReportModal #techIssueReportedBy {
    width: 100%;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
}

#techIssueReportModal #techIssueReportedBySuggestions {
    display: none;
    position: static;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 8px;
    margin-bottom: 18px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}
#techIssueReportModal .rc-product-suggestion-item {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color: #010F3C;
    padding: 11px 12px;
    border-bottom: 1px solid #E7E7E7;
    overflow-wrap: anywhere;
    cursor: pointer;
    background: #FFFFFF;
    text-align: left;
}

#techIssueReportModal .rc-product-suggestion-item:last-child {
    border-bottom: none;
}

#techIssueReportModal .rc-product-suggestion-item:active {
    background: #E7E7E7;
}

/* BETA 5000 — User avatar account panel (Step 3) */
#userAvatar[role="button"] {
    cursor: pointer;
}

#userAvatar:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

#userAvatarPanel {
    position: fixed;
    top: 66px;
    right: 12px;
    width: min(290px, calc(100vw - 24px));
    padding: 18px;
    border-radius: 12px;
    background: #ffffff;
    color: #010F3C;
    text-align: left;
    font-family: var(--gl-font);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
    z-index: 1050;
}

#userAvatarPanel[hidden] {
    display: none;
}

@media (min-width: 992px) {
    #userAvatarPanel {
        right: calc((100vw - var(--content-max)) / 2 + 12px);
    }
}

#avatarPromoterName {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

#avatarPromoterCode {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 300;
}

.avatar-login-info {
    margin: 14px 0;
    padding: 12px 0;
    border-top: 1px solid #d9deea;
    border-bottom: 1px solid #d9deea;
}

.avatar-info-label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px;
}

#avatarPreviousLogin,
#avatarPreviousIP {
    font-size: 14px;
    font-weight: 300;
    overflow-wrap: anywhere;
}

#avatarPreviousLogin {
    margin-bottom: 12px;
}

#avatarSignOut {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: #010F3C;
    color: #ffffff;
    font-family: var(--gl-font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

#avatarSignOut i {
    margin-right: 6px;
}

#avatarSignOut:hover,
#avatarSignOut:focus-visible {
    background: #172c60;
}
