﻿html,
body {
    height: 100%;
    overflow: hidden;
}

a img {
    border: none;
}

.disabledbutton {
    pointer-events: none;
    opacity: 0.4;
    width: 100% !important;
    margin: 0px auto;
}

.disabledbuttonIngresar {
    pointer-events: none;
    opacity: 0.4;
}

.contenedorlogin {
    padding: 20px 0 0 0 !important;
    margin: 0 !important;
    height: 100vh;
    min-height: 100vh !important;
    background: url('../../Images/Fondo-equisoft.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.rowMenuOpciones {
    position: relative !important;
    margin-top: 0;
    display: flex; 
    flex-wrap: wrap;
    gap: 10px;
    padding-right: 60px;
    align-content: flex-start;
    height: 220px; 
    overflow-y: auto; 
}

    .rowMenuOpciones::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .rowMenuOpciones::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05); 
        border-radius: 10px;
    }

    .rowMenuOpciones::-webkit-scrollbar-thumb {
        background: var(--color-primary, #0b94f3);
        border-radius: 10px;
        border: 2px solid transparent; 
    }

        .rowMenuOpciones::-webkit-scrollbar-thumb:hover {
            filter: brightness(0.8);
            background: #555;
        }

.rowMenuOpciones {
    scrollbar-color: var(--color-primary, #0b94f3) rgba(0, 0, 0, 0.05);
    scrollbar-width: thin;
}



.fondoiconoslogin {
    display: flex;
    flex: 1 1 calc(33.333% - 10px); /* ← 3 columnas por defecto */
    height: 97px !important;
    box-sizing: border-box;
}

.divContent {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
}

.imgLogin {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.txtOpcionesLogin {
    font-size: 14px;
    margin: 0 0 2px;
}

.txtDescripcionAcceso {
    font-size: 12px;
}

/* Tablet — 2 columnas */
@media (max-width: 992px) {
    .fondoiconoslogin {
        flex: 1 1 calc(50% - 6px);
    }

    .rowMenuOpciones {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Móvil — 1 columna */
@media (max-width: 576px) {
    .fondoiconoslogin {
        flex: 1 1 100%;
    }

    .rowMenuOpciones {
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }

    .divContent {
        gap: 10px;
        padding: 10px;
    }
}

/* Tablet landscape */
@media (max-width: 1199px) and (min-width: 993px) {
    .sectionlogin {
        width: 480px;
        min-width: 480px;
        padding: 30px 36px;
    }

    .loginCardWrapper {
        max-width: 400px;
    }
}

/* Tablet portrait and below — hide right panel, login full screen */
@media (max-width: 992px) {
    .colimagen {
        display: none;
    }

    .contenedorlogin {
        overflow: auto;
        height: auto !important;
        min-height: 100vh !important;
        justify-content: center;
    }

    .sectionlogin {
        width: 100% !important;
        min-width: unset !important;
        height: auto;
        min-height: 100vh;
        padding: 4px 24px;
        background: url('../../Images/FondoEquisoft.png');
        background-size: cover;
        background-position: center center;
        backdrop-filter: none;
    }

    .loginCardWrapper {
        max-width: 480px;
        width: 100%;
    }

    html, body {
        overflow: auto;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .sectionlogin {
        padding: 24px 16px;
    }

    .loginCardWrapper {
        padding: 28px 22px 22px 22px;
        border-radius: 18px;
        max-width: 100%;
    }

    .tituloLogin {
        font-size: 20px;
        font-weight: bold;
    }

    .subtituloLogin {
        font-size: 12px;
    }
    .titleEquisoft {
        font-weight: bold
    }
}

/* ============================================================
   PANEL DERECHO — Comunicados y accesos
   ============================================================ */

.btnGoogle {
    width: 100%;
    height: 48px;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    font-size: 12px;
    background-image: url('../../Images/GoogleLogo.png');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    text-align: center;
    background-position: calc(50% - 85px) center;
}

    .btnGoogle:hover {
        background-color: #F9FAFB;
    }

.tituloAccesos {
    margin-top: 0px;
    color: white;
    font-size: 24px;
    font-weight: 700;
}


.imgLogin {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.txtOpcionesLogin {
    color: #1F2937 !important;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 3px 0;
    line-height: 1.2;
    text-align: left;
    width: 100%;
}

.txtDescripcionAcceso {
    color: #94A3B8;
    font-size: 11px;
    line-height: 1.3;
    text-align: left;
    display: block;
    width: 100%;
}

.iconoAcceso {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 10px;
}

.iconoCapacitacion {
    background: rgba(246, 147, 4, 0.22);
}

.iconoIntranet {
    background: rgba( 14, 93,157, 0.22);
}

.iconoIntranetFinanzauto {
    background: rgba( 27, 100, 95, 0.22);
}

.iconoGPS {
    background: rgba( 27, 100, 95, 0.22);
}

.iconoProveedor {
    background: rgba(246, 147, 4, 0.22);
}

.iconoReporte {
    background: rgba(206, 92,231, 0.22);
}

/* ============================================================
   SECCIÓN LOGIN — card centrada flotante
   ============================================================ */

/* Columna izquierda: área transparente que centra la card */
.sectionlogin {
    max-width: 670px;
    min-width: 560px;
    flex-shrink: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    padding: 40px 48px;
    background: rgb(255 255 255 / 0%);
    backdrop-filter: blur(2px);
    gap: 14px
}

/* Card blanca flotante */
.loginCardWrapper {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 32px 32px 26px 32px;
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    height: auto !important; 
    gap: 20px;
}

.imgLogoLogin {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 150px;
}

.tituloLogin {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.2;
}

    .tituloLogin em {
        font-style: italic;
    }

.subtituloLogin {
    text-align: center;
    color: #64748B;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Labels de campos */
.labelCampoLogin {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.formgroupLogin {
    width: 100%;
    margin-bottom: 14px;
}

.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}



.txtLogin,
.txtPassword {
    width: 100%;
    height: 44px;
    border: 1px solid #D1D5DB;
    border-radius: 10px !important;
    background-color: #F8FAFC;
    padding: 0 14px !important;
    font-size: 13px;
    color: #111827;
    box-shadow: none !important;
    outline: none;
    margin-left: 0 !important;
    transition: border-color 0.2s;
}

    .txtLogin:focus,
    .txtPassword:focus {
        border-color: #0F5EA9;
        background-color: #FFFFFF;
    }

/* Checkbox + políticas */
.contenedorPoliticas {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #374151;
    line-height: 1.4;
    width: 100%;
}

    .contenedorPoliticas a {
        color: #0F5EA9;
        text-decoration: none;
    }

/* Botón Ingresar */
.btnAspIngresar {
    display: block;
    width: 70%;
    height: 40px;
    margin: 0 auto;
    background: #0F5EA9;
    color: white !important;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s ease;
    letter-spacing: 0.01em;
    padding: 5px !important
}

    .btnAspIngresar:hover {
        background: #0C4F8F;
        color: white !important;
    }

#DivIngresar {
    width: 100%;
    margin-bottom: 12px;
}

/* Recuperar clave */
.rowOpcionesLogin {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 14px;
    width: 100%;
    font-size: 12px;
}

.lblRecuperarClave {
    color: #0F5EA9 !important;
    font-size: 12px !important;
    text-decoration: none;
}

/* Separador */
.separadorOr {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9CA3AF;
    font-size: 12px;
    margin-bottom: 12px;
    width: 100%;
}

    .separadorOr::before,
    .separadorOr::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #E5E7EB;
    }

/* Google */
.divGoogle {
    width: 100%;
}

/* Footer */
.footerLogin {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
    text-align: center;
    color: #9CA3AF;
    font-size: 10px;
    line-height: 1.6;
    width: 100%;
}

/* Tabla interna del asp:Login */
.loginCardWrapper table {
    width: 100%;
    border-collapse: collapse;
}

    .loginCardWrapper table td {
        padding: 0;
    }

.carousel-login {
    width: calc(100% - 60px);
    margin: 40px 0px 20px 0px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    max-height: 540px;
}

    .carousel-login .carousel-inner,
    .carousel-login .carousel-item {
        width: 100%;
        height: 540px;
    }

.carousel-login-image {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 20px;
}

.logo-slider {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLogos 35s linear infinite;
}

    .logo-track img {
        height: 20px;
        width: 120px;
        object-fit: contain;
        flex-shrink: 0;
        margin: 0 35px;
        opacity: .75;
        transition: .3s;
        filter: drop-shadow(0 0 4px rgba(255,255,255,.4));
    }
        .logo-track img:hover {
            opacity: 1;
        }

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}