@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Layout/ChatBot.razor.rz.scp.css */
/* Contenedor principal del chatbot */
.chatbot-container[b-humk5twyao] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Botón flotante */
.chatbot-toggle[b-humk5twyao] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover[b-humk5twyao] {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

.chatbot-toggle-icon[b-humk5twyao] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-toggle i[b-humk5twyao] {
    color: white;
    font-size: 24px;
}

/* Badge de mensajes sin leer */
.chatbot-badge[b-humk5twyao] {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
    animation: pulse-b-humk5twyao 2s infinite;
}

@keyframes pulse-b-humk5twyao {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Ventana del chat */
.chatbot-window[b-humk5twyao] {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 550px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: slideUp-b-humk5twyao 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp-b-humk5twyao {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-container.minimized .chatbot-window[b-humk5twyao] {
    display: none;
}

/* Header del chat */
.chatbot-header[b-humk5twyao] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.chatbot-logo[b-humk5twyao] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 4px;
}

.chatbot-header h6[b-humk5twyao] {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.chatbot-header small[b-humk5twyao] {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.chatbot-header .btn-link[b-humk5twyao] {
    padding: 4px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chatbot-header .btn-link:hover[b-humk5twyao] {
    opacity: 1;
}

/* Contenedor de mensajes */
.chatbot-messages[b-humk5twyao] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-messages[b-humk5twyao]::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages[b-humk5twyao]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chatbot-messages[b-humk5twyao]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.chatbot-messages[b-humk5twyao]::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mensajes */
.mensaje[b-humk5twyao] {
    display: flex;
    gap: 8px;
    animation: fadeIn-b-humk5twyao 0.3s ease;
}

@keyframes fadeIn-b-humk5twyao {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mensaje-usuario[b-humk5twyao] {
    flex-direction: row-reverse;
}

.mensaje-avatar[b-humk5twyao] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: white;
    padding: 4px;
}

.mensaje-avatar-placeholder[b-humk5twyao] {
    width: 32px;
    flex-shrink: 0;
}

.mensaje-contenido[b-humk5twyao] {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mensaje-texto[b-humk5twyao] {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}

.mensaje-bot .mensaje-texto[b-humk5twyao] {
    background: white;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mensaje-usuario .mensaje-texto[b-humk5twyao] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.mensaje-hora[b-humk5twyao] {
    font-size: 10px;
    color: #999;
    padding: 0 4px;
}

.mensaje-usuario .mensaje-hora[b-humk5twyao] {
    text-align: right;
}

/* Indicador de escritura */
.typing-indicator[b-humk5twyao] {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: white;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

.typing-indicator span[b-humk5twyao] {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing-b-humk5twyao 1.4s infinite;
}

.typing-indicator span:nth-child(2)[b-humk5twyao] {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3)[b-humk5twyao] {
    animation-delay: 0.4s;
}

@keyframes typing-b-humk5twyao {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Input de mensaje */
.chatbot-input[b-humk5twyao] {
    padding: 16px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 8px;
}

.chatbot-input input[b-humk5twyao] {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.chatbot-input input:focus[b-humk5twyao] {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.chatbot-input button[b-humk5twyao] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-input button:disabled[b-humk5twyao] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sugerencias rápidas */
.chatbot-suggestions[b-humk5twyao] {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.chatbot-suggestions button[b-humk5twyao] {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.2s;
    margin-right: 4px;
}

.chatbot-suggestions button:hover[b-humk5twyao] {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.chatbot-suggestions .gap-1[b-humk5twyao] {
    gap: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .chatbot-window[b-humk5twyao] {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 90px;
        right: 20px;
    }

    .mensaje-contenido[b-humk5twyao] {
        max-width: 80%;
    }

    .chatbot-toggle[b-humk5twyao] {
        width: 56px;
        height: 56px;
    }

    .chatbot-toggle-icon[b-humk5twyao] {
        width: 32px;
        height: 32px;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-2kx7cp0siu] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-2kx7cp0siu] {
    flex: 1;
    transition: margin-left 0.3s ease;
}

.sidebar[b-2kx7cp0siu] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    transition: width 0.3s ease;
}

.top-row[b-2kx7cp0siu] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.logo-header[b-2kx7cp0siu] {
    height: 2.5rem;
    max-width: 150px;
    object-fit: contain;
    margin-right: auto;
}

    .top-row[b-2kx7cp0siu]  a, .top-row[b-2kx7cp0siu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-2kx7cp0siu]  a:hover, .top-row[b-2kx7cp0siu]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-2kx7cp0siu]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-2kx7cp0siu] {
        justify-content: space-between;
    }

    .logo-header[b-2kx7cp0siu] {
        height: 2rem;
        max-width: 100px;
    }

    .top-row[b-2kx7cp0siu]  a, .top-row[b-2kx7cp0siu]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-2kx7cp0siu] {
        flex-direction: row;
    }

    .sidebar[b-2kx7cp0siu] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .sidebar.collapsed[b-2kx7cp0siu] {
        width: 70px;
    }

    .sidebar.collapsed .nav-text[b-2kx7cp0siu] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        opacity: 0 !important;
        font-size: 0 !important;
        max-width: 0 !important;
        overflow: hidden !important;
    }

    .sidebar.collapsed .navbar-brand[b-2kx7cp0siu] {
        display: none !important;
        visibility: hidden !important;
    }

    .sidebar.collapsed .nav-item[b-2kx7cp0siu] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sidebar.collapsed .nav-link[b-2kx7cp0siu] {
        justify-content: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sidebar.collapsed .bi[b-2kx7cp0siu] {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .top-row[b-2kx7cp0siu] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-2kx7cp0siu]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-2kx7cp0siu], article[b-2kx7cp0siu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-439yc0ooww] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-439yc0ooww] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-439yc0ooww] {
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.btn-toggle-sidebar[b-439yc0ooww] {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.btn-toggle-sidebar:hover[b-439yc0ooww] {
    transform: scale(1.2);
}

.bi[b-439yc0ooww] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    flex-shrink: 0;
}

.nav-text[b-439yc0ooww] {
    white-space: nowrap;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.bi-house-door-fill-nav-menu[b-439yc0ooww] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-439yc0ooww] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-people-fill-nav-menu[b-439yc0ooww] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-people-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7Zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216ZM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E");
}

.bi-calendar-check-nav-menu[b-439yc0ooww] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-calendar-check' viewBox='0 0 16 16'%3E%3Cpath d='M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z'/%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
}

.bi-calendar-week-nav-menu[b-439yc0ooww] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-calendar-week' viewBox='0 0 16 16'%3E%3Cpath d='M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-5 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z'/%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
}

.bi-cash-coin-nav-menu[b-439yc0ooww] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-cash-coin' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11 15a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm5-4a5 5 0 1 1-10 0 5 5 0 0 1 10 0z'/%3E%3Cpath d='M9.438 11.944c.047.596.518 1.06 1.363 1.116v.44h.375v-.443c.875-.061 1.386-.529 1.386-1.207 0-.618-.39-.936-1.09-1.1l-.296-.07v-1.2c.376.043.614.248.671.532h.658c-.047-.575-.54-1.024-1.329-1.073V8.5h-.375v.45c-.747.073-1.255.522-1.255 1.158 0 .562.378.92 1.007 1.066l.248.061v1.272c-.384-.058-.639-.27-.696-.563h-.668zm1.36-1.354c-.369-.085-.569-.26-.569-.522 0-.294.216-.514.572-.578v1.1h-.003zm.432.746c.449.104.655.272.655.569 0 .339-.257.571-.709.614v-1.195l.054.012z'/%3E%3Cpath d='M1 0a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4.083c.058-.344.145-.678.258-1H3a2 2 0 0 0-2-2V3a2 2 0 0 0 2-2h10a2 2 0 0 0 2 2v3.528c.38.34.717.728 1 1.154V1a1 1 0 0 0-1-1H1z'/%3E%3Cpath d='M9.998 5.083 10 5a2 2 0 1 0-3.132 1.65 5.982 5.982 0 0 1 3.13-1.567z'/%3E%3C/svg%3E");
}

.bi-diagram-3-fill-nav-menu[b-439yc0ooww] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-diagram-3-fill' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6 3.5A1.5 1.5 0 0 1 7.5 2h1A1.5 1.5 0 0 1 10 3.5v1A1.5 1.5 0 0 1 8.5 6v1H14a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0v-1A.5.5 0 0 1 2 7h5.5V6A1.5 1.5 0 0 1 6 4.5v-1zm-6 8A1.5 1.5 0 0 1 1.5 10h1A1.5 1.5 0 0 1 4 11.5v1A1.5 1.5 0 0 1 2.5 14h-1A1.5 1.5 0 0 1 0 12.5v-1zm6 0A1.5 1.5 0 0 1 7.5 10h1a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5v-1zm6 0a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-1z'/%3E%3C/svg%3E");
}

.bi-wallet2-nav-menu[b-439yc0ooww] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-wallet2' viewBox='0 0 16 16'%3E%3Cpath d='M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499L12.136.326zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484L5.562 3zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z'/%3E%3C/svg%3E");
}

.nav-item[b-439yc0ooww] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item.collapsed-item[b-439yc0ooww] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-item.collapsed-item[b-439yc0ooww]  a {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-item.collapsed-item .bi[b-439yc0ooww] {
    margin-right: 0 !important;
}

.nav-item.collapsed-item .nav-parent[b-439yc0ooww] {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-item.collapsed-item .nav-parent .bi[b-439yc0ooww] {
    margin-right: 0 !important;
}

    .nav-item:first-of-type[b-439yc0ooww] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-439yc0ooww] {
        padding-bottom: 1rem;
    }

    .nav-item[b-439yc0ooww]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        overflow: hidden;
    }

.nav-item[b-439yc0ooww]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-439yc0ooww]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Estilos para menú padre */
.nav-parent[b-439yc0ooww] {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    line-height: 3rem;
    overflow: hidden;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.nav-parent:hover[b-439yc0ooww] {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-parent.expanded[b-439yc0ooww] {
    background-color: rgba(255,255,255,0.15);
    color: white;
}

/* Evitar que el padre se vea activo cuando un hijo está activo */
.nav-parent.has-active-child[b-439yc0ooww] {
    background-color: transparent !important;
    color: #d7d7d7;
}

.nav-parent.has-active-child:hover[b-439yc0ooww] {
    background-color: rgba(255,255,255,0.1) !important;
    color: white;
}

/* Estilos para submenús */
.submenu[b-439yc0ooww] {
    margin-left: 1rem;
    border-left: 2px solid rgba(255,255,255,0.2);
    padding-left: 0.5rem;
}

.submenu-link[b-439yc0ooww] {
    height: 2.5rem !important;
    line-height: 2.5rem !important;
    font-size: 0.85rem !important;
    padding-left: 0.5rem !important;
}

.submenu-link .bi[b-439yc0ooww] {
    width: 1rem !important;
    height: 1rem !important;
    margin-right: 0.5rem !important;
}

@media (min-width: 641px) {
    .navbar-toggler[b-439yc0ooww] {
        display: none;
    }

    .collapse[b-439yc0ooww] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-439yc0ooww] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Reglas adicionales para sidebar colapsado */
[b-439yc0ooww] .sidebar.collapsed .nav-text {
    display: none !important;
}

[b-439yc0ooww] .sidebar.collapsed .nav-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

[b-439yc0ooww] .sidebar.collapsed .nav-link {
    justify-content: center !important;
    padding: 0 !important;
}

[b-439yc0ooww] .sidebar.collapsed .nav-parent {
    justify-content: center !important;
    padding: 0 !important;
}

[b-439yc0ooww] .sidebar.collapsed .nav-parent .bi {
    margin-right: 0 !important;
}

[b-439yc0ooww] .sidebar.collapsed .submenu {
    display: none !important;
}
/* /Pages/Compensaciones/CompensacionDetalle.razor.rz.scp.css */
/* Estilos para el modal de compensación */

/* Reducir tamaño de fuente de títulos de las tarjetas */
.card-header h5[b-xahkof1yl5] {
    font-size: 1rem;
}

.card-header p small[b-xahkof1yl5] {
    font-size: 0.75rem;
}

/* Reducir tamaño de fuente de headers de tabla */
.table thead th[b-xahkof1yl5] {
    font-size: 0.75rem;
}

/* Reducir tamaño de fuente del total neto */
.alert-primary .fw-bold[b-xahkof1yl5] {
    font-size: 0.9rem !important;
}

.alert-primary .fs-4[b-xahkof1yl5] {
    font-size: 1.1rem !important;
}

/* Reducir tamaño de fuente de la diferencia entre meses */
.alert-success .fw-bold[b-xahkof1yl5],
.alert-danger .fw-bold[b-xahkof1yl5] {
    font-size: 0.85rem;
}

.alert-success .fs-4[b-xahkof1yl5],
.alert-danger .fs-4[b-xahkof1yl5] {
    font-size: 1rem !important;
}

/* Asegurar que el sticky funcione correctamente */
.sticky-top[b-xahkof1yl5] {
    position: sticky;
    top: 0;
    z-index: 10;
}

.sticky-bottom[b-xahkof1yl5] {
    position: sticky;
    bottom: 0;
    z-index: 10;
}

/* Mejorar la visualización del scroll */
.card-body div[style*="max-height"][b-xahkof1yl5] {
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f8f9fa;
}

.card-body div[style*="max-height"][b-xahkof1yl5]::-webkit-scrollbar {
    width: 8px;
}

.card-body div[style*="max-height"][b-xahkof1yl5]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.card-body div[style*="max-height"][b-xahkof1yl5]::-webkit-scrollbar-thumb {
    background-color: #6c757d;
    border-radius: 4px;
}

.card-body div[style*="max-height"][b-xahkof1yl5]::-webkit-scrollbar-thumb:hover {
    background-color: #495057;
}

/* Asegurar que las celdas vacías no afecten el diseño */
.table tbody tr td:empty[b-xahkof1yl5] {
    background-color: transparent;
}

/* Mejorar la legibilidad de las filas */
.table tbody tr:hover[b-xahkof1yl5] {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Estilo para filas compensadas */
.fila-compensada[b-xahkof1yl5] {
    background-color: #e9ecef !important;
}

.fila-compensada:hover[b-xahkof1yl5] {
    background-color: #dee2e6 !important;
}

/* Estilo especial para la celda del nombre de items compensados */
.celda-compensada[b-xahkof1yl5] {
    background-color: #d4edda !important;
    border-left: 4px solid #28a745 !important;
    font-weight: 500;
    color: #155724;
}

.fila-compensada:hover .celda-compensada[b-xahkof1yl5] {
    background-color: #c3e6cb !important;
}

/* Estilo para la fila de compensación eventual */
.fila-compensacion-eventual[b-xahkof1yl5] {
    background-color: #fff3cd !important;
    border-top: 2px solid #ffc107;
}

.fila-compensacion-eventual:hover[b-xahkof1yl5] {
    background-color: #ffe69c !important;
}

/* Asegurar ancho mínimo para celdas de monto */
.table tbody tr td:nth-child(2)[b-xahkof1yl5],
.table tbody tr td:nth-child(3)[b-xahkof1yl5] {
    min-width: 100px;
}

/* Cursor pointer para los botones de compensación eventual */
.btn-compensacion-eventual[b-xahkof1yl5],
.fila-compensacion-eventual .btn[b-xahkof1yl5] {
    cursor: pointer;
}
