/* ============================================================
   TEMA 03 — Login Pluto (LoginTema03.ascx)
   Clase prefijo: lt3-
   Compatible con: jQuery 1.8.3, ASP.NET WebForms, IE11+
   Solo estilos del login card; la estructura de página exterior
   usa las clases de estilos_Login.css (LogCont02, LogSlide, etc.)
   ============================================================ */

/* ===== Variables ===== */
:root {
    --lt3-primary:        #2563eb;
    --lt3-primary-dark:   #1d4ed8;
    --lt3-primary-light:  rgba(37, 99, 235, 0.10);
    --lt3-card-bg:        #f5f7fa;
    --lt3-border:         #e2e8f0;
    --lt3-border-focus:   #2563eb;
    --lt3-text:           #0f172a;
    --lt3-text-sec:       #475569;
    --lt3-text-muted:     #94a3b8;
    --lt3-error:          #b94a48;
    --lt3-error-bg:       #f2dede;
    --lt3-error-border:   rgba(185, 74, 72, 0.35);
    --lt3-warn-bg:        #fef9c3;
    --lt3-warn-border:    #fde047;
    --lt3-warn-text:      #78350f;
    --lt3-radius-sm:      4px;
    --lt3-radius:         8px;
    --lt3-radius-lg:      10px;
    --lt3-shadow-card:    0 25px 50px -10px rgba(0, 0, 0, 0.40);
    --lt3-ease:           all 0.18s ease;
    --lt3-text-subtle:    #64748b;
    --lt3-tabs-bg:        #ebebf0;
    --lt3-input-bg:       #f0f4f8;
    --lt3-surface:        #f8faff;
    --lt3-border-strong:  #dde3ed;
    --lt3-info-bg:        #d9edf7;
    --lt3-info-border:    #93c5da;
    --lt3-info-color:     #3a87ad;
    --lt3-header-height:  50px;
    --lt3-footer-height:  122px;
}

/* Slide más alto para que la tarjeta (top:40px + max-height:555px = 595px) no solape
   con LogSlideCrosselingNuevo (bottom:0, height:80px → inicia en 600px).
   LogSlideLCont necesita height:100% para anclar el strip al borde real del slide.
   LogSlideImg img necesita display:block + cover para llenar el área completa. */
.LogCont02 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.LogSlide {
    position: relative;
    flex: 1 1 auto;
    min-height: 0 !important;
    height: calc(100vh - var(--lt3-header-height) - var(--lt3-footer-height)) !important;
}
.LogSlideLCont {
    position: relative;
    height: 100% !important;
    min-height: inherit;
}
.LogSlideImg {
    position: absolute;
    inset: 0;
}
.LogSlideImg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
}

/* ===== Ajuste LogSlideLogin — Tema03 reemplaza el contenedor base ===== */
/* El base CSS tiene height:285px y background semitransparente; se eliminan para que
   solo se vea el lt3-card (que tiene su propio fondo blanco).
   top/left/transform centran la card dentro del slide. */
.LogSlideLogin {
    width: 460px !important;
    height: auto !important;
    background-color: transparent !important;
    padding: 0 !important;
    top: 43% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
}

/* ===== CARD ===== */
.lt3-card {
    background: #ffffff;
    border-radius: var(--lt3-radius-lg);
    box-shadow: var(--lt3-shadow-card);
    width: 423px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== TABS — segmented control ===== */
.lt3-tabs {
    display: flex;
    background: var(--lt3-tabs-bg);
    border-bottom: none;
    border-radius: 12px;
    margin: 12px 12px 0;
    padding: 4px;
    gap: 4px;
    flex-shrink: 0;
}
.lt3-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 9px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lt3-text-subtle);
    background: transparent;
    border: none;
    border-radius: 8px;
    margin-bottom: 0;
    cursor: pointer;
    transition: var(--lt3-ease);
    letter-spacing: 0.01em;
    outline: none;
}
.lt3-tab:hover:not(.lt3-tab--active) {
    color: var(--lt3-text-sec);
    background: rgba(0, 0, 0, 0.05);
}
.lt3-tab.lt3-tab--active {
    color: var(--lt3-primary);
    background: #ffffff;
    border-bottom-color: transparent;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
}
.lt3-tab-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lt3-tabs--proveedores-primero .lt3-tab:first-child { order: 2; }
.lt3-tabs--proveedores-primero .lt3-tab:last-child  { order: 1; }

