:root {
    --sgl-font-family: Tahoma, Arial, sans-serif;
    --font-family-base: var(--sgl-font-family);
    --sgl-font-family-banner: var(--sgl-font-family);
    --sgl-color-primary: #003A70;
    --color-principal: var(--sgl-color-primary);
    --sgl-color-on-primary: #FFFFFF;
    --sgl-color-text: #003A70;
    --sgl-color-text-secondary: #737373;
    --sgl-color-menu-text: #314064;
    --sgl-color-surface: #FFFFFF;
    --sgl-color-surface-alt: #F3F3F3;
    --sgl-color-border: #E5E5E5;
    --sgl-color-input-border: #B8B8B8;
    --sgl-font-size-base: 16px;
    --sgl-font-size-banner: 64px;
    --sgl-font-size-footer: 16px;
    --sgl-font-size-return: 16px;
    --sgl-font-weight-banner: 800;
    --sgl-font-weight-return: 600;
}

@font-face {
    font-family: "SGLPoppins";
    src: url("Fonts/CUSTOM1-Poppins-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "SGLPoppins";
    src: url("Fonts/CUSTOM1-Poppins-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "SGLMyriadPro";
    src: url("Fonts/CUSTOM1-MyriadPro-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "SGLAvenir";
    src: url("Fonts/CUSTOM1-Avenir.ttc") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.custom1-top-header-mount,
.custom1-banner-mount,
.custom1-footer-mount,
.custom1-return-mount {
    display: none;
}
html.sgl-theme-custom1 .custom1-top-header-mount,
html.sgl-theme-custom1 .custom1-banner-mount,
html.sgl-theme-custom1 .custom1-footer-mount,
html.sgl-theme-custom1 .custom1-return-mount {
    display: block;
}

html.sgl-theme-font-custom body,
html.sgl-theme-font-custom body * {
    font-family: var(--font-family-base) !important;
}
html.sgl-theme-font-custom .icon,
html.sgl-theme-font-custom .icomoon,
html.sgl-theme-font-custom [class^="icon-"],
html.sgl-theme-font-custom [class*=" icon-"] {
    font-family: "icomoon" !important;
}
html.sgl-theme-font-custom .glyphicon,
html.sgl-theme-font-custom [class^="glyphicon-"],
html.sgl-theme-font-custom [class*=" glyphicon-"] {
    font-family: "Glyphicons Halflings" !important;
}
html.sgl-theme-font-custom .dx-icon,
html.sgl-theme-font-custom [class*="dx-icon"] {
    font-family: "DXIcons" !important;
}

html.sgl-theme-custom1 .titulo-principal,
html.sgl-theme-custom1 #cabecera .panel,
html.sgl-theme-custom1 #cabecera .tablaBarraSuperior,
html.sgl-theme-custom1 #cabecera .tablaBarraSuperior > tbody > tr,
html.sgl-theme-custom1 #cabecera .tablaBarraSuperior > tbody > tr > td,
html.sgl-theme-custom1 #cabecera .tablaBarraSuperior .celdaSuperiorBarraSuperior,
html.sgl-theme-custom1 .footerBox,
html.sgl-theme-custom1 .cabecera-Mobile {
    background-color: var(--sgl-color-primary) !important;
    background-image: none !important;
}

.custom1-top-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 48px;
    height: 48px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    background-color: var(--sgl-color-primary);
}
.custom1-top-header-logo {
    display: block;
    width: auto;
    height: 34px;
    max-width: 150px;
    object-fit: contain;
}
.custom1-header {
    width: 100%;
    margin: 0;
    padding: 0;
}
.custom1-header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px;
    height: clamp(180px, 16.354vw, 314px);
    max-height: 314px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 4% 0 clamp(250px, 25vw, 430px);
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.custom1-header-title {
    position: relative;
    z-index: 2;
    width: min(850px, 100%);
    margin: 0;
    color: var(--sgl-color-on-primary);
    font-family: var(--sgl-font-family-banner) !important;
    font-size: var(--sgl-font-size-banner);
    font-weight: var(--sgl-font-weight-banner) !important;
    line-height: 1;
}

.custom1-footer-template {
    width: 100%;
}
.custom1-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    padding: 48px 1.5rem;
    color: var(--sgl-color-on-primary);
    background-color: var(--sgl-color-primary);
    font-family: var(--sgl-font-family) !important;
    font-size: var(--sgl-font-size-footer);
    text-align: center;
}
.custom1-footer-logo-cliente {
    display: none !important;
}
.custom1-footer-logo-sgl {
    display: block;
    width: auto;
    height: 28px;
    max-width: min(70vw, 220px);
    object-fit: contain;
}
.custom1-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 1rem;
}
.custom1-footer-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: .75rem;
}
.custom1-footer-location-image {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.custom1-footer-text {
    margin: 0;
    color: var(--sgl-color-on-primary);
    font-family: var(--sgl-font-family) !important;
    font-size: var(--sgl-font-size-footer) !important;
    font-weight: 400 !important;
    line-height: 1.35;
    letter-spacing: .04em;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
}
.custom1-footer-label {
    display: inline;
}
.custom1-footer-contact-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .35rem;
    width: fit-content !important;
    max-width: 100%;
    text-align: left !important;
}
.custom1-footer-contact-line .custom1-footer-label {
    white-space: nowrap;
    text-align: left;
}
.custom1-footer-contact-line .custom1-footer-value {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
}
.custom1-footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.75rem, 4vw, 2rem);
}
.custom1-footer-socials a,
.custom1-footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}
.custom1-footer-social-icon {
    object-fit: contain;
}
.custom1-return-mount {
    margin: 2rem 0 0;
    padding-bottom: 5rem;
    text-align: center;
}
.custom1-return {
    display: inline-block;
    color: var(--sgl-color-primary);
    font-family: var(--sgl-font-family) !important;
    font-size: var(--sgl-font-size-return) !important;
    font-weight: var(--sgl-font-weight-return) !important;
    text-decoration: none;
}
.custom1-return:hover,
.custom1-return:focus {
    color: var(--sgl-color-primary);
    text-decoration: underline;
}

