@import 'Administracion.Client.ppssby1gvj.bundle.scp.css';
@import '_content/Common.Components/Common.Components.jafmrjfncx.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-l02zkycqut] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.layout-shell[b-l02zkycqut] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.sidebar[b-l02zkycqut] {
    background-color: #ffffff;
    border-right: 1px solid #e2e8f0;
    width: 64px;
    height: calc(100vh - 65px);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Widen the sidebar when the flyout is open */
.flyout-open .sidebar[b-l02zkycqut] {
    width: 284px; /* 64px + 220px */
}


.logo-section[b-l02zkycqut] {
    background-color: #3a4859;
    height: 65px;
    width: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0.5rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

main[b-l02zkycqut] {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
}

.top-row[b-l02zkycqut] {
    background-color: #00a8fb;
    background-image: url('images/banner/banner_superior.jpeg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    height: 65px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #ffffff;
    position: relative;
    z-index: 1050;
    justify-content: flex-end;
    flex-shrink: 0;
}

.toggle-btn[b-l02zkycqut] {
    color: #4f6796 !important;
    font-size: 20px;
    padding: 5px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:hover[b-l02zkycqut] {
    opacity: 0.8;
}

.toggle-btn i[b-l02zkycqut] {
    color: #4f6796 !important;
    transition: transform 0.2s ease-in-out;
}

.sidebar-collapsed .toggle-btn i[b-l02zkycqut] {
    transform: rotate(90deg);
}

.header-actions[b-l02zkycqut] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-btn-container[b-l02zkycqut] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-circle[b-l02zkycqut] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s, transform 0.1s;
    cursor: pointer;
}

.action-circle:hover[b-l02zkycqut] {
    background-color: #f1f5f9;
    transform: scale(1.05);
}

.action-circle i[b-l02zkycqut] {
    color: #00b1e1;
    font-size: 18px;
}

.badge-container[b-l02zkycqut] {
    position: relative;
}

.badge-count[b-l02zkycqut] {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ff3b30;
    color: #ffffff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: opacity-badge-b-l02zkycqut 0.6s infinite alternate;
}

@keyframes opacity-badge-b-l02zkycqut {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1.15);
    }
}

.user-profile-container[b-l02zkycqut] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    user-select: none;
}

.user-profile-container:hover .action-circle[b-l02zkycqut] {
    background-color: #f1f5f9;
    transform: scale(1.05);
}

.user-profile-container:hover .user-name-text[b-l02zkycqut] {
    opacity: 0.9;
}

.user-name-text[b-l02zkycqut] {
    color: #ffffff;
    margin-right: 2px;
    font-size: 13px;
}

.user-caret[b-l02zkycqut] {
    color: #ffffff;
    font-size: 12px;
}

article[b-l02zkycqut] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
}

#blazor-error-ui[b-l02zkycqut] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-l02zkycqut] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 640.98px) {
    .sidebar[b-l02zkycqut] {
        position: absolute;
        z-index: 100;
        left: -220px;
        height: calc(100vh - 65px);
    }
    
    .sidebar-collapsed .sidebar[b-l02zkycqut] {
        left: 0;
        width: 220px;
    }

    .sidebar-collapsed .logo-collapsed-container[b-l02zkycqut] {
        display: none;
    }

    .sidebar-collapsed .logo-expanded-container[b-l02zkycqut] {
        display: flex;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-scrollable[b-hilxy4ha9x] {
    width: 64px;
    flex: 1;
    min-height: 0;
    height: auto;
    overflow-y: auto;
    direction: rtl;
    scroll-behavior: smooth;
    flex-shrink: 0;
    background-color: #3a4859;
}

.nav-scrollable > nav[b-hilxy4ha9x] {
    direction: ltr;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}



.menu-item[b-hilxy4ha9x] {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    font-family: Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #b9c8dd;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
    text-decoration: none !important;
    background-color: transparent !important;
    border-bottom: none !important;
}

.solution-administration[b-hilxy4ha9x] {
    margin-top: auto;
}

.menu-item:focus[b-hilxy4ha9x] {
    outline: none !important;
    box-shadow: none !important;
}

.menu-item-icon-container[b-hilxy4ha9x] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 2px;
    transition: all 0.2s ease-in-out;
}

