@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* CSS Custom Properties for Layout Dimensions */
:root {
    --header-height: 45px;
    --footer-height: 36px;
    --sidebar-width-expanded: 200px;
    --sidebar-width-collapsed: 60px;
    --layout-transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.page {
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background: linear-gradient(135deg, #00a3b5 0%, #007a87 50%, #005c66 100%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

/* Sidebar-Aware Layout System */
.sidebar-content-layout {
    position: fixed;
    top: var(--header-height);
    left: var(--sidebar-width-expanded);
    right: 0;
    bottom: var(--footer-height);
    transition: var(--layout-transition);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 1;
}

/* Collapsed sidebar state */
body.sidebar-collapsed .sidebar-content-layout {
    left: var(--sidebar-width-collapsed);
}

/* Mobile responsiveness for sidebar layout */
@media (max-width: 768px) {
    .sidebar-content-layout {
        left: 0;
        top: calc(var(--header-height) + 10px);
        padding-left: 15px;
        padding-right: 15px;
    }
    
    body.sidebar-collapsed .sidebar-content-layout {
        left: 0;
    }
}

/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar-content-layout {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Large screen optimization */
@media (min-width: 1400px) {
    .sidebar-content-layout {
        padding-right: 40px;
    }
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 2560px) and (min-height: 1444px) {
    .k-grid {
        height: 100vh !important;
    }

    .k-grid-accesos {
        height: 50vh !important;
    }
}

@media (min-width: 1440px) {
    .k-grid {
        height: 90vh !important;
    }

    .k-grid-accesos {
        height: 40vh !important;
    }
}

@media (min-width: 768px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
        z-index: 999; /* Encima algo al máximo, esto evito que se encimaran los datos con los encabezados  JL 20240430 */
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .k-grid {
        height: 85vh !important;
    }

    .k-grid-accesos {
        height: 43vh !important;
    }
    .k-grid-tabs-general {
        height: 77vh !important;
    }
}

.QRColor, .k-button .k-button-solid-base {
    background-color: #27ff00 !important;
    pointer-events: none;
}

.container_footer {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-top: 29px;
    padding: 8px 16px; /* Padding más compacto y discreto */
    background-color: #fafafa; /* Fondo simple y discreto */
    border-top: 1px solid #e0e0e0; /* Borde sutil */
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 2;
    height: 36px; /* Altura fija más compacta */
}

.lucy-tables {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}


.AllCheck {
    display: flex !important;
    justify-content: flex-end;
}

.upload-hidden {
    visibility: hidden;
}

.upload-hidden, .k-upload .k-dropzone, .k-upload .k-upload-dropzone {
    visibility: hidden;
    display: none !important;
}

.upload-hidden, .k-upload {
    border-style: none !important;
}

.swal2-container {
    z-index: 999999 !important;
}

.k-loader-container, .k-loader-container-overlay {
    position: fixed !important;
}

.column-header, .k-header {
    text-align: center !important;
}

.dashboard-table {
    height: 100% !important;
}

.k-drawer {
    background: linear-gradient(135deg, #00a3b5 0%, #007a87 50%, #005c66 100%) !important; /* Mismo gradiente que login */
    position: relative !important;
    height: 100vh !important;
    z-index: 99;
    position: fixed !important;
    top: 37px !important;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15), 2px 0 8px rgba(0, 0, 0, 0.1), 1px 0 3px rgba(0, 0, 0, 0.08) !important; /* Sombra moderna más prominente con múltiples capas */
}

    .k-drawer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
        pointer-events: none;
    }

.k-drawer-push .k-drawer {
    height: 100vh !important;
    position: sticky !important;
}

.text-info {
    color: white !important;
}

.k-drawer-item.k-selected {
    color: #ffffff !important;
    background-color: #34495e !important; /* Color de selección más moderno */
    border-radius: 0 !important; /* Sin bordes redondeados para efecto full-width */
    margin: 0 !important; /* Sin márgenes para que ocupe todo el ancho */
    border-left: 4px solid #ffffff !important; /* Borde izquierdo como indicador de selección */
    transform: translateX(0) !important; /* Sin desplazamiento para elemento seleccionado */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important; /* Sombra interna sutil */
}

.k-drawer-mini .k-drawer.k-drawer-start, .k-drawer-expanded .k-drawer.k-drawer-start, .k-drawer-left.k-drawer-mini .k-drawer, .k-drawer-left.k-drawer-expanded .k-drawer {
    border-right-width: 0 !important;
}
/*.drawer {
    position: sticky !important;
    top:0;
}*/
.k-drawer-expanded .k-drawer.k-drawer-start {
    position: fixed !important;
}

.content-drawer {
    /*display: flex;*/
    margin: 0px;
    margin-left: 235px;
    transition: all 300ms ease-in-out;
}

.text-menu {
    font-size: 14px !important;
}

.icon-notificacion {
    background-color: #ee9e32 !important;
    -webkit-mask: url('../imagenes/icon-notification.svg') no-repeat center;
    mask: url('../imagenes/icon-notification.svg') no-repeat center;
}

.icon {
    display: block;
    width: 24px;
    height: 24px;
    background-position: center !important;
}

.float-right {
    float: right !important;
}

.toggle-iconNoti {
    background-color: transparent; /* Changed to transparent background */
    border: none;
    border-radius: 20px;
    display: flex;
}

.dropdown-menu-nav {
    background: var(--unnamed-color-ffffff) 0% 0% no-repeat padding-box;
    border: 1px solid var(--unnamed-color-e0e2e3);
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #1E22240D;
    border: 1px solid #E0E2E3;
    border-radius: 10px;
    opacity: 1;
    z-index: 500;
    position: absolute;
    font-weight: bold;
    width: 18rem !important;
    right: 315px !important;
}

    .dropdown-menu-nav:not(.active) {
        display: none;
    }

.mt-top {
    margin-top: 1.8rem !important;
}

.text-noti {
    color: #2c3e50; /* Actualizado para coincidir con el sidebar */
}

.countNoti {
    background-color: red;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 20px;
    width: 20px;
    margin-left: -13px;
    z-index: 9;
}

.text-countNoti {
    font-size: 11px;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.notification-scroll::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.notification-scroll {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.cursor {
    cursor: pointer;
}

.text-danger {
    color: #FF3131 !important;
}

.text-sm {
    font-size: 12px !important;
}

.font-normal {
    font-weight: normal !important;
}

.pb-bottom {
    padding-bottom: 0.5rem !important;
}

.notificaciones-modal {
    width: 160px;
    height: 100px;
    background-color: #398183;
    opacity: 0.7;
}

.notificaciones-modal-title {
    font-size: 12px;
    color: white;
}

.text_footerTemplate {
    color: #666666; /* Color gris discreto */
    font-size: 11px; /* Tamaño más pequeño y compacto */
    font-weight: 400; /* Peso normal */
    text-align: center; /* Centrado del texto */
    line-height: 1.2; /* Altura de línea compacta */
}
/*.drawer-footer {*/
/* position: fixed;*/
/*position: absolute;
    bottom: 30px;
    left: 0;
    color: white;
    text-align: center;
    padding: 1rem;
}*/
.drawer-footer {
    display: flex;
    height: 95vh;
    align-content: space-between;
    flex-direction: column;
    justify-content: space-between;
}

.drawer-footer {
    display: flex;
    height: 95vh;
    align-content: space-between;
    flex-direction: column;
    justify-content: space-between;
}

.drawer-chevron-icon {
    position: sticky !important;
}

.colorIconosInvertidos {
    filter: invert(1);
}

.deshabilitar-captura {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}

/* ========================================
   ESTILOS MODERNOS PARA DRAWER/SIDEBAR
   Estilos adicionales para un diseño más contemporáneo
   ======================================== */

/* Hover effect para items del drawer */
.k-drawer-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important; /* Mantener texto blanco en hover */
    border-radius: 0 !important; /* Sin bordes redondeados para consistencia */
    margin: 0 !important; /* Sin márgenes para efecto full-width */
}

/* Espaciado moderno para items del drawer */
.k-drawer-item {
    margin: 0 !important; /* Sin márgenes por defecto para efecto full-width */
    border-radius: 0 !important; /* Sin bordes redondeados por defecto */
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Solo transición de fondo */
    padding-left: 16px !important; /* Padding interno para el contenido */
    transform: translateX(0) !important; /* Posición inicial para la animación */
    will-change: background-color !important; /* Optimización solo para background */
}

    /* ========================================
   JERARQUÍA VISUAL PARA ELEMENTOS ANIDADOS
   Indentación y estilos para mostrar niveles
   ======================================== */

    /* Nivel 0 - Elementos principales */
    .k-drawer-item.k-level-0 {
        padding-left: 16px !important; /* Padding base */
        font-weight: 600 !important; /* Texto más grueso para elementos principales */
    }

    /* Nivel 1 - Primer nivel de anidación */
    .k-drawer-item.k-level-1 {
        padding-left: 40px !important; /* Indentación de 40px */
        background-color: rgba(255, 255, 255, 0.03) !important; /* Fondo ligeramente diferente */
        font-size: 13px !important; /* Texto ligeramente más pequeño */
        font-weight: 500 !important;
        border-left: 2px solid rgba(255, 255, 255, 0.1) !important; /* Línea sutil a la izquierda */
    }

    /* Nivel 2 - Segundo nivel de anidación */
    .k-drawer-item.k-level-2 {
        padding-left: 64px !important; /* Indentación de 64px */
        background-color: rgba(255, 255, 255, 0.05) !important; /* Fondo aún más diferente */
        font-size: 12px !important; /* Texto más pequeño */
        font-weight: 400 !important;
        border-left: 2px solid rgba(255, 255, 255, 0.15) !important; /* Línea más visible */
        color: rgba(255, 255, 255, 0.9) !important; /* Color ligeramente más tenue */
    }

    /* Hover effects específicos por nivel */
    .k-drawer-item.k-level-1:hover {
        background-color: rgba(255, 255, 255, 0.08) !important;
    }

    .k-drawer-item.k-level-2:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    /* Estados seleccionados para elementos anidados */
    .k-drawer-item.k-level-1.k-selected {
        border-left: 4px solid #64b5f6 !important; /* Color diferente para nivel 1 */
        background-color: rgba(100, 181, 246, 0.2) !important;
    }

    .k-drawer-item.k-level-2.k-selected {
        border-left: 4px solid #81c784 !important; /* Color diferente para nivel 2 */
        background-color: rgba(129, 199, 132, 0.2) !important;
    }

    /* Indicadores visuales adicionales para jerarquía */
    .k-drawer-item.k-level-1::before {
        content: "└" !important; /* Símbolo visual para mostrar anidación */
        position: absolute;
        left: 24px;
        color: rgba(255, 255, 255, 0.3) !important;
        font-size: 12px !important;
    }

    .k-drawer-item.k-level-2::before {
        content: "└─" !important; /* Símbolo visual más profundo */
        position: absolute;
        left: 48px;
        color: rgba(255, 255, 255, 0.3) !important;
        font-size: 11px !important;
    }

/* Asegurar que los elementos tengan position relative para el pseudo-elemento */
.k-drawer-item {
    position: relative !important;
}

    /* Espaciado para iconos en elementos anidados */
    .k-drawer-item.k-level-1 .k-svg-icon,
    .k-drawer-item.k-level-1 img {
        margin-left: 8px !important; /* Espaciado adicional para iconos anidados */
    }

    .k-drawer-item.k-level-2 .k-svg-icon,
    .k-drawer-item.k-level-2 img {
        margin-left: 16px !important; /* Más espaciado para nivel 2 */
    }

/* Mejora del texto del menú */
.text-menu {
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important; /* Texto blanco para contraste con fondo oscuro */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Animación suave del texto */
    /* Truncación de texto para navegación */
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

/* Animación para iconos del drawer */
.k-drawer .k-svg-icon,
.k-drawer img {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover effect para iconos */
.k-drawer-item:hover .k-svg-icon,
.k-drawer-item:hover img {
    transform: scale(1.1) !important; /* Escalado sutil del icono en hover */
}

/* Efecto de pulsación sutil en clic */
.k-drawer-item:active {
    transform: translateX(2px) scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* Color blanco para todos los elementos de navegación del drawer */
.k-drawer .k-nav.k-link.k-menu-link {
    color: #ffffff !important;
}

/* Color blanco para los elementos del drawer */
.k-drawer-item {
    color: #ffffff !important;
}

/* Asegurar que los iconos también tengan buen contraste */
.k-drawer .k-svg-icon {
    color: #ffffff !important;
}

/* Login Page Styles - Modern Login Design */
.modern-login-wrapper {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
}

    .modern-login-wrapper * {
        box-sizing: border-box;
    }

    .modern-login-wrapper .login-container {
        min-height: 100vh;
        display: flex;
    }

    /* Left Section - Welcome */
    .modern-login-wrapper .welcome-section {
        flex: 1;
        background: linear-gradient(135deg, #00a3b5 0%, #007a87 50%, #005c66 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem;
        color: white;
        position: relative;
        overflow: hidden;
    }

        .modern-login-wrapper .welcome-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
        }

    .modern-login-wrapper .welcome-content {
        position: relative;
        z-index: 1;
        max-width: 500px;
    }

    .modern-login-wrapper .brand-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .modern-login-wrapper .company-logo {
        display: flex;
        justify-content: center;
        margin: 2rem 0;
    }

        .modern-login-wrapper .company-logo img {
            max-width: 300px;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
            background: white;
            padding: 1rem;
        }

            .modern-login-wrapper .company-logo img:hover {
                transform: scale(1.05);
            }

    .modern-login-wrapper .brand-info .brand-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
        color: white;
        letter-spacing: -0.02em;
    }

    .modern-login-wrapper .brand-info .brand-subtitle {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
        font-weight: 400;
    }

    .modern-login-wrapper .welcome-text h2 {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1.1;
        margin: 0 0 1.5rem 0;
        color: white;
        letter-spacing: -0.02em;
    }

    .modern-login-wrapper .welcome-text p {
        font-size: 1.2rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        font-weight: 400;
    }

    /* Right Section - Form */
    .modern-login-wrapper .form-section {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem;
        background: white;
    }

    .modern-login-wrapper .form-container {
        width: 100%;
        max-width: 400px;
    }

    .modern-login-wrapper .form-header {
        text-align: center;
        margin-bottom: 2rem;
    }

        .modern-login-wrapper .form-header h2 {
            font-size: 2rem;
            font-weight: 600;
            color: #1a202c;
            margin: 0 0 0.5rem 0;
        }

        .modern-login-wrapper .form-header p {
            color: #718096;
            font-size: 1rem;
            margin: 0;
        }

    .modern-login-wrapper .form-group {
        margin-bottom: 1.5rem;
    }

        .modern-login-wrapper .form-group label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            color: #374151;
            margin-bottom: 0.5rem;
        }

    .modern-login-wrapper .form-input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.2s ease;
        background: #ffffff;
    }

        .modern-login-wrapper .form-input:focus {
            outline: none;
            border-color: rgb(5, 39, 103);
            box-shadow: 0 0 0 3px rgba(5, 39, 103, 0.1);
        }

    .modern-login-wrapper .password-wrapper {
        position: relative;
    }

    .modern-login-wrapper .password-toggle {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.25rem;
        color: #6b7280;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modern-login-wrapper .eye-icon {
        color: #6b7280;
        transition: color 0.2s ease;
    }

    .modern-login-wrapper .password-toggle:hover .eye-icon {
        color: rgb(5, 39, 103);
    }

    .modern-login-wrapper .form-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .modern-login-wrapper .checkbox-container {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 0.875rem;
        color: #374151;
    }

        .modern-login-wrapper .checkbox-container input {
            margin: 0;
            margin-right: 0.5rem;
        }

    .modern-login-wrapper .forgot-link {
        font-size: 0.875rem;
        color: rgb(5, 39, 103);
        text-decoration: none;
        font-weight: 500;
    }

        .modern-login-wrapper .forgot-link:hover {
            text-decoration: underline;
        }

    .modern-login-wrapper .login-btn {
        width: 100%;
        padding: 0.875rem 1rem;
        background: linear-gradient(135deg, #00a3b5 0%, #007a87 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        margin-bottom: 1.5rem;
    }

        .modern-login-wrapper .login-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 163, 181, 0.3);
        }

    .modern-login-wrapper .divider {
        text-align: center;
        margin: 1.5rem 0;
        position: relative;
    }

        .modern-login-wrapper .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e5e7eb;
        }

        .modern-login-wrapper .divider span {
            background: white;
            padding: 0 1rem;
            color: #6b7280;
            font-size: 0.875rem;
            position: relative;
        }

    .modern-login-wrapper .social-buttons {
        display: flex;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .modern-login-wrapper .social-btn {
        flex: 1;
        padding: 0.75rem;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        background: white;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: #374151;
    }

        .modern-login-wrapper .social-btn:hover {
            border-color: #d1d5db;
            background: #f9fafb;
        }

    .modern-login-wrapper .signup-link {
        text-align: center;
        font-size: 0.875rem;
        color: #6b7280;
    }

        .modern-login-wrapper .signup-link a {
            color: rgb(5, 39, 103);
            text-decoration: none;
            font-weight: 500;
        }

            .modern-login-wrapper .signup-link a:hover {
                text-decoration: underline;
            }

    .modern-login-wrapper .validation-message {
        color: #dc2626;
        font-size: 0.75rem;
        margin-top: 0.25rem;
        display: block;
    }

    .modern-login-wrapper .alert {
        padding: 0.75rem;
        border-radius: 8px;
        margin-bottom: 1rem;
        border: none;
    }

    .modern-login-wrapper .alert-danger {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }

/* Responsive Design for Login */
@media (max-width: 1024px) {
    .modern-login-wrapper .login-container {
        flex-direction: column;
    }

    .modern-login-wrapper .welcome-section {
        min-height: 40vh;
        padding: 2rem;
    }

    .modern-login-wrapper .welcome-text h2 {
        font-size: 2.5rem;
    }

    .modern-login-wrapper .form-section {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .modern-login-wrapper .welcome-section {
        padding: 1.5rem;
    }

    .modern-login-wrapper .welcome-text h2 {
        font-size: 2rem;
    }

    .modern-login-wrapper .form-section {
        padding: 1.5rem;
    }

    .modern-login-wrapper .social-buttons {
        flex-direction: column;
    }
}
/* Ocultar los botones */
.proveedorNumeroHide {
    display: none !important; /* Ocultar botones del drawer */
}

.config-user {
    display: flex;
    flex-direction: row;
    /* height: 50vh;*/
    align-content: center;
    justify-content: flex-start;
    align-items: start;
    /*margin-top: 7% !important;*/
}

.config-user-individual {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.config-user-individual-filter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.border-config-user {
    box-shadow: #fbfbfb 0px 0px 73px 10px, #818181 0px 0px 13px -2px;
    border-radius: 8px;
    height: 85vh;
    background-color: #f1f1f1;
    margin-left: 2%;
}

.border-config-user-filter {
    box-shadow: #fbfbfb 0px 0px 73px 10px, #818181 0px 0px 13px -2px;
    border-radius: 8px;
    background-color: #f1f1f1;
    margin-left: 2%;
    width: -webkit-fill-available;
}

.celda-descripcionBlanco {
    background-color: var(--kendo-color-surface-alt, #ffffff) !important;
}

.celda-descripcionGris {
     background-color: color-mix(in srgb, var(--kendo-color-on-app-surface, #424242) 5%, transparent) !important;
}

/* Telerik Button Hover Accent Colors - Turquoise Theme */
.k-button:hover,
.k-button.k-hover {
    background-color: rgba(0, 163, 181, 0.15) !important;
    border-color: rgba(0, 163, 181, 0.15) !important;
    transition: all 0s !important;
}

.k-button.k-primary:hover,
.k-button.k-primary.k-hover,
.k-button.k-button-solid-primary:hover,
.k-button-solid-primary:hover {
    background-color: #007a87 !important;
    border-color: #007a87 !important;
    color: white !important;
    transition: all 0s !important;
}

.k-button.k-secondary:hover,
.k-button.k-secondary.k-hover {
    background-color: rgba(0, 163, 181, 0.2) !important;
    border-color: rgba(0, 163, 181, 0.2) !important;
    transition: all 0s !important;
}

/* Telerik Grid Row Selection - Turquoise Theme */
.k-grid .k-table-tbody .k-table-row.k-selected > .k-table-td {
    background-color: #8dd3dd !important;
    color: inherit !important;
}

/* Grid row hover effects */
.k-table-tbody > .k-table-row:hover,
.k-table-tbody > .k-table-row.k-hover {
    background-color: rgba(141, 211, 221, 0.5) !important; /* Very subtle transparent turquoise for hover */
}

/* Component Group Disable/Enable System - CSS-based for efficiency */
.component-group-disabled {
    pointer-events: none !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    user-select: none !important;
    position: relative;
}

.component-group-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 999;
    pointer-events: none;
}
/*nuevo para adaptix*/
.cove-container {
    max-width: 900px;
    margin: 20px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.form-section-tarjeta {
    margin-bottom: 15px !important;
    padding: 8px !important;
    box-shadow: #fbfbfb 0px 0px 73px 10px, #818181 0px 0px 13px -2px;
    border: none !important;
    border-radius: 8px;
}
.form-section-radius{
    border-radius:8px;
}
.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row-three {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}
.form-group-horizontal {
    display: flex;
    flex-direction: row;
}


    .form-group :deep(.k-textbox),
    .form-group :deep(.k-textarea) {
        padding: 10px 12px;
        border-radius: 4px;
        transition: all 0.2s;
    }

    .form-group :deep(.k-textbox:focus),
    .form-group :deep(.k-textarea:focus) {
        border-color: #3b82f6;
        outline: none;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-input :deep(.k-textbox) {
        flex: 1;
        padding-right: 40px;
    }

.eye-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-electronico-label {
    color: #22c55e;
    font-weight: 600;
}

.form-group-info {
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
}

.validity-label {
    font-weight: 500;
}

.form-row-obligatoriedad {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 14px;
}

.nea-group {
    display: flex;
    flex-direction: column;
}

    .nea-group :deep(.k-textbox) {
        padding: 10px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        max-width: 150px;
    }

.checkbox-obligatoriedad {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .checkbox-obligatoriedad :deep(.k-checkbox) {
        margin-top: 3px;
    }


.radio-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 25px;
}

    .radio-group :deep(.k-radio) {
        margin: 0;
    }

.btn-rfc {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-rfc:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

.checkbox-group {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
}

    .checkbox-group :deep(.k-checkbox) {
        margin: 0;
    }
.btn-dropzone {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-dropzone:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
.input-warning {
    border: 1px solid red !important;
}
.global-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999 !important;
    pointer-events: all;
}
.agregarRol, .k-picker-solid {
    background-color: transparent !important;
}
.k-numerictextbox input {
    text-align: right;
}
.date-input-auto:focus,
.pais-moneda-input:focus {
    outline: none;
    box-shadow: none;
    border-color: #ced4da;
}
.bloqueado {
    pointer-events: none;
    opacity: 0.5;
}
.contenedor-chatbot {
    display: flex;
    justify-content: flex-end;
    padding-right: 21px;
    z-index: 9999999;
    flex-direction: row;
    align-items: center;
    padding-right: 0px;
}

.contenedor-interno-chatbot {
    display: flex;
    position: fixed;
    top: 89%;
    z-index: 9999999;
}

.chat-input-field {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: box-shadow 0.2s ease;
    resize: none;
    overflow-y: hidden;
}
/* Estilos para el div editable */
.editable-div {
    display: block;
    white-space: pre-wrap; /* Permite saltos de línea */
    word-wrap: break-word; /* Rompe palabras largas */
    min-height: 20px;
    line-height: 20px;
}

    .editable-div:empty:before {
        content: attr(data-placeholder);
        color: #9ca3af;
    }

.chat-input-field:focus {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

.chat-input-field::placeholder {
    color: #9ca3af;
}

.chat-header {
    margin-bottom: 2%;
    /* margin-top: 2%;*/
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-color: #6891a900;
    border-bottom-style: solid;
    border-radius: 8px;
    background-image: linear-gradient(to bottom, #188ed33d, rgba(104, 145, 169, 0));
}

.text-chat {
    text-align: justify;
}
.contenedor-usuario {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 2%;
    align-items: center;
}

.text-usuario {
    background-color: #6891a9;
    border-radius: 8px;
    padding: 10px;
    color: white;
}

.chat-input {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

    .chat-input .input-container {
        position: relative;
    }

    .chat-input .chat-input-field {
        width: 100%;
        padding-right: 30px;
    }

    .chat-input .input-container svg {
        position: absolute;
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
    }


.float-right {
    float: right !important;
}

.toggle-iconChatBot {
    border: none;
    display: flex;
    position: absolute;
}

.dropdown-menu-nav {
    background: var(--unnamed-color-ffffff) 0% 0% no-repeat padding-box;
    border: 1px solid var(--unnamed-color-e0e2e3);
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #1E22240D;
    border: 1px solid #E0E2E3;
    border-radius: 10px;
    opacity: 1;
    z-index: 500;
    position: absolute;
    font-weight: bold;
    width: 18rem !important;
    right: 315px !important;
}

    .dropdown-menu-nav:not(.active) {
        display: none;
    }

.mt-top {
    margin-top: -31.5rem !important;
}

/* Thicker checkbox border for better visibility */
.k-checkbox {
    border-width: 2px !important;
    border-color: #555555 !important;
}

/* More noticeable disabled button state */
.k-button.k-disabled,
.k-button:disabled {
    opacity: 0.5 !important;
    filter: grayscale(100%) !important;
    background-color: #c8c8c8 !important;
    border-color: #aaaaaa !important;
    color: #888888 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
}