body.sgl-theme-custom1-login,
body.sgl-theme-custom1-tracking,
body.sgl-theme-custom1-tracking-result {
    min-height: 100vh;
    margin: 0;
    background: var(--sgl-color-surface);
}
body.sgl-theme-custom1-login #dcmenutop,
body.sgl-theme-custom1-login #dcmenu,
body.sgl-theme-custom1-login .Banner-Propio,
body.sgl-theme-custom1-login .Banner_Propio_Mobile,
body.sgl-theme-custom1-login .carousel,
body.sgl-theme-custom1-login .footerBox,
body.sgl-theme-custom1-tracking.sgl-theme-custom1-top-header-active #cabecera,
body.sgl-theme-custom1-tracking.sgl-theme-custom1-banner-active #cabecera,
body.sgl-theme-custom1-tracking.sgl-theme-custom1-banner-active .Banner-Propio,
body.sgl-theme-custom1-tracking.sgl-theme-custom1-banner-active .Banner_Propio_Mobile,
body.sgl-theme-custom1-tracking.sgl-theme-custom1-banner-active .carousel,
body.sgl-theme-custom1-tracking #SeccionSeguinos {
    display: none !important;
}
body.sgl-theme-custom1-login .container_general {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
}
body.sgl-theme-custom1-login .container_general .subtitulo,
body.sgl-theme-custom1-login .container_general .separador-subtitulo {
    display: none !important;
}
body.sgl-theme-custom1-login .Contenedor-Login {
    position: relative;
    width: min(92%, 440px) !important;
    margin: 2rem auto !important;
}
body.sgl-theme-custom1-login .table-login {
    width: 100% !important;
    box-sizing: border-box;
    padding: 1.75rem !important;
    background: var(--sgl-color-surface) !important;
    border: 1px solid var(--sgl-color-border) !important;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
body.sgl-theme-custom1-login .table-login .subTitle {
    display: none !important;
}
body.sgl-theme-custom1-login .table-login input[type="text"],
body.sgl-theme-custom1-login .table-login input[type="password"] {
    box-sizing: border-box;
    min-height: 2.35rem;
    border: 1px solid var(--sgl-color-input-border);
    border-radius: 3px;
    padding: .35rem .55rem;
}
body.sgl-theme-custom1-login .table-login input[type="submit"],
body.sgl-theme-custom1-login .table-login button {
    border: 0;
    border-radius: 3px;
    background: var(--sgl-color-primary) !important;
    color: var(--sgl-color-on-primary) !important;
    font-weight: 600;
    padding: .55rem 1.1rem;
}

body.sgl-theme-custom1-tracking table[style="width: 100%;"] {
    height: auto !important;
}
body.sgl-theme-custom1-tracking .custom1-banner-mount {
    margin: 0 auto 1.5rem;
    max-width: 1920px;
    overflow: hidden;
}
body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones {
    margin-top: 40px !important;
    margin-bottom: 24px !important;
}

body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones .btn.btn-primary,
body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones input[type="submit"] {
    background-color: var(--sgl-color-primary) !important;
    background-image: none !important;
    border-color: var(--sgl-color-primary) !important;
    color: var(--sgl-color-on-primary) !important;
}

body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones .btn.btn-primary:hover,
body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones .btn.btn-primary:focus,
body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones input[type="submit"]:hover,
body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones input[type="submit"]:focus {
    background-color: var(--sgl-color-primary) !important;
    border-color: var(--sgl-color-primary) !important;
    color: var(--sgl-color-on-primary) !important;
    filter: brightness(.92);
}
body.sgl-theme-custom1-tracking-result .titulo-principal {
    background-color: var(--sgl-color-primary) !important;
}
body.sgl-theme-custom1-tracking-result .segui-tu-pedido {
    background-color: var(--sgl-color-surface-alt) !important;
}

@media (max-width: 768px) {
    .custom1-top-header {
        justify-content: center;
        padding-right: 12px;
        padding-left: 12px;
    }
    .custom1-header-content {
        justify-content: flex-start;
        height: clamp(160px, 44vw, 220px);
        max-height: 220px;
        padding-right: 4%;
        padding-left: 40%;
    }
    .custom1-header-title {
        width: 100%;
        margin-left: 0;
        font-size: clamp(2rem, 8vw, 3.125rem);
    }
    body.sgl-theme-custom1-surface .custom1-footer {
        padding: 1.5rem 1rem;
        gap: .5rem;
    }
    body.sgl-theme-custom1-surface .custom1-footer-logo-sgl {
        height: 20px;
    }
    body.sgl-theme-custom1-surface .custom1-footer-address {
        gap: .25rem;
    }
    body.sgl-theme-custom1-surface .custom1-footer-location-image {
        width: 64px;
        height: 64px;
    }
    body.sgl-theme-custom1-surface .custom1-footer-socials {
        gap: .5rem;
    }
    body.sgl-theme-custom1-surface .custom1-footer-socials a,
    body.sgl-theme-custom1-surface .custom1-footer-social-icon {
        width: 36px;
        height: 36px;
    }
    body.sgl-theme-custom1-surface .custom1-return-mount {
        margin-top: 1rem;
        padding-bottom: 3rem;
    }

    body.sgl-theme-custom1-login .table-login table.auto-style4,
    body.sgl-theme-custom1-login .table-login table.auto-style4 > tbody,
    body.sgl-theme-custom1-login .table-login table.auto-style4 .login-actions {
        width: 100% !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4 .login-actions {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4 .login-actions > td {
        display: block !important;
        box-sizing: border-box;
        width: 100% !important;
        height: auto !important;
        padding: .35rem 0 !important;
        text-align: center !important;
    }
    body.sgl-theme-custom1-login .table-login .container-btnRecuperarContrasenia,
    body.sgl-theme-custom1-login .table-login .container-btnRecuperarContraseña {
        order: 1;
    }
    body.sgl-theme-custom1-login .table-login .container-cmdEntrar {
        order: 2;
    }
    body.sgl-theme-custom1-login #btnRecuperarContrasenia,
    body.sgl-theme-custom1-login #btnRecuperarContraseña {
        display: inline-block !important;
        margin: 0 auto;
    }
    body.sgl-theme-custom1-login #cmdEntrar {
        display: block;
        width: min(100%, 140px) !important;
        margin: 0 auto;
    }

    /* Seguimiento mobile: usar el ancho y alto libres sin tocar el desktop. */
    html.sgl-theme-custom1 body.sgl-theme-custom1-tracking,
    html.sgl-theme-custom1 body.sgl-theme-custom1-tracking form#form1 {
        width: 100vw !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
    body.sgl-theme-custom1-tracking form#form1 {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        overflow-x: hidden;
    }
    body.sgl-theme-custom1-tracking form#form1 > table[style="width: 100%;"] {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        flex: 1 0 auto;
    }
    body.sgl-theme-custom1-tracking .rowmin {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        margin: 0 !important;
        padding: 0 .75rem;
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones {
        display: table !important;
        table-layout: fixed;
        box-sizing: border-box;
        width: min(92%, 520px) !important;
        min-width: 0;
        max-width: none !important;
        margin: 1.5rem auto !important;
        padding: 2rem 1.25rem 2.25rem !important;
        border: 1px solid var(--sgl-color-border) !important;
        border-radius: 4px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones > tbody > tr > td {
        width: 100% !important;
        box-sizing: border-box;
        text-align: center !important;
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones table {
        width: 100% !important;
        table-layout: fixed;
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones .subtitle {
        display: block;
        margin-bottom: .9rem !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.2;
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones input,
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones select {
        display: block;
        box-sizing: border-box;
        width: 95% !important;
        max-width: none !important;
        height: 40px !important;
        min-height: 40px;
        margin: .75rem auto !important;
        padding: .35rem .55rem !important;
        font-size: 17px !important;
        line-height: 1.5;
        border: 1px solid var(--sgl-color-input-border) !important;
        border-radius: 10px !important;
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones .btn.btn-primary {
        display: block !important;
        box-sizing: border-box;
        width: min(100%, 180px) !important;
        min-height: 40px;
        height: auto !important;
        margin: 1rem auto 0 !important;
        padding: .5rem 1.1rem !important;
        border: 0 !important;
        border-radius: 5px !important;
        font-size: 15.4px !important;
        line-height: 30px;
        font-weight: 700 !important;
    }
    body.sgl-theme-custom1-tracking .custom1-return-mount {
        margin-top: 2rem !important;
        padding-bottom: 4rem !important;
    }
    body.sgl-theme-custom1-tracking .custom1-footer {
        padding: 2rem 1rem 2.5rem !important;
        gap: .75rem !important;
    }
    body.sgl-theme-custom1-tracking .custom1-footer-contact {
        gap: .75rem !important;
    }
    body.sgl-theme-custom1-tracking .custom1-footer-address {
        gap: .5rem !important;
    }
}
html.sgl-theme-custom1 .menu .item > a,
html.sgl-theme-custom1 .menuNavegacion .item > a {
    color: var(--sgl-color-menu-text) !important;
}
@media (max-width: 768px) {
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones > tbody > tr > td > table > tbody > tr + tr > td {
        padding-top: .35rem !important;
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones .btn.btn-primary {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}
@media (max-width: 768px) {
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones > tbody > tr > td {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}
@media (max-width: 768px) {
    body.sgl-theme-custom1-tracking .custom1-banner-mount {
        width: 100% !important;
        margin: 0 !important;
    }
    body.sgl-theme-custom1-tracking .custom1-header-content {
        height: clamp(180px, 44vw, 220px);
        min-height: 180px;
        max-height: 220px;
        padding: 0 8% 0 13%;
        justify-content: flex-start;
        background-position: 72% center;
        background-size: cover;
    }
    body.sgl-theme-custom1-tracking .custom1-header-title {
        width: min(180px, 62%);
        max-width: 180px;
        margin: 0 !important;
        text-align: left;
        font-family: var(--sgl-font-family-banner) !important;
        font-size: clamp(2rem, 8vw, 3.125rem) !important;
        font-weight: 800 !important;
        line-height: 1.05;
    }
}
@media (max-width: 768px) {
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions {
        display: table !important;
        table-layout: fixed !important;
        width: 100% !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row {
        display: table-row !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > td {
        display: table-cell !important;
        box-sizing: border-box;
        height: auto !important;
        vertical-align: middle !important;
        padding-top: .35rem !important;
        padding-bottom: .35rem !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-btnRecuperarContrasenia,
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-btnRecuperarContraseña {
        width: 42% !important;
        padding-right: .5rem !important;
        text-align: right !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-cmdEntrar {
        display: table-cell !important;
        width: 58% !important;
        padding-left: .5rem !important;
        text-align: left !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row #cmdEntrar {
        display: inline-block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 140px;
        margin: 0 !important;
        text-align: center !important;
    }
}
@media (max-width: 768px) {
    body.sgl-theme-custom1-login .table-login {
        display: table !important;
        table-layout: fixed !important;
    }
    body.sgl-theme-custom1-login .table-login > tbody {
        display: table-row-group !important;
    }
    body.sgl-theme-custom1-login .table-login > tbody > tr {
        display: table-row !important;
    }
    body.sgl-theme-custom1-login .table-login > tbody > tr > td {
        display: table-cell !important;
    }
    body.sgl-theme-custom1-login .table-login .input-login-title {
        display: table-cell !important;
        box-sizing: border-box;
        width: 42% !important;
        padding-left: 0 !important;
        padding-right: .5rem !important;
        color: var(--sgl-color-text-secondary) !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.1;
        text-align: right !important;
        white-space: nowrap;
    }
    body.sgl-theme-custom1-login .table-login .input-login-txtbox {
        display: table-cell !important;
        box-sizing: border-box;
        width: 58% !important;
        padding-left: .5rem !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions {
        display: table !important;
        table-layout: fixed !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row {
        display: table-row !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > td {
        display: table-cell !important;
        box-sizing: border-box;
        vertical-align: middle !important;
        padding-top: .35rem !important;
        padding-bottom: .35rem !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-btnRecuperarContrasenia,
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-btnRecuperarContraseña {
        width: 42% !important;
        padding-right: .5rem !important;
        text-align: right !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-cmdEntrar {
        display: table-cell !important;
        width: 58% !important;
        padding-left: .5rem !important;
        text-align: left !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row #cmdEntrar {
        display: inline-block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 140px;
        margin: 0 !important;
        text-align: center !important;
    }
    body.sgl-theme-custom1-login .table-login input[type="submit"],
    body.sgl-theme-custom1-login .table-login button {
        background-color: var(--sgl-color-primary) !important;
        background-image: none !important;
    }
}
@media (max-width: 768px) {
    /* Login mobile: misma grilla que la referencia, sin reglas heredadas. */
    body.sgl-theme-custom1-login .Contenedor-Login {
        display: block !important;
        width: min(92%, 440px) !important;
    }
    body.sgl-theme-custom1-login .table-login {
        width: 100% !important;
    }
    body.sgl-theme-custom1-login .table-login .input-login-title {
        width: 34% !important;
        padding-left: .75rem !important;
        padding-right: .5rem !important;
        text-align: left !important;
    }
    body.sgl-theme-custom1-login .table-login .input-login-txtbox {
        width: 66% !important;
        padding-right: 1rem !important;
    }
    body.sgl-theme-custom1-login .table-login #txtUserID,
    body.sgl-theme-custom1-login .table-login #txtPassword {
        display: block !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-btnRecuperarContrasenia,
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-btnRecuperarContraseña {
        width: 34% !important;
        padding-left: .75rem !important;
        text-align: left !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row > .container-cmdEntrar {
        width: 66% !important;
        padding-right: 1rem !important;
    }
    body.sgl-theme-custom1-login .table-login table.auto-style4.login-actions .login-action-row #cmdEntrar {
        box-sizing: border-box !important;
        width: 72px !important;
        height: 36px !important;
        padding: 0 .35rem !important;
        font-size: 12px !important;
        line-height: normal !important;
    }
    body.sgl-theme-custom1-login .custom1-return-mount {
        margin-top: .5rem !important;
    }
}
@media (max-width: 768px) {
    /* Seguimiento mobile: título y acción como en la referencia. */
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones {
        margin-bottom: .5rem !important;
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones .subtitle {
        width: 100%;
        max-width: 165px;
        margin: 0 auto .75rem !important;
        white-space: normal !important;
        overflow-wrap: normal;
    }
    body.sgl-theme-custom1-tracking .SGLTablaRecuadroFiltroYBotones .btn.btn-primary {
        box-sizing: border-box !important;
        width: 76px !important;
        min-height: 36px;
        height: 36px !important;
        padding: 0 .35rem !important;
        background-color: var(--sgl-color-primary) !important;
        background-image: none !important;
        color: var(--sgl-color-on-primary) !important;
        font-size: 12px !important;
        line-height: normal !important;
    }
    body.sgl-theme-custom1-tracking .custom1-return-mount {
        margin-top: .5rem !important;
    }
}
@media (max-width: 768px) {
    /* El contacto del footer de seguimiento debe igualar al del login. */
    body.sgl-theme-custom1-tracking .custom1-footer-contact-line,
    body.sgl-theme-custom1-tracking .custom1-footer-contact-line .custom1-footer-label,
    body.sgl-theme-custom1-tracking .custom1-footer-contact-line .custom1-footer-value {
        font-size: var(--sgl-font-size-footer) !important;
        line-height: 1.35 !important;
    }
}
/* El footer CUSTOM1 es único: sus textos siempre usan el tamaño configurado. */
html.sgl-theme-custom1 .custom1-footer .custom1-footer-text,
html.sgl-theme-custom1 .custom1-footer .custom1-footer-label,
html.sgl-theme-custom1 .custom1-footer .custom1-footer-value {
    font-size: var(--sgl-font-size-footer) !important;
    line-height: 1.35 !important;
}
/* El estado activo de Seguimiento usa el color principal de CUSTOM1. */
html.sgl-theme-custom1 body.sgl-theme-custom1-tracking-result .current-status {
    background-color: var(--sgl-color-primary) !important;
}

html.sgl-theme-custom1 body.sgl-theme-custom1-tracking-result li.selection.current.visited:before {
    border-color: var(--sgl-color-primary) !important;
    box-shadow: 0 0 0 1px var(--sgl-color-primary) !important;
}

html.sgl-theme-custom1 body.sgl-theme-custom1-tracking-result li.selection.current.visited span[style="color: black;"] {
    color: var(--sgl-color-primary) !important;
}