/* ===== PANELES ===== */
.lt3-panel {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
/* Cuando hay tabs visibles, el panel no necesita tanto espacio superior */
.lt3-tabs + .lt3-panel,
.lt3-tabs ~ .lt3-panel {
    padding-top: 15px;
}

/* ===== FORMULARIO DE CREDENCIALES ===== */
.lt3-creds-form {
    display: flex;
    flex-direction: column;
}
.lt3-form-header {
    margin-bottom: 28px;
}
.lt3-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.lt3-login-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    border-radius: 9px;
    background: #edf3fb;
    color: #51627d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    line-height: 1;
}

.lt3-login-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
    flex-shrink: 0;
}

.lt3-login-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    min-height: 0;
    max-width: min(48%, 220px);
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.lt3-login-brand-logo {
    display: block;
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center right;
}

.lt3-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--lt3-text);
    margin: 0 0 5px;
    line-height: 1.2;
    text-align: left;
}
.lt3-subheading {
    font-size: 13px;
    color: var(--lt3-text-sec);
    margin: 0;
    text-align: left;
}

/* Campos */
.lt3-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 8px;
}
.lt3-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lt3-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--lt3-text-sec);
    text-align: left;
}
.lt3-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.lt3-forgot {
    font-size: 12px;
    color: var(--lt3-primary);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}
.lt3-forgot:hover {
    text-decoration: underline;
}

/* Input wrap — fondo blanco para contrastar con el gris de la card */
.lt3-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--lt3-border);
    border-radius: var(--lt3-radius);
    background: #ffffff;
    transition: var(--lt3-ease);
    overflow: hidden;
}
.lt3-input-wrap:focus-within,
.lt3-input-wrap.active {
    border-color: var(--lt3-border-focus);
    box-shadow: 0 0 0 3px var(--lt3-primary-light);
}
/* InpER asignado por JS a #PasswordView */
.lt3-input-wrap.InpER {
    border-color: var(--lt3-error);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.lt3-input-icon {
    width: 18px;
    height: 18px;
    margin: 0 14px 0 12px;
    color: var(--lt3-text-muted);
    flex-shrink: 0;
    fill: currentColor;
}
.lt3-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 10px 11px 12px;
    font-size: 14px;
    color: var(--lt3-text);
    background: transparent;
    min-width: 0;
    width: 100%;
}
.lt3-input::placeholder {
    color: var(--lt3-text-muted);
}
/* InpER se aplica sobre #UserNameView (el wrap), igual que #PasswordView */
.lt3-eye-toggle {
    display: flex;
    align-items: center;
    padding: 0 12px;
    cursor: pointer;
    color: var(--lt3-text-muted);
    transition: color 0.15s;
    outline: none;
}
.lt3-eye-toggle:hover {
    color: var(--lt3-text-sec);
}
.lt3-eye-toggle .fa-solid {
    font-size: 14px;
    pointer-events: none;
}
/* Ocultar el botón nativo de revelar contraseña de Edge/IE */
input[type="password"]::-ms-reveal {
    display: none;
}

/* Opciones (recordar / recuperar) */
.lt3-options {
    margin: 14px 0 24px;
}
.lt3-remember-table,
.lt3-recover-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.lt3-remember-table td,
.lt3-recover-table td {
    padding: 3px 0;
    text-align: left;
}
.lt3-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--lt3-text-sec);
    user-select: none;
    text-align: left;
}
.lt3-checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: var(--lt3-primary);
}
.lt3-helper-link {
    font-size: 12px;
    color: var(--lt3-primary);
    cursor: pointer;
    text-decoration: none;
}
.lt3-helper-link:hover {
    text-decoration: underline;
}

