@import 'Administracion.Client.30tibw8a6t.bundle.scp.css';
@import '_content/Common.Components/Common.Components.fmtumtdnf3.bundle.scp.css';

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

.sidebar[b-l02zkycqut] {
    background-color: #ffffff;
    border-right: 1px solid #e2e8f0;
    width: 64px;
    height: 100vh;
    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: 274px; /* 64px + 210px */
}


.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-image: url('images/banner/bannerlogo.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat repeat;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    height: 65px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #ffffff;
    z-index: 10;
    justify-content: flex-end;
}

@media (min-width: 641px) {
    .top-row[b-l02zkycqut] {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        height: 65px !important;
        width: auto !important;
        z-index: 100 !important;
    }
    
    main[b-l02zkycqut] {
        padding-top: 65px !important;
        position: relative !important;
    }
}

.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;
    }
    
    .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;
    height: calc(100vh - 65px);
    overflow-y: auto;
    direction: rtl;
    scroll-behavior: smooth;
    flex-shrink: 0;
    background-color: #3a4859;
}

.nav-scrollable > nav[b-hilxy4ha9x] {
    direction: ltr;
}



.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;
}

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

.menu-item-icon-container[b-hilxy4ha9x] {
    width: 38px;
    height: 38px;
    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;
}

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

.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: transparent;
}

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

.submenu-link[b-hilxy4ha9x] {
    display: flex;
    align-items: center;
    padding: 8px 12px; /* Reduced padding for a more compact and elegant layout */
    margin: 4px 8px; /* Reduced margin to fit in a narrower drawer */
    border-radius: 6px;
    color: #404752;
    text-decoration: none !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s 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: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    flex-shrink: 0;
    padding: 3px;
    transition: all 0.2s ease-in-out;
    z-index: 3;
    border: none;
}

/* Estados de Hover y Activo en Sub-items */
.submenu-link:hover[b-hilxy4ha9x] {
    background-color: #e2e2e2;
    color: #1c1b1a !important;
}

.submenu-link.active[b-hilxy4ha9x] {
    background-color: #d5e4fa;
    color: #005faa !important;
    font-weight: 600;
}

/* Barra vertical de acento izquierdo para elemento activo */
.submenu-link.active[b-hilxy4ha9x]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background-color: #005faa;
    border-radius: 0 4px 4px 0;
}

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

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

/* Encabezados y anidamientos de grupos de submenú (3er nivel - Estilo Plano y Acordeón) */
.submenu-group-card[b-hilxy4ha9x] {
    margin-top: 8px;
    margin-bottom: 4px;
}

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

.submenu-group-header[b-hilxy4ha9x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px 6px 24px;
    cursor: pointer;
    user-select: none;
}

.submenu-group-title[b-hilxy4ha9x] {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    user-select: none;
}

.submenu-group-arrow[b-hilxy4ha9x] {
    font-size: 10px;
    color: #6880b0; /* Blue color matching the icon background of the app */
    transition: transform 0.25s ease-in-out;
    margin-right: 4px;
}

.submenu-group-card.expanded .submenu-group-arrow[b-hilxy4ha9x] {
    transform: rotate(180deg);
}

.submenu-group-items[b-hilxy4ha9x] {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    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: 500px;
    opacity: 1;
}

.submenu-link.submenu-nested[b-hilxy4ha9x] {
    padding-left: 22px !important; /* Adjusted indentation for narrower drawer */
}


/* Flyout Drawer */
.flyout-drawer[b-hilxy4ha9x] {
    position: absolute;
    left: 64px;
    top: 0;
    bottom: 0;
    width: 210px; /* Reduced width to make the drawer more slender and less square */
    background-color: #fbfbfb;
    border-right: 1px solid #e2e8f0;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.03);
    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: 65px;
    border-bottom: none; /* Removed bottom border for a cleaner, organic flow */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.flyout-title[b-hilxy4ha9x] {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1c1b1a;
    letter-spacing: 0.01em;
}

.flyout-close-btn[b-hilxy4ha9x] {
    background: transparent;
    border: none;
    color: #ef4444; /* Organic red for the close button */
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.flyout-close-btn:hover[b-hilxy4ha9x] {
    color: #b91c1c; /* Darker red on hover */
}

.flyout-body[b-hilxy4ha9x] {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}