.menu-item:hover .menu-item-icon-container[b-hilxy4ha9x] {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.menu-item.active .menu-item-icon-container[b-hilxy4ha9x] {
    background-color: rgba(255, 255, 255, 0.15); /* Light highlight */
    border-color: #00b1e1; /* Cyan border */
}

.menu-item.active:hover .menu-item-icon-container[b-hilxy4ha9x] {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #00b1e1;
}

/* Active Font Awesome solution icons use color and size instead of a circle. */
.menu-item.active .menu-item-icon-container:has(.menu-item-fa-icon)[b-hilxy4ha9x],
.menu-item.active:hover .menu-item-icon-container:has(.menu-item-fa-icon)[b-hilxy4ha9x] {
    background-color: transparent;
    border-color: transparent;
}

.menu-item-image[b-hilxy4ha9x] {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.menu-item-fa-icon[b-hilxy4ha9x] {
    font-size: 20px;
    color: #eef3f8;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.menu-item:hover .menu-item-fa-icon[b-hilxy4ha9x] {
    color: #ffffff;
    transform: scale(1.15);
}

.menu-item.active .menu-item-fa-icon[b-hilxy4ha9x] {
    color: #00b1e1;
    font-size: 24px;
    transform: none;
}

.menu-item.active:hover .menu-item-fa-icon[b-hilxy4ha9x] {
    color: #00b1e1;
    font-size: 26px;
    transform: none;
}

.menu-item-text[b-hilxy4ha9x] {
    display: none !important;
}

.expand-arrow[b-hilxy4ha9x] {
    display: none !important;
}

/* Tooltip styles */
.menu-item[data-tooltip][b-hilxy4ha9x] {
    position: relative;
}

.menu-item[data-tooltip][b-hilxy4ha9x]::before {
    content: attr(data-tooltip);
    position: fixed;
    left: 74px;
    margin-top: -15px; /* Offset to center relative to item */
    background-color: #1e293b;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: Calibri, Arial, sans-serif;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.menu-item[data-tooltip][b-hilxy4ha9x]::after {
    content: '';
    position: fixed;
    left: 68px;
    margin-top: -6px; /* Offset to center relative to item */
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #1e293b;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
    z-index: 1000;
}

.menu-item[data-tooltip]:hover[b-hilxy4ha9x]::before,
.menu-item[data-tooltip]:hover[b-hilxy4ha9x]::after {
    opacity: 1;
}

/* Ocultar tooltip para el item de menú activo cuyo panel ya está abierto */
.menu-item.active[data-tooltip][b-hilxy4ha9x]::before,
.menu-item.active[data-tooltip][b-hilxy4ha9x]::after {
    display: none !important;
}

/* Muesca triangular para el grupo agrupador en hover */
.menu-item-parent:hover[b-hilxy4ha9x]::after {
    display: none !important;
}
/* Contenedor colapsable del submenú */
.submenu-wrapper[b-hilxy4ha9x] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.submenu-wrapper.expanded[b-hilxy4ha9x] {
    max-height: 350px;
}

/* Árbol del Sub-menú */
.submenu-tree[b-hilxy4ha9x] {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #ffffff;
}

.submenu-item[b-hilxy4ha9x] {
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
}

.submenu-link[b-hilxy4ha9x] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid #ffffff;
    background-color: #ffffff;
    color: #1f2937;
    text-decoration: none !important;
    font-family: Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    position: relative;
}

.submenu-link:focus[b-hilxy4ha9x] {
    outline: none !important;
    box-shadow: none !important;
}

/* Icono en miniatura del sub-item */
.submenu-icon-circle[b-hilxy4ha9x] {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 9px;
    flex-shrink: 0;
    padding: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease-in-out;
    z-index: 2;
}

/* Estados de Hover y Activo en Sub-items - Cyan vibrante #00b1e1 */
.submenu-link:hover[b-hilxy4ha9x],
.submenu-link.active[b-hilxy4ha9x],
.submenu-link.active:hover[b-hilxy4ha9x] {
    background-color: #00b1e1 !important;
    border-bottom: 1px solid #ffffff !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

.submenu-link:hover .submenu-icon-circle[b-hilxy4ha9x],
.submenu-link.active .submenu-icon-circle[b-hilxy4ha9x] {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.submenu-link:hover .submenu-text[b-hilxy4ha9x],
.submenu-link.active .submenu-text[b-hilxy4ha9x] {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Icono de imagen en el sub-item */
.submenu-icon-image[b-hilxy4ha9x] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.submenu-fa-icon[b-hilxy4ha9x] {
    font-size: 13px;
    color: #005faa;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: all 0.15s ease-in-out;
}

.submenu-link:hover .submenu-fa-icon[b-hilxy4ha9x],
.submenu-link.active .submenu-fa-icon[b-hilxy4ha9x],
.submenu-group-header:hover .submenu-fa-icon[b-hilxy4ha9x] {
    color: #005faa !important;
}

.submenu-text[b-hilxy4ha9x] {
    color: inherit;
    font-size: 13px;
    font-weight: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

/* Encabezados y anidamientos de grupos de submenú */
.submenu-group-card[b-hilxy4ha9x] {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu-group-card.expanded[b-hilxy4ha9x] {
    padding-bottom: 0;
}

.submenu-group-header[b-hilxy4ha9x] {
    display: flex;
    align-items: center;
    padding: 7px 12px;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid #ffffff;
    cursor: pointer;
    user-select: none;
    background-color: #ffffff;
    transition: background-color 0.15s ease-in-out;
    position: relative;
}

/* Hover en el grupo (al pasar el mouse sobre la cabecera o sobre cualquiera de sus hijos) */
.submenu-group-card:hover > .submenu-group-header[b-hilxy4ha9x] {
    background-color: #00b1e1 !important;
    border-bottom: 1px solid #ffffff !important;
}

/* Muesca triangular blanca en el extremo derecho del módulo agrupador al estar en hover */
.submenu-group-card:hover > .submenu-group-header[b-hilxy4ha9x]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #ffffff;
    z-index: 5;
    pointer-events: none;
}

.submenu-group-card:hover > .submenu-group-header .submenu-group-title[b-hilxy4ha9x],
.submenu-group-card:hover > .submenu-group-header .submenu-group-arrow[b-hilxy4ha9x] {
    color: #000000 !important;
}

.submenu-group-card:hover > .submenu-group-header .submenu-icon-circle[b-hilxy4ha9x] {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.submenu-group-card:hover > .submenu-group-header .submenu-fa-icon[b-hilxy4ha9x] {
    color: #005faa !important;
}

/* Grupo Expandido en Reposo (Fondo blanco, flecha hacia abajo negra) */
.submenu-group-card.expanded > .submenu-group-header[b-hilxy4ha9x] {
    background-color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

.submenu-group-card.expanded > .submenu-group-header .submenu-group-title[b-hilxy4ha9x] {
    color: #111827;
    font-weight: 700;
}

.submenu-group-card.expanded > .submenu-group-header .submenu-group-arrow[b-hilxy4ha9x] {
    color: #111827;
    transform: rotate(90deg);
}

.submenu-group-card.expanded > .submenu-group-header .submenu-icon-circle[b-hilxy4ha9x] {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.submenu-group-card.expanded > .submenu-group-header .submenu-fa-icon[b-hilxy4ha9x] {
    color: #005faa;
}

.submenu-group-title[b-hilxy4ha9x] {
    font-family: Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    color: #111827;
    letter-spacing: 0.01em;
    user-select: none;
    flex-grow: 1;
    margin: 0;
}

/* Icono del módulo contenedor mostrado junto al título del grupo */
.submenu-group-header .submenu-group-icon[b-hilxy4ha9x] {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
    flex-shrink: 0;
}

.submenu-group-arrow[b-hilxy4ha9x] {
    font-size: 11px;
    color: #64748b;
    transition: transform 0.2s ease-in-out, color 0.15s ease-in-out;
    margin-left: auto;
}

/* Lista de submódulos hijos */
.submenu-group-items[b-hilxy4ha9x] {
    position: relative;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease-in-out;
}

.submenu-group-card.expanded > .submenu-group-items[b-hilxy4ha9x] {
    max-height: 9999px;
    opacity: 1;
}

/* Sub-items hijos dentro de un grupo con indentación limpia */
.submenu-group-items .submenu-link[b-hilxy4ha9x] {
    padding-left: 24px !important;
}

.submenu-link.submenu-nested[b-hilxy4ha9x] {
    padding-left: 24px !important;
}

/* Indentación progresiva por nivel de anidamiento */
.submenu-link.submenu-depth-3[b-hilxy4ha9x] { padding-left: 36px !important; }
.submenu-link.submenu-depth-4[b-hilxy4ha9x] { padding-left: 48px !important; }
.submenu-link.submenu-depth-5[b-hilxy4ha9x] { padding-left: 60px !important; }
.submenu-link.submenu-depth-6[b-hilxy4ha9x] { padding-left: 72px !important; }
.submenu-link.submenu-depth-7[b-hilxy4ha9x] { padding-left: 84px !important; }
.submenu-link.submenu-depth-8[b-hilxy4ha9x] { padding-left: 96px !important; }

/* Indentación progresiva del grupo completo (card) por nivel de anidamiento */
.submenu-group-card.submenu-group-depth-2[b-hilxy4ha9x] { padding-left: 8px; }
.submenu-group-card.submenu-group-depth-3[b-hilxy4ha9x] { padding-left: 16px; }
.submenu-group-card.submenu-group-depth-4[b-hilxy4ha9x] { padding-left: 24px; }
.submenu-group-card.submenu-group-depth-5[b-hilxy4ha9x] { padding-left: 32px; }
.submenu-group-card.submenu-group-depth-6[b-hilxy4ha9x] { padding-left: 40px; }
.submenu-group-card.submenu-group-depth-7[b-hilxy4ha9x] { padding-left: 48px; }
.submenu-group-card.submenu-group-depth-8[b-hilxy4ha9x] { padding-left: 56px; }

/* Flyout Drawer */
.flyout-drawer[b-hilxy4ha9x] {
    position: absolute;
    left: 64px;
    top: 0;
    bottom: 0;
    width: 220px;
    background-color: #ffffff;
    border-right: 1px solid #cbd5e1;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    z-index: 10;
}

.drawer-logo-section[b-hilxy4ha9x] {
    height: 65px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.drawer-logo[b-hilxy4ha9x] {
    max-width: 90%;
    max-height: 50px;
    object-fit: contain;
}

.flyout-drawer.active[b-hilxy4ha9x] {
    display: flex;
    animation: slide-in-b-hilxy4ha9x 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-in-b-hilxy4ha9x {
    from {
        transform: translateX(-10px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flyout-header[b-hilxy4ha9x] {
    height: 38px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.flyout-title[b-hilxy4ha9x] {
    font-family: Calibri, Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #1c1b1a;
    letter-spacing: 0.01em;
}

.flyout-close-btn[b-hilxy4ha9x] {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 13px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, transform 0.15s;
}

.flyout-close-btn:hover[b-hilxy4ha9x] {
    color: #00b1e1;
    transform: translateX(-2px);
}

.flyout-body[b-hilxy4ha9x] {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background-color: #ffffff;
}