/* Cajas de mensaje (error / aviso) — display controlado exclusivamente por inline style */
.lt3-msg-box {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    background: var(--lt3-error-bg);
    border: 1px solid var(--lt3-error-border);
    border-radius: var(--lt3-radius-sm);
    padding: 9px 12px;
    margin: 6px 0;
}
.lt3-msg-icon {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    align-self: center !important;
    font-size: 14px;
    color: var(--lt3-error);
    line-height: 1;
}
.lt3-msg-text {
    margin: 0;
    font-size: 13px;
    color: var(--lt3-error);
    line-height: 1.4;
    flex: 1;
}
/* Clases inyectadas por code-behind — sin conflicto */

/* Mensajes de validación (campos vacíos / error login) */
#cajahelp,
#CajaCamposVacios {
    display: none;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    background: var(--lt3-error-bg);
    border: 1px solid var(--lt3-error-border);
    border-radius: var(--lt3-radius-sm);
    padding: 9px 12px;
    margin: 8px 0 4px;
}
#cajahelpparrafo,
#CajaCamposVaciosparrafo {
    margin: 0;
    font-size: 13px;
    color: var(--lt3-error);
    line-height: 1.4;
    text-align: left;
    flex: 1;
}

/* Botón de submit */
.lt3-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    box-sizing: border-box;
    background: var(--lt3-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--lt3-radius);
    cursor: pointer;
    border: none;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
    letter-spacing: 0.01em;
    user-select: none;
    text-align: center;
}
.lt3-btn-primary:hover {
    background: var(--lt3-primary-dark);
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.42);
}
.lt3-btn-primary:active {
    transform: translateY(1px);
}
.lt3-btn-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: currentColor;
}

/* ===== POWERED BY (logo SHIFT) ===== */
.lt3-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px !important;
    padding: 12px 32px !important;
    background: #edf0f5;
    flex-shrink: 0;
    flex: 1;
}
.lt3-powered-text {
    font-size: 10px;
    color: var(--lt3-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.lt3-powered-logo {
    max-height: 22px;
    max-width: 80px;
    width: auto;
    object-fit: contain;
}

/* ===== PANEL OTP ===== */
.lt3-otp-panel {
    display: flex;
    flex-direction: column;
}
.lt3-otp-back {
    margin-bottom: 14px;
    text-align: left;
}
.lt3-otp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--lt3-text-subtle) !important;
    text-decoration: none !important;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    padding: 4px 8px 4px 4px;
    border-radius: 6px;
    border: none;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease;
    letter-spacing: 0.01em;
}
.lt3-otp-back-link:hover {
    color: var(--lt3-text-sec) !important;
    background: rgba(100, 116, 139, 0.08);
    text-decoration: none !important;
}
.lt3-otp-back-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.lt3-otp-title-wrap {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 800;
    color: var(--lt3-text);
    text-align: left;
    letter-spacing: -0.01em;
}
.lt3-otp-title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-align: inherit;
    letter-spacing: inherit;
}

/* Cajas OTP — mantiene clases .otp-box para compatibilidad JS */
.lt3-otp-boxes-wrap {
    position: relative;
    margin-bottom: 14px;
    cursor: text;
    -webkit-tap-highlight-color: transparent;
}
.lt3-otp-hidden-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: text;
    font-size: 1px;
}
/* otp-hidden-input heredado de Tema02 */
.otp-hidden-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: text;
}
.lt3-otp-boxes,
.otp-boxes {
    display: flex;
    gap: 10px !important;
    justify-content: space-between;
}
/* Caja individual */
.otp-box {
    flex: 0 0 53px;
    width: 53px;
    height: 82px;
    border: 2px solid transparent;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--lt3-text);
    background: var(--lt3-input-bg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    user-select: none;
}
.otp-box.active {
    border-color: var(--lt3-primary);
    box-shadow: 0 0 0 3px var(--lt3-primary-light);
}
.otp-box.filled {
    border-color: #94a3b8;
    background: #f8fafc;
}

/* Error OTP */
.lt3-otp-error {
    background: var(--lt3-error-bg);
    border: 1px solid var(--lt3-error-border);
    border-radius: var(--lt3-radius-sm);
    padding: 8px 12px;
    font-size: 13px;
    color: var(--lt3-error);
    margin-bottom: 12px;
    text-align: center;
}
/* otp-error heredado */
.otp-error {
    background: var(--lt3-error-bg);
    border: 1px solid var(--lt3-error-border);
    border-radius: var(--lt3-radius-sm);
    padding: 8px 12px;
    font-size: 13px;
    color: var(--lt3-error);
    text-align: center;
}

/* Botón confirmar OTP */
.lt3-otp-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    box-sizing: border-box;
    background: var(--lt3-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--lt3-radius);
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease;
    margin-bottom: 14px;
    user-select: none;
    border: none;
}
.lt3-otp-confirm:hover:not(.btn-disabled) {
    background: var(--lt3-primary-dark);
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.42);
}
/* .btn-disabled compartido entre temas */
.btn-disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    pointer-events: none;
}
.lt3-btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}
.lt3-btn-icon-stroke {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Reenviar + countdown */
.lt3-otp-resend {
    text-align: center;
    margin-bottom: 14px;
}
.lt3-resend-link {
    font-size: 13px;
    color: var(--lt3-primary);
    cursor: pointer;
    transition: opacity 0.15s;
    display: inline;
}
.lt3-resend-link.btn-disabled {
    color: var(--lt3-text-muted);
}
.lt3-resend-link:not(.btn-disabled):hover {
    text-decoration: underline;
}

/* Recordar dispositivo */
.lt3-remember-device {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--lt3-text-sec);
    margin-bottom: 16px;
    justify-content: center;
}
.lt3-remember-device input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--lt3-primary);
    cursor: pointer;
}
.lt3-remember-device label {
    cursor: pointer;
    margin: 0;
}

/* Info alert OTP */
.lt3-otp-info {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: var(--lt3-info-bg);
    border: 1.5px solid var(--lt3-info-border);
    border-radius: var(--lt3-radius);
    padding: 10px 14px;
    font-size: 12px;
    color: var(--lt3-text-subtle);
    line-height: 1.5;
    margin-top: 4px;
    text-align: left;
}
.lt3-otp-info-icon {
    flex-shrink: 0;
    font-size: 14px;
    margin-top: 1px;
    color: var(--lt3-info-color);
}

/* ===== PANEL PROVEEDORES ===== */
.lt3-providers-panel {
    padding: 24px 28px 20px;
    justify-content: flex-start;
}
.lt3-providers-header {
    text-align: center;
    margin-bottom: 20px;
}
.lt3-providers-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--lt3-text);
    margin: 0 0 5px;
}
.lt3-providers-subtitle {
    font-size: 13px;
    color: var(--lt3-text-sec);
    margin: 0;
}
.lt3-providers-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 12px;
    margin-bottom: 18px;
}

.lt3-sp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--lt3-surface);
    border: 1.5px solid var(--lt3-border);
    border-radius: var(--lt3-radius);
    padding: 1px;
    width: 100%;
}
.lt3-sp-icon-wrap {
    width: 84px;
    height: 80px;
    border-radius: 20px;
    background: #f1f5f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
}
.lt3-sp-icon-wrap--logo {
    background: #ffffff;
    padding: 10px;
}
.lt3-sp-client-logo {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
/* Fondos de wrap por proveedor */
.lt3-sp-icon-wrap[data-icon="fa-microsoft"] { background: #dbeafe; }
.lt3-sp-icon-wrap[data-icon="fa-google"]    { background: #fee2e2; }
.lt3-sp-icon-wrap[data-icon="fa-apple"]     { background: #f1f1f1; }
.lt3-sp-icon-wrap[data-icon="fa-github"]    { background: #f1f5f9; }
.lt3-sp-icon-wrap[data-icon="fa-gitlab"]    { background: #fef2f2; }
.lt3-sp-icon-wrap[data-icon="fa-slack"]     { background: #faf5ff; }
.lt3-sp-icon-wrap[data-icon="fa-linkedin"]  { background: #dbeafe; }
.lt3-sp-icon {
    font-size: 38px;
    color: var(--lt3-text-sec);
}
/* Colores de ícono grandes por proveedor */
.lt3-sp-icon.fa-microsoft { color: #00a1f1; }
.lt3-sp-icon.fa-google    { color: #ea4335; }
.lt3-sp-icon.fa-apple     { color: #1d1d1f; }
.lt3-sp-icon.fa-github    { color: #24292f; }
.lt3-sp-icon.fa-gitlab    { color: #e24329; }
.lt3-sp-icon.fa-slack     { color: #4a154b; }
.lt3-sp-icon.fa-linkedin  { color: #0a66c2; }
.lt3-sp-desc {
    font-size: 13px;
    color: var(--lt3-text-sec);
    text-align: center;
    max-width: 230px;
    line-height: 1.5;
    margin: 0;
}
.lt3-sp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--lt3-border-strong);
    border-radius: var(--lt3-radius);
    background: #ffffff;
    cursor: pointer;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--lt3-text) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    margin-top: 4px;
    box-sizing: border-box;
}
.lt3-sp-btn:hover {
    border-color: var(--lt3-primary);
    box-shadow: 0 3px 14px rgba(37, 99, 235, 0.13);
    background: var(--lt3-surface);
}
.lt3-sp-btn-icon {
    font-size: 18px;
    flex-shrink: 0;
    color: inherit;
}
/* Colores del ícono pequeño en el botón */
.lt3-sp-btn-icon.fa-microsoft { color: #00a1f1; }
.lt3-sp-btn-icon.fa-google    { color: #ea4335; }
.lt3-sp-btn-icon.fa-apple     { color: #1d1d1f; }
.lt3-sp-btn-icon.fa-github    { color: #24292f; }
.lt3-sp-btn-icon.fa-gitlab    { color: #e24329; }
.lt3-sp-btn-icon.fa-slack     { color: #4a154b; }
.lt3-sp-btn-icon.fa-linkedin  { color: #0a66c2; }

/* Override ProveedoresExternos.ascx — botones de proveedor
   Se usa clase .LogSlideExtLogin porque el ID del control cambia en runtime (no tiene ClientIDMode=Static) */
.lt3-card .LogSlideExtLogin {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    top: auto !important;
    left: auto !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.lt3-card .LogSlideExtLogin br {
    display: none;
}
.lt3-card .LogSlideExtLogin .tbl,
.lt3-card .LogSlideExtLogin table {
    width: 100%;
    border-collapse: collapse;
    display: block !important;
}
.lt3-card .LogSlideExtLogin .tbl tbody,
.lt3-card .LogSlideExtLogin table tbody,
.lt3-card .LogSlideExtLogin .tbl tr,
.lt3-card .LogSlideExtLogin table tr {
    display: block !important;
    width: 100% !important;
}
.lt3-card .LogSlideExtLogin .tbl td,
.lt3-card .LogSlideExtLogin table td {
    display: block !important;
    width: 100% !important;
    padding: 0 0 10px !important;
    box-sizing: border-box !important;
}
.lt3-card .LogSlideExtLogin .tbl td:last-child,
.lt3-card .LogSlideExtLogin table td:last-child {
    padding-bottom: 0 !important;
}
.lt3-card .LogSlideExtLogin .LogSlideLoginTitInt {
    display: none;
}
.lt3-card .LogSlideExtLogin a.btns {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 54px;
    padding: 10px 16px;
    box-sizing: border-box;
    margin-bottom: 0;
    border: 1.5px solid var(--lt3-border-strong);
    border-radius: var(--lt3-radius);
    background: #ffffff;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.lt3-card .LogSlideExtLogin a.btns::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: #cbd5e1;
    margin-left: auto;
    transition: transform 0.18s ease, color 0.18s ease;
}
.lt3-card .LogSlideExtLogin a.btns:hover {
    border-color: var(--lt3-primary);
    box-shadow: 0 3px 14px rgba(37, 99, 235, 0.13);
    background: var(--lt3-surface);
    text-decoration: none;
}
.lt3-card .LogSlideExtLogin a.btns:hover::after {
    color: var(--lt3-primary);
    transform: translateX(3px);
}
.lt3-card .LogSlideExtLogin a.btns:active {
    transform: translateY(1px);
    box-shadow: 0 1px 6px rgba(37, 99, 235, 0.10);
}
.lt3-card .LogSlideExtLogin .btn2_l,
.lt3-card .LogSlideExtLogin .btn2_r {
    display: none;
}
.lt3-card .LogSlideExtLogin .btn2_c {
    background: none !important;
    background-color: transparent !important;
    color: var(--lt3-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: left !important;
    letter-spacing: 0.01em !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ícono del proveedor — ocupa todo el alto del botón */
.lt3-card .LogSlideExtLogin .lt3-provider-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    align-self: stretch !important;
    width: 52px !important;
    height: auto !important;
    border-radius: 0 !important;
    margin: -10px 0 -10px -16px !important;
    background: #f1f5f9 !important;
    font-size: 22px !important;
    transition: background 0.18s ease !important;
}
/* Fondos de burbuja con tono de marca */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-microsoft  { background: #dbeafe !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-google     { background: #fee2e2 !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-apple      { background: #f1f1f1 !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-github     { background: #f1f5f9 !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-gitlab     { background: #fef2f2 !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-slack      { background: #faf5ff !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-amazon,
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-aws        { background: #fff7ed !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-linkedin   { background: #dbeafe !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-salesforce { background: #e0f2fe !important; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-docker     { background: #e0f2fe !important; }
/* Colores de marca específicos en reposo */
/* Microsoft ecosystem */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-microsoft { color: #00a1f1; }
/* Google */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-google    { color: #ea4335; }
/* Apple */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-apple     { color: #1d1d1f; }
/* Meta / Facebook */
/* Twitter */
/* Amazon / AWS */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-amazon    { color: #ff9900; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-aws       { color: #ff9900; }
/* GitHub */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-github    { color: #24292e; }
/* GitLab */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-gitlab    { color: #e2432a; }
/* Bitbucket */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-bitbucket { color: #0052cc; }
/* Atlassian / Jira / Confluence */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-atlassian { color: #0052cc; }
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-trello    { color: #0052cc; }
/* Slack */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-slack     { color: #4a154b; }
/* Discord */
/* Spotify */
/* LinkedIn */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-linkedin  { color: #0077b5; }
/* Reddit */
/* Twitch */
/* Steam */
/* Shopify */
/* Dropbox */
/* WordPress */
/* PayPal */
/* Stripe */
/* Salesforce */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-salesforce { color: #1798c1; }
/* HubSpot */
/* Figma */
/* TikTok */
/* Docker */
.lt3-card .LogSlideExtLogin .lt3-provider-icon.fa-docker    { color: #2496ed; }
/* VK */
/* WeChat */
/* Line */
/* Yahoo */

/* ===== LOGO CLIENTE en slide — tira blanca inferior */
.LogSlideCrosselingNuevo {
    display: flex !important;
    align-items: center !important;
    justify-content: right !important;
    text-align: center !important;
    height: 65px !important;
    width: 100% !important;
    left: 0;
    z-index: 1;
}

.lt3-client-slide-logo {
    max-height: 52px;
    max-width: 130px;
    width: auto;
    height: auto;
    margin: 10px 22px;
    vertical-align: middle;
    object-fit: contain;
    display: inline-block;
}

/* ===== LOGO SHIFT en powered-by  ===== */
.lt3-powered-shift-logo {
    width: 72px;
    height: 22px;
    background-image: url(../Imagenes/Web/Logo/shift-logo.png) !important;
    background-size: contain !important;
    background-position: center left !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}
/* Override altura fija de MarcaShift2Nuevo del base CSS */
.lt3-powered .MarcaShift2Nuevo {
    height: 18px !important;
}
.lt3-powered-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

/* ===== TOP HEADER — Tema03: fila única, blanco, contenido alineado con el slide (1200px) ===== */
.LogEncab01 {
    background-color: #ffffff !important;
    display: block !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
    min-height: 45px !important;
    height: auto !important;
    padding: 0 !important;
}

/* Contenedor interno alineado con LogSlideLCont (1200px, margin:auto) */
.lt3-header-inner {
    width: 1200px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 50px !important;
    box-sizing: border-box !important;
}

/* Base CSS tiene LogEncabLogos{width:1200px;margin:auto} y LogEncabMenuFechaInt{width:1200px;margin:auto}
   — cuando son flex-children de lt3-header-inner hay que anular esas propiedades */
.lt3-header-inner > .LogEncabLogos {
    width: auto !important;
    margin: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    border: none !important;
}
.lt3-header-inner .LogEncabLogo01 {
    width: auto !important;
    float: none !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}
.lt3-header-inner .LogEncabLogo01Int {
    width: auto !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}
.lt3-header-inner a.MarcaShift2 {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    text-decoration: none !important;
}
/* Logo Shift en header — mismo archivo que powered-by, tamaño mayor */
.LogEncab01 #ImgShift {
    width: 100px !important;
    height: 56px !important;
    background-image: url(../Imagenes/Web/Logo/shift-logo.png) !important;
    background-size: contain !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
}

/* Nav bar: sin fondo propio, fluye en la misma fila */
.lt3-header-inner > .LogEncabMenuFecha {
    background-color: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}
.lt3-header-inner .LogEncabMenuFechaInt {
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}
.lt3-header-inner .LogEncabMenuFechaInt01 {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: auto !important;
    padding: 0 !important;
    float: none !important;
    text-align: left !important;
}

/* Todos los nav links — mismo estilo: admin, Nosotros, Soporte */
.LogEncabMenuFechaInt01 .MenuNosotros01,
.LogEncabMenuFechaInt01 .MenuSoporte01 {
    color: var(--lt3-text-sec) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    letter-spacing: 0.01em !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}
.LogEncabMenuFechaInt01 .MenuNosotros01:hover,
.LogEncabMenuFechaInt01 .MenuSoporte01:hover {
    color: var(--lt3-primary) !important;
    background: rgba(37,99,235,0.06) !important;
}

/* ===== SOPORTE TOOLTIP ===== */
.lt3-soporte-tooltip {
    display: none;
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 240px;
    max-width: 320px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    color: #334155;
    line-height: 1.55;
    white-space: normal;
    text-align: left;
}

.lt3-nosotros-wrap {
    position: relative;
}

.lt3-menu-popover {
    display: none;
    position: fixed;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    padding: 18px 20px;
    width: min(460px, calc(100vw - 24px));
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    color: #334155;
    text-align: left;
}

.lt3-menu-popover-title {
    margin: 0 0 10px;
    color: #004b7c;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
}

.lt3-menu-popover-body {
    color: #324b74;
    font-size: 16px;
    line-height: 1.55;
}

    .lt3-menu-popover-body .lt3-about-text-paragraph {
        text-align: left;
        color: #35415b !important;
        font-size: 17px !important;
    }

/* ===== NOSOTROS / FOOTER INFORMATIVO ===== */
.LoginNos {
    height: var(--lt3-footer-height) !important;
    background: #ffffff !important;
    border-bottom: none !important;
    padding: 0 !important;
    flex-shrink: 0;
    overflow: hidden;
}

.lt3-about-inner {
    width: 1200px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: start;
    column-gap: 38px;
    padding: 28px 32px 24px;
    box-sizing: border-box;
}

.lt3-about-title-block {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.lt3-about-title-block::after {
    content: '';
    width: 80px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: #1477ff;
}

.lt3-about-title {
    margin: 0;
    color: #031a43;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: left;
}

.lt3-about-copy-block {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding-top: 6px;
}

.lt3-about-text {
    max-width: 720px;
    color: #273a5a;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.lt3-about-text-paragraph {
    margin: 0;
    text-align: left;
    color: #273a5a !important;
    font-size: 15px !important;
    line-height: 1.55;
}

.lt3-about-text strong,
.lt3-about-text b {
    font-weight: 800;
}

@media (max-width: 1366px), (max-height: 820px) {
    :root {
        --lt3-footer-height: 0px;
    }

    .LoginNos {
        display: none !important;
    }

    .LogSlide {
        height: calc(100vh - var(--lt3-header-height)) !important;
    }

    .lt3-card {
        zoom: 87%;
        margin-top: 50px;
    }

    .LogSlideCrosselingNuevo {
        display: none !important;
        height: 0 !important;
    }
}

/* ===== RESPONSIVE — Tablet ===== */
@media (max-width: 900px) {
    :root {
        --lt3-footer-height: 132px;
    }
    .LogSlide {
        min-height: 0 !important;
        height: calc(100vh - var(--lt3-header-height) - var(--lt3-footer-height)) !important;
    }
    .lt3-card {
        width: 100%;
        max-width: 460px;
    }
    .LogSlideLogin {
        width: 100% !important;
        max-width: 460px !important;
        padding: 0 20px !important;
        box-sizing: border-box;
    }
    .lt3-about-inner {
        grid-template-columns: 1fr;
        row-gap: 20px;
        padding: 28px 24px 24px;
    }
    .lt3-login-meta {
        gap: 10px;
    }
    .lt3-about-title {
        font-size: 24px;
    }
    .lt3-about-text {
        max-width: none;
        font-size: 15px;
    }
    .lt3-menu-popover {
        width: min(420px, calc(100vw - 24px));
    }
    .lt3-menu-popover-title {
        font-size: 18px;
    }
    .lt3-menu-popover-body {
        font-size: 15px;
    }
}

/* ===== RESPONSIVE — Mobile ===== */
@media (max-width: 600px) {
    .LogCont02 {
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    .LogSlide {
        min-height: 420px !important;
        height: auto !important;
    }
    .LogSlideLCont {
        min-height: 420px;
    }
    .lt3-card {
        width: 100%;
        border-radius: 15px;
    }
    .LogSlideLogin {
        width: 100% !important;
        max-width: none !important;
        top: 43% !important;
        left: 50% !important;
        padding: 0 16px !important;
    }
    .lt3-panel {
        padding: 20px 18px 16px;
    }
    .lt3-providers-panel {
        padding: 20px 18px 16px;
    }
    .lt3-heading {
        font-size: 19px;
    }
    .lt3-login-meta {
        flex-wrap: wrap;
        align-items: flex-start;
        margin-bottom: 16px;
    }
    .lt3-login-pill {
        font-size: 10px;
        letter-spacing: 0.08em;
    }
    .lt3-login-brand {
        min-width: 0;
        min-height: 0;
        max-width: min(52%, 160px);
        padding: 0;
    }
    .lt3-login-brand-logo {
        max-width: 100%;
        max-height: 36px;
    }
    .lt3-tab {
        font-size: 12px;
        padding: 12px 6px;
        gap: 5px;
    }
    .lt3-tab-icon {
        width: 15px;
        height: 15px;
    }
    .otp-box {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 19px;
        border-radius: 8px;
    }
    .lt3-otp-boxes,
    .otp-boxes {
        gap: 7px;
    }
    .lt3-powered {
        padding: 4px 18px;
    }
    .lt3-client-slide-logo {
        max-height: 34px;
        max-width: 108px;
        margin: 6px 14px;
    }
    .lt3-about-inner {
        height: auto;
        min-height: 0;
        padding: 24px 18px 20px;
    }
    .LoginNos {
        height: auto !important;
        overflow: visible;
    }
    .lt3-about-title {
        font-size: 22px;
    }
    .lt3-about-text {
        font-size: 15px;
        line-height: 1.55;
    }
    .lt3-menu-popover {
        width: calc(100vw - 20px);
        padding: 16px;
    }
    .lt3-menu-popover-title {
        font-size: 17px;
    }
    .lt3-menu-popover-body {
        font-size: 14px;
    }
}

.estilo-login-3-nosotros-textos {
    color: #273a5a !important;
    font-size: 15px;
}

.lt3-login-texto-portal{
        font-size: 10px !important;
}

/* ===== RESPONSIVE — Very small mobile ===== */
@media (max-width: 380px) {
    .lt3-client-slide-logo {
        max-height: 30px;
        max-width: 92px;
        margin: 4px 10px;
    }
    .otp-box {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
        border-radius: 6px;
    }
    .lt3-otp-boxes,
    .otp-boxes {
        gap: 5px;
    }
}
