/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2zbx42ct3d] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-2zbx42ct3d] {
    flex: 1;
}

.sidebar[b-2zbx42ct3d] {
    background-image: linear-gradient(180deg, #ff8c00 0%, #e65c00 70%);
    position: fixed;
    top: 0;
    left: -380px;
    width: 380px;
    height: 100vh;
    z-index: 1001;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsive sidebar for mobile */
@media (max-width: 768px) {
    .sidebar[b-2zbx42ct3d] {
        width: 280px;
        left: -280px;
    }
}

@media (max-width: 480px) {
    .sidebar[b-2zbx42ct3d] {
        width: 85vw;
        left: -85vw;
    }
}

.navbar-toggler[b-2zbx42ct3d] {
    display: none;
}

.navbar-toggler-btn[b-2zbx42ct3d] {
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    position: fixed;
    top: 0.5rem;
    left: 1rem;
    border: 1px solid rgba(255, 140, 0, 0.5);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 140, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 140, 0, 0.2);
    z-index: 999;
    border-radius: 4px;
    transition: background-color 0.2s ease, top 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-btn:hover[b-2zbx42ct3d] {
    background-color: rgba(255, 140, 0, 0.4);
}

/* Mobile optimizations for toggler */
@media (max-width: 768px) {
    .navbar-toggler-btn[b-2zbx42ct3d] {
        width: 3rem;
        height: 2.25rem;
        top: 0.375rem; /* Centrado en barra de 3rem: (3rem - 2.25rem) / 2 */
        left: 0.75rem;
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .navbar-toggler-btn[b-2zbx42ct3d] {
        width: 2.75rem;
        height: 2rem;
        top: 0.375rem; /* Centrado en barra de 2.75rem: (2.75rem - 2rem) / 2 */
        left: 0.5rem;
    }
}

.navbar-overlay[b-2zbx42ct3d] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.navbar-toggler:checked ~ .page .sidebar[b-2zbx42ct3d] {
    left: 0;
}

.navbar-toggler:checked ~ .navbar-overlay[b-2zbx42ct3d] {
    opacity: 1;
    visibility: visible;
}

.top-row[b-2zbx42ct3d] {
    background-color: #fff3e0;
    border-bottom: 1px solid #ffcc80;
    justify-content: center;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: relative;
}

/* Mobile responsive top row */
@media (max-width: 768px) {
    .top-row[b-2zbx42ct3d] {
        height: 3rem;
        padding-left: 4rem !important; /* Espacio para el bot�n hamburguesa */
        padding-right: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .top-row[b-2zbx42ct3d] {
        height: 2.75rem;
        padding-left: 3.5rem !important; /* Ajuste para pantallas muy peque�as */
    }
}

.top-row-logo[b-2zbx42ct3d] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.company-logo[b-2zbx42ct3d] {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
    .company-logo[b-2zbx42ct3d] {
        height: 2rem;
    }
}

@media (max-width: 480px) {
    .company-logo[b-2zbx42ct3d] {
        height: 1.75rem;
    }
}

.company-name[b-2zbx42ct3d] {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff8c00;
}

/* Hide company name on very small screens */
@media (max-width: 480px) {
    .company-name[b-2zbx42ct3d] {
        display: none;
    }
}

.top-row[b-2zbx42ct3d]  a, .top-row[b-2zbx42ct3d]  .btn-link {
    white-space: nowrap;
    text-decoration: none;
    position: absolute;
    right: 1.5rem;
}

/* Mobile adjustments for top row links */
@media (max-width: 768px) {
    .top-row[b-2zbx42ct3d]  a, .top-row[b-2zbx42ct3d]  .btn-link {
        right: 0.75rem;
        font-size: 0.9rem;
    }
}

    .top-row[b-2zbx42ct3d]  a:hover, .top-row[b-2zbx42ct3d]  .btn-link:hover {
        text-decoration: underline;
    }

@media (max-width: 640.98px) {
    .top-row[b-2zbx42ct3d] {
        justify-content: center;
    }

    .company-name[b-2zbx42ct3d] {
        font-size: 1rem;
    }

    .company-logo[b-2zbx42ct3d] {
        height: 2rem;
    }

    .top-row[b-2zbx42ct3d]  a, .top-row[b-2zbx42ct3d]  .btn-link {
        font-size: 0.875rem;
    }
}

@media (min-width: 641px) {
    .top-row[b-2zbx42ct3d] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-2zbx42ct3d]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-2zbx42ct3d], article[b-2zbx42ct3d] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-2zbx42ct3d] {
    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[b-2zbx42ct3d] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Estilos para p�gina sin sidebar (Login) */
.page-no-sidebar[b-2zbx42ct3d] {
    display: block;
    width: 100%;
    height: 100vh;
}

.page-no-sidebar main[b-2zbx42ct3d] {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.page-no-sidebar .content[b-2zbx42ct3d] {
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
}

/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Menu de Navegacion con Iconos Visibles y Alineacion Perfecta */

.nav-menu-container[b-xamaz5k1nj] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
}

.top-row[b-xamaz5k1nj] {
    height: 3.5rem;
    background: linear-gradient(135deg, rgba(230, 92, 0, 0.95) 0%, rgba(255, 140, 0, 0.85) 100%);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.navbar-brand[b-xamaz5k1nj] {
    font-size: 1.1rem;
    color: #ffffff !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-style: italic;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover[b-xamaz5k1nj] {
    opacity: 0.9;
}

.brand-text[b-xamaz5k1nj] {
    margin-left: 0.5rem;
}

.nav-scrollable[b-xamaz5k1nj] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}


.nav-scrollable[b-xamaz5k1nj]::-webkit-scrollbar { width: 8px; }
.nav-scrollable[b-xamaz5k1nj]::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); }
.nav-scrollable[b-xamaz5k1nj]::-webkit-scrollbar-thumb { background: rgba(255, 152, 0, 0.5); border-radius: 4px; }
.nav-scrollable[b-xamaz5k1nj]::-webkit-scrollbar-thumb:hover { background: rgba(255, 152, 0, 0.8); }
.nav-scrollable[b-xamaz5k1nj] { scrollbar-width: thin; scrollbar-color: rgba(255, 152, 0, 0.5) rgba(0, 0, 0, 0.3); }


/* SVG Data URIs para cada icono - Ahora SI se veran */

/* ESPACIADO GENERAL PARA TODOS LOS ICONOS BOOTSTRAP */
.nav-item .bi[b-xamaz5k1nj],
.nav-link .bi[b-xamaz5k1nj],
.nav-link-parent .bi[b-xamaz5k1nj],
.nav-link-parent-sub .bi[b-xamaz5k1nj],
.nav-link-child .bi[b-xamaz5k1nj],
.nav-link-child-level3 .bi[b-xamaz5k1nj],
.nav-link-indented .bi[b-xamaz5k1nj] {
    margin-right: 0.75rem !important;
    flex-shrink: 0;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* FORZAR visibilidad de iconos problem�ticos espec�ficos */
.bi-flask[b-xamaz5k1nj],
.bi-flask-fill[b-xamaz5k1nj],
.bi-droplet-fill[b-xamaz5k1nj],
.bi-gear-fill[b-xamaz5k1nj],
.bi-eyedropper[b-xamaz5k1nj],
.bi-clipboard-data[b-xamaz5k1nj] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}


/* NIVEL 1 - Items Principales - PADDING FIJO */
.nav-item[b-xamaz5k1nj] {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.nav-item[b-xamaz5k1nj]  a,
.nav-link[b-xamaz5k1nj] {
    color: #e8e8e8;
    text-decoration: none;
    border-radius: 8px;
    height: 3rem;
    display: flex;
    align-items: center;
    padding: 0 1rem 0 1rem;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid transparent;
}

.nav-item[b-xamaz5k1nj]  a:hover {
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.1) 100%);
    color: #ffffff;
    border-left-color: rgba(255, 152, 0, 0.8);
}

.nav-item[b-xamaz5k1nj]  a.active {
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.35) 0%, rgba(255, 152, 0, 0.15) 100%);
    color: #ffffff;
    font-weight: 600;
    border-left-color: rgba(255, 152, 0, 1);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
}

.nav-link-parent[b-xamaz5k1nj] {
    cursor: pointer;
    padding: 0 3rem 0 1rem;
    color: #e8e8e8;
    border-radius: 8px;
    height: 3rem;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid transparent;
}

.nav-link-parent:hover[b-xamaz5k1nj] {
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.1) 100%);
    color: #ffffff;
    border-left-color: rgba(255, 152, 0, 0.8);
}

.expand-icon[b-xamaz5k1nj] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    width: 1rem;
    height: 1rem;
    margin-right: 0;
    opacity: 0.7;
}

/* NIVEL 2 - Todos los elementos ALINEADOS al mismo punto */
.nav-submenu[b-xamaz5k1nj] {
    margin: 0.5rem 0 0.75rem 2.5rem;
    padding-left: 0;
    border-left: 3px solid rgba(255, 152, 0, 0.4);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0 8px 8px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

.nav-submenu.expanded[b-xamaz5k1nj] {
    max-height: 1200px;
    opacity: 1;
    padding: 0.5rem 0;
}

.nav-submenu.collapsed[b-xamaz5k1nj] {
    max-height: 0;
    opacity: 0;
    margin: 0 0 0 2.5rem;
    padding: 0;
}

.nav-link-child[b-xamaz5k1nj] {
    padding: 0 1rem 0 2.5rem !important;
    height: 2.5rem !important;
    font-size: 0.875rem;
    color: #d0d0d0 !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    margin: 0 0.75rem 0.25rem 0.75rem;
    background: transparent;
    font-weight: 400;
    position: relative;
}

.nav-link-child[b-xamaz5k1nj]::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 152, 0, 0.4);
    transition: all 0.2s ease;
}

.nav-link-child:hover[b-xamaz5k1nj],
.nav-submenu[b-xamaz5k1nj]  a.nav-link-child:hover {
    background: rgba(255, 152, 0, 0.15) !important;
    color: #ffffff !important;
}

.nav-link-child:hover[b-xamaz5k1nj]::before,
.nav-submenu[b-xamaz5k1nj]  a.nav-link-child:hover::before {
    background: rgba(255, 152, 0, 0.9);
    transform: translateY(-50%) scale(1.5);
}

.nav-submenu[b-xamaz5k1nj]  a.nav-link-child.active {
    background: rgba(255, 152, 0, 0.25) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.nav-submenu[b-xamaz5k1nj]  a.nav-link-child.active::before {
    background: rgba(255, 152, 0, 1);
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.6);
}

.nav-link-indented[b-xamaz5k1nj],
.nav-submenu[b-xamaz5k1nj]  a.nav-link-indented {
    padding: 0 1rem 0 2.5rem !important;
}

/* NIVEL 3 - Submenus anidados - ALINEACION PERFECTA */
.nav-link-parent-sub[b-xamaz5k1nj] {
    cursor: pointer;
    position: relative;
    padding: 0 3rem 0 2.5rem !important;
    height: 2.5rem !important;
    font-size: 0.875rem;
    color: #d0d0d0 !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    margin: 0 0.75rem 0.25rem 0.75rem;
    background: rgba(255, 152, 0, 0.05);
    font-weight: 500;
}

.nav-link-parent-sub[b-xamaz5k1nj]::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 152, 0, 0.4);
    transition: all 0.2s ease;
}

.nav-link-parent-sub:hover[b-xamaz5k1nj] {
    background: rgba(255, 152, 0, 0.15) !important;
    color: #ffffff !important;
}

.nav-link-parent-sub:hover[b-xamaz5k1nj]::before {
    background: rgba(255, 152, 0, 0.9);
    transform: translateY(-50%) scale(1.5);
}

.expand-icon-sub[b-xamaz5k1nj] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    width: 0.85rem;
    height: 0.85rem;
    margin-right: 0;
    opacity: 0.6;
}

.nav-submenu-level3[b-xamaz5k1nj] {
    margin: 0.5rem 0 0.5rem 2rem;
    padding-left: 0;
    border-left: 2px solid rgba(255, 152, 0, 0.25);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 6px 6px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.nav-submenu-level3.expanded[b-xamaz5k1nj] {
    max-height: 800px;
    opacity: 1;
    padding: 0.4rem 0;
}

.nav-submenu-level3.collapsed[b-xamaz5k1nj] {
    max-height: 0;
    opacity: 0;
    margin: 0 0 0 2rem;
    padding: 0;
}

.nav-link-child-level3[b-xamaz5k1nj] {
    padding: 0 1rem 0 2rem !important;
    height: 2.25rem !important;
    font-size: 0.8125rem;
    color: #c0c0c0 !important;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    margin: 0 0.5rem 0.2rem 0.5rem;
    background: transparent;
    font-weight: 400;
    position: relative;
}

.nav-link-child-level3[b-xamaz5k1nj]::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 152, 0, 0.3);
    transition: all 0.2s ease;
}

.nav-link-child-level3:hover[b-xamaz5k1nj] {
    background: rgba(255, 152, 0, 0.12) !important;
    color: #ffffff !important;
}

.nav-link-child-level3:hover[b-xamaz5k1nj]::before {
    background: rgba(255, 152, 0, 0.8);
    transform: translateY(-50%) scale(1.6);
}

.nav-link-child-level3 .bi[b-xamaz5k1nj] {
    width: 0.875rem;
    height: 0.875rem;
    margin-right: 0.5rem;
    opacity: 0.85;
}

/* RESPONSIVE MOVIL - ALINEACION A LA IZQUIERDA */
@media (max-width: 640px) {
    .top-row[b-xamaz5k1nj] { 
        height: 3.25rem; 
        padding: 0 0.75rem; 
    }
    
    .navbar-brand[b-xamaz5k1nj] { 
        font-size: 1rem; 
    }
    
    .brand-text[b-xamaz5k1nj] { 
        font-size: 0.95rem; 
    }
    
    .nav-item[b-xamaz5k1nj] { 
        padding: 0 0.75rem; 
        margin-bottom: 0.4rem; 
    }
    
    .nav-item[b-xamaz5k1nj]  a, 
    .nav-link[b-xamaz5k1nj], 
    .nav-link-parent[b-xamaz5k1nj] { 
        height: 2.75rem; 
        font-size: 0.9rem; 
        padding-left: 0.75rem; 
        padding-right: 2.5rem;
        text-align: left;
        justify-content: flex-start;
    }
    
    .bi[b-xamaz5k1nj] { 
        width: 1rem; 
        height: 1rem; 
        margin-right: 0.6rem; 
    }
    
    .nav-submenu[b-xamaz5k1nj] { 
        margin-left: 2rem;
        text-align: left;
    }
    
    .nav-link-child[b-xamaz5k1nj] { 
        padding-left: 2rem !important; 
        height: 2.4rem !important; 
        font-size: 0.85rem;
        text-align: left;
        justify-content: flex-start;
    }
    
    .nav-link-child[b-xamaz5k1nj]::before { 
        width: 5px; 
        height: 5px; 
        left: 0.75rem; 
    }
    
    .nav-link-parent-sub[b-xamaz5k1nj] { 
        padding-left: 2rem !important; 
        height: 2.4rem !important;
        text-align: left;
        justify-content: flex-start;
    }
    
    .nav-link-parent-sub[b-xamaz5k1nj]::before { 
        left: 0.75rem; 
        width: 5px; 
        height: 5px; 
    }
    
    .nav-submenu-level3[b-xamaz5k1nj] { 
        margin-left: 1.5rem;
        text-align: left;
    }
    
    .nav-link-child-level3[b-xamaz5k1nj] { 
        padding-left: 1.5rem !important; 
        height: 2.2rem !important; 
        font-size: 0.8rem;
        text-align: left;
        justify-content: flex-start;
    }
    
    .nav-link-child-level3[b-xamaz5k1nj]::before { 
        width: 4px; 
        height: 4px; 
        left: 0.5rem; 
    }
    
    .nav-link-child-level3 .bi[b-xamaz5k1nj] { 
        width: 0.85rem; 
        height: 0.85rem; 
    }
    
    .nav-scrollable[b-xamaz5k1nj]::-webkit-scrollbar { 
        width: 5px; 
    }
    
    /* Asegurar alineacion izquierda en todos los deep elements */
    .nav-submenu[b-xamaz5k1nj]  a.nav-link-child,
    .nav-submenu[b-xamaz5k1nj]  a.nav-link-indented {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .nav-submenu-level3[b-xamaz5k1nj]  a {
        text-align: left !important;
        justify-content: flex-start !important;
    }
}

@media (hover: hover) {
    .expand-icon[b-xamaz5k1nj], .expand-icon-sub[b-xamaz5k1nj] { transition: all 0.3s ease; }
}

@media (hover: none) {
    .nav-item[b-xamaz5k1nj]  a:active, .nav-link-parent:active[b-xamaz5k1nj], .nav-link-parent-sub:active[b-xamaz5k1nj] {
        background: rgba(255, 152, 0, 0.25);
        transform: scale(0.98);
    }
}

/* Estilos para el bot�n de Cerrar Sesi�n */
.nav-link-logout[b-xamaz5k1nj] {
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 3rem;
    padding: 0 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(255, 140, 0, 0.3);
}

.nav-link-logout:hover[b-xamaz5k1nj] {
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.5);
}

.nav-link-logout .bi[b-xamaz5k1nj] {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.mt-auto[b-xamaz5k1nj] {
    margin-top: auto !important;
}


/* /Components/Pages/Alergenos/GestionInformacionDietetica.razor.rz.scp.css */
.informacion-dietetica-container[b-tt30k2tgz6] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

.page-header[b-tt30k2tgz6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-tt30k2tgz6] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-tt30k2tgz6] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-tt30k2tgz6] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-tt30k2tgz6] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-tt30k2tgz6 0.3s ease;
}

@keyframes slideIn-b-tt30k2tgz6 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-tt30k2tgz6]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-tt30k2tgz6] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-tt30k2tgz6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-tt30k2tgz6] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-tt30k2tgz6] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-tt30k2tgz6] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-tt30k2tgz6] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-tt30k2tgz6] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-tt30k2tgz6] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-tt30k2tgz6] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-tt30k2tgz6] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-tt30k2tgz6] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-tt30k2tgz6] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-tt30k2tgz6],
.no-data[b-tt30k2tgz6] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-tt30k2tgz6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-tt30k2tgz6] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-tt30k2tgz6] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-tt30k2tgz6] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-tt30k2tgz6] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-tt30k2tgz6] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-tt30k2tgz6] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-tt30k2tgz6] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-tt30k2tgz6] {
    background-color: #f8f9fa;
}

.table tbody td[b-tt30k2tgz6] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-tt30k2tgz6] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-tt30k2tgz6] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-tt30k2tgz6] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-tt30k2tgz6] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-tt30k2tgz6] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-tt30k2tgz6] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE PROVINCIAS */
.modal-overlay[b-tt30k2tgz6] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-tt30k2tgz6 0.3s ease;
}

@keyframes fadeIn-b-tt30k2tgz6 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-tt30k2tgz6] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-tt30k2tgz6 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-tt30k2tgz6 {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-tt30k2tgz6] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-tt30k2tgz6] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-tt30k2tgz6] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-tt30k2tgz6] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-tt30k2tgz6] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-tt30k2tgz6]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-tt30k2tgz6]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-tt30k2tgz6]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-tt30k2tgz6]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-tt30k2tgz6] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-tt30k2tgz6] {
    margin-top: 0;
}

.modal-body ul[b-tt30k2tgz6], .modal-body ol[b-tt30k2tgz6] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-tt30k2tgz6] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-tt30k2tgz6] {
    color: #ff8c00;
}

.alert[b-tt30k2tgz6] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-tt30k2tgz6] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-tt30k2tgz6] {
    color: #856404;
}

.modal-footer[b-tt30k2tgz6] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-tt30k2tgz6] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.page-header[b-tt30k2tgz6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-tt30k2tgz6] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-tt30k2tgz6] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-tt30k2tgz6] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-tt30k2tgz6] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-tt30k2tgz6 0.3s ease;
}

@keyframes slideIn-b-tt30k2tgz6 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-tt30k2tgz6]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-tt30k2tgz6 3s ease infinite;
}

@keyframes gradientMove-b-tt30k2tgz6 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-tt30k2tgz6] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-tt30k2tgz6] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-tt30k2tgz6] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-tt30k2tgz6] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-tt30k2tgz6] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-tt30k2tgz6] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-tt30k2tgz6] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-tt30k2tgz6] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-tt30k2tgz6] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-tt30k2tgz6] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-tt30k2tgz6] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-tt30k2tgz6] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-tt30k2tgz6] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-tt30k2tgz6] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-tt30k2tgz6] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-tt30k2tgz6] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-tt30k2tgz6] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-tt30k2tgz6] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-tt30k2tgz6] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-tt30k2tgz6] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-tt30k2tgz6] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-tt30k2tgz6] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-tt30k2tgz6] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-tt30k2tgz6] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-tt30k2tgz6] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-tt30k2tgz6] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-tt30k2tgz6] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-tt30k2tgz6] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-tt30k2tgz6] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-tt30k2tgz6] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-tt30k2tgz6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-tt30k2tgz6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.page-header[b-tt30k2tgz6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-tt30k2tgz6] {
    display: flex;
    gap: 0.75rem;
}

.btn-help[b-tt30k2tgz6] {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-help:hover[b-tt30k2tgz6] {
    background-color: #138496;
    border-color: #117a8b;
}

.modal-overlay[b-tt30k2tgz6] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-tt30k2tgz6 0.3s ease;
}

@keyframes fadeIn-b-tt30k2tgz6 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-tt30k2tgz6] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-tt30k2tgz6 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-tt30k2tgz6 {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-tt30k2tgz6] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-tt30k2tgz6] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-tt30k2tgz6] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-tt30k2tgz6] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-tt30k2tgz6] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-tt30k2tgz6] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-tt30k2tgz6]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-tt30k2tgz6]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-tt30k2tgz6]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-tt30k2tgz6]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-tt30k2tgz6] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-tt30k2tgz6] {
    margin-top: 0;
}

.modal-body ul[b-tt30k2tgz6], .modal-body ol[b-tt30k2tgz6] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-tt30k2tgz6] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-tt30k2tgz6] {
    color: #ff8c00;
}

.alert[b-tt30k2tgz6] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-tt30k2tgz6] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-tt30k2tgz6] {
    color: #856404;
}

.modal-footer[b-tt30k2tgz6] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.page-header h1[b-tt30k2tgz6] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header h1 .bi[b-tt30k2tgz6] {
    font-size: 1.75rem;
}

.form-card[b-tt30k2tgz6] {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
    border: 1px solid #ffcc80;
}

.form-card h3[b-tt30k2tgz6] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fff3e0;
}

.form-grid[b-tt30k2tgz6] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group[b-tt30k2tgz6] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-tt30k2tgz6] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group .form-control[b-tt30k2tgz6] {
    border: 1px solid #ffcc80;
    border-radius: 4px;
    padding: 0.5rem;
}

.form-group .form-control:focus[b-tt30k2tgz6] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.form-actions[b-tt30k2tgz6] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.table-container[b-tt30k2tgz6] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box[b-tt30k2tgz6] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-tt30k2tgz6] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-tt30k2tgz6] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-tt30k2tgz6] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-tt30k2tgz6] {
    margin-bottom: 0;
}

.table thead[b-tt30k2tgz6] {
    background-color: #ff8c00;
    color: white;
}

.table thead th[b-tt30k2tgz6] {
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table thead th.sortable[b-tt30k2tgz6] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-tt30k2tgz6] {
    background-color: #e67e00;
}

.sort-indicator[b-tt30k2tgz6] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-tt30k2tgz6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-tt30k2tgz6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.table tbody tr:hover[b-tt30k2tgz6] {
    background-color: #fff3e0;
}

.table tbody td[b-tt30k2tgz6] {
    vertical-align: middle;
    padding: 0.75rem 1rem;
}

.btn-warning[b-tt30k2tgz6] {
    background-color: #ffa726;
    border-color: #ffa726;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-warning:hover[b-tt30k2tgz6] {
    background-color: #ff9800;
    border-color: #ff9800;
}

.btn-danger[b-tt30k2tgz6] {
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.loading[b-tt30k2tgz6] {
    text-align: center;
    padding: 3rem;
    color: #ff8c00;
}

.loading .spinner-border[b-tt30k2tgz6] {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.no-data[b-tt30k2tgz6] {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-data .bi[b-tt30k2tgz6] {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.pagination-info[b-tt30k2tgz6] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.validation-message[b-tt30k2tgz6] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .provincias-container[b-tt30k2tgz6] {
        padding: 1rem;
    }

    .page-header[b-tt30k2tgz6] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .table-container[b-tt30k2tgz6] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-tt30k2tgz6],
table tbody tr td button.btn[b-tt30k2tgz6],
.modal-body button.btn-sm[b-tt30k2tgz6],
.modal-section button.btn-sm[b-tt30k2tgz6],
.sucursal-card button.btn-sm[b-tt30k2tgz6] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-tt30k2tgz6],
table tbody tr td button.btn .bi[b-tt30k2tgz6],
.modal-body button.btn-sm .bi[b-tt30k2tgz6],
.modal-section button.btn-sm .bi[b-tt30k2tgz6],
.sucursal-card button.btn-sm .bi[b-tt30k2tgz6] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Alergenos/Ingredientes/Descripcion.razor.rz.scp.css */
.ingredientes-container[b-60isyjqi7j] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.ingredientes-container *[b-60isyjqi7j] {
    box-sizing: border-box;
    max-width: 100%;
}



.page-header[b-60isyjqi7j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-60isyjqi7j] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-60isyjqi7j] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-60isyjqi7j] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-60isyjqi7j] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-60isyjqi7j] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

/* El btn-primary hereda del app.css global */
.btn-primary[b-60isyjqi7j] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-60isyjqi7j] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.btn-primary 

.form-card[b-60isyjqi7j] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-60isyjqi7j 0.3s ease;
}

@keyframes slideIn-b-60isyjqi7j {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-60isyjqi7j]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-60isyjqi7j] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-60isyjqi7j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-60isyjqi7j] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-60isyjqi7j] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-60isyjqi7j] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-60isyjqi7j] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-60isyjqi7j] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-60isyjqi7j] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-60isyjqi7j] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-60isyjqi7j] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-60isyjqi7j] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-60isyjqi7j] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-60isyjqi7j] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-60isyjqi7j] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-60isyjqi7j] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-60isyjqi7j] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.search-box[b-60isyjqi7j] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-60isyjqi7j] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-60isyjqi7j] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-60isyjqi7j] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.search-box[b-60isyjqi7j] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-60isyjqi7j] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-60isyjqi7j] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-60isyjqi7j] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.loading[b-60isyjqi7j],
.no-data[b-60isyjqi7j] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-60isyjqi7j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-60isyjqi7j] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-60isyjqi7j] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-60isyjqi7j] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-60isyjqi7j] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-60isyjqi7j] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-60isyjqi7j] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-60isyjqi7j] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-60isyjqi7j] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-60isyjqi7j] {
    background-color: #f8f9fa;
}

.table tbody td[b-60isyjqi7j] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-60isyjqi7j] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-60isyjqi7j] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-60isyjqi7j] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-60isyjqi7j] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-60isyjqi7j] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-sm .bi[b-60isyjqi7j] {
    margin-right: 0 !important;
    flex-shrink: 0;
}

.btn-warning[b-60isyjqi7j] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white !important;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-60isyjqi7j] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-60isyjqi7j] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white !important;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-60isyjqi7j] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

/* Asegurar que la columna de acciones tenga suficiente espacio */
.table tbody td:last-child[b-60isyjqi7j] {
    white-space: nowrap;
    min-width: 240px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* En pantallas muy peque�as, mantener el texto visible */
@media (max-width: 768px) {
    .btn-sm[b-60isyjqi7j] {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .table tbody td:last-child[b-60isyjqi7j] {
        min-width: 220px;
    }
}

.pagination-info[b-60isyjqi7j] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda */
.modal-overlay[b-60isyjqi7j] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-60isyjqi7j 0.3s ease;
}

@keyframes fadeIn-b-60isyjqi7j {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-60isyjqi7j] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-60isyjqi7j 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-60isyjqi7j {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-60isyjqi7j] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-60isyjqi7j] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-60isyjqi7j] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-60isyjqi7j] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-60isyjqi7j] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-60isyjqi7j] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.modal-body[b-60isyjqi7j]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-60isyjqi7j]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-60isyjqi7j]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-60isyjqi7j]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-60isyjqi7j] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-60isyjqi7j] {
    margin-top: 0;
}

.modal-body ul[b-60isyjqi7j], .modal-body ol[b-60isyjqi7j] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-60isyjqi7j] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-60isyjqi7j] {
    color: #ff8c00;
}

.alert[b-60isyjqi7j] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-60isyjqi7j] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-60isyjqi7j] {
    color: #856404;
}

.modal-footer[b-60isyjqi7j] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

/* Secci�n de items relacionados */
.section-card[b-60isyjqi7j] {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

/* Estilos para inputs editables dentro de las tablas del formulario */
.section-card .table input.form-control-sm[b-60isyjqi7j] {
    padding: 0.4rem;
    font-size: 0.875rem;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.section-card .table input.form-control-sm:focus[b-60isyjqi7j],
.section-card .table select.form-control-sm:focus[b-60isyjqi7j] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
    background-color: #fff;
}

.section-card .table input.form-control-sm:hover[b-60isyjqi7j],
.section-card .table select.form-control-sm:hover[b-60isyjqi7j] {
    border-color: #ffa726;
    background-color: #fffbf5;
}

.section-card .table select.form-control-sm[b-60isyjqi7j] {
    padding: 0.4rem;
    font-size: 0.875rem;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Badges para mostrar el tipo de contenido de al�rgeno */
.badge[b-60isyjqi7j] {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
}

.bg-warning[b-60isyjqi7j] {
    background-color: #ffc107 !important;
}

.bg-danger[b-60isyjqi7j] {
    background-color: #dc3545 !important;
    color: white !important;
}

.text-dark[b-60isyjqi7j] {
    color: #212529 !important;
}

.section-card h4[b-60isyjqi7j] {
    color: #ff8c00;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-responsive[b-60isyjqi7j] {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.add-item-form[b-60isyjqi7j] {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.form-control-sm[b-60isyjqi7j] {
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* Estilos para los badges bonitos de las columnas */
.btn-badge[b-60isyjqi7j] {
    display: inline-block;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.badge-ingrediente[b-60isyjqi7j] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.badge-ingrediente:hover[b-60isyjqi7j] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.5);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.badge-alergeno[b-60isyjqi7j] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.badge-alergeno:hover[b-60isyjqi7j] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.5);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.badge-nutricional[b-60isyjqi7j] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.badge-nutricional:hover[b-60isyjqi7j] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.5);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.text-center[b-60isyjqi7j] {
    text-align: center;
}

.text-muted[b-60isyjqi7j] {
    color: #6c757d;
    font-style: italic;
}

/* Estilos para modales de detalle */
.modal-dialog-detail[b-60isyjqi7j] {
    max-width: 650px;
}

.modal-header-info[b-60isyjqi7j] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%) !important;
}

.modal-header-danger[b-60isyjqi7j] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%) !important;
}

.modal-header-success[b-60isyjqi7j] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%) !important;
}

.table-detail[b-60isyjqi7j] {
    margin-bottom: 0;
}

.table-detail thead th[b-60isyjqi7j] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border: none;
}

.table-detail thead th:first-child[b-60isyjqi7j] {
    border-radius: 8px 0 0 0;
}

.table-detail thead th:last-child[b-60isyjqi7j] {
    border-radius: 0 8px 0 0;
}

.table-detail tbody td[b-60isyjqi7j] {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.table-detail tbody tr:last-child td[b-60isyjqi7j] {
    border-bottom: none;
}

.table-detail tbody tr:hover[b-60isyjqi7j] {
    background-color: #f8f9fa;
}

/* Campo de b�squeda para filtrar subingredientes */
.search-box-subingredientes[b-60isyjqi7j] {
    position: relative;
    width: 100%;
}

.search-box-subingredientes input[b-60isyjqi7j] {
    width: 100%;
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
    border-radius: 20px;
    background-color: #f5f5f5;
}

.search-box-subingredientes input:focus[b-60isyjqi7j] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    outline: none;
    background-color: #ffffff;
}

.search-box-subingredientes .bi[b-60isyjqi7j] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1rem;
    pointer-events: none;
}

/* Asegurar que los botones dentro de las tablas de modales tambi�n muestren el texto */
.table-detail .btn-sm[b-60isyjqi7j] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    white-space: nowrap;
    margin: 0 0.2rem;
}

.table-detail .btn-sm .bi[b-60isyjqi7j] {
    margin-right: 0 !important;
}

.table-detail .btn-warning[b-60isyjqi7j] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white !important;
    border: none;
    box-shadow: 0 2px 4px rgba(255, 167, 38, 0.3);
}

.table-detail .btn-warning:hover[b-60isyjqi7j] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.table-detail .btn-danger[b-60isyjqi7j] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white !important;
    border: none;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.table-detail .btn-danger:hover[b-60isyjqi7j] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.table-detail .btn-success[b-60isyjqi7j] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white !important;
    border: none;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.table-detail .btn-success:hover[b-60isyjqi7j] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.table-detail .btn-secondary[b-60isyjqi7j] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white !important;
    border: none;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.table-detail .btn-secondary:hover[b-60isyjqi7j] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

/* Estilos para los inputs dentro de las tablas de modales */
.table-detail input.form-control-sm[b-60isyjqi7j] {
    padding: 0.4rem;
    font-size: 0.85rem;
    border: 2px solid #17a2b8;
    border-radius: 4px;
}

.table-detail input.form-control-sm:focus[b-60isyjqi7j] {
    outline: none;
    border-color: #138496;
    box-shadow: 0 0 0 2px rgba(23, 162, 184, 0.2);
}

.search-box[b-60isyjqi7j] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-60isyjqi7j] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-60isyjqi7j] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-60isyjqi7j] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}
/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-60isyjqi7j],
table tbody tr td button.btn[b-60isyjqi7j],
.modal-body button.btn-sm[b-60isyjqi7j],
.modal-section button.btn-sm[b-60isyjqi7j],
.sucursal-card button.btn-sm[b-60isyjqi7j] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-60isyjqi7j],
table tbody tr td button.btn .bi[b-60isyjqi7j],
.modal-body button.btn-sm .bi[b-60isyjqi7j],
.modal-section button.btn-sm .bi[b-60isyjqi7j],
.sucursal-card button.btn-sm .bi[b-60isyjqi7j] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .ingredientes-container[b-60isyjqi7j] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
    }
    .page-header[b-60isyjqi7j] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-60isyjqi7j] { font-size: 1.5rem !important; }
    .header-actions[b-60isyjqi7j] { flex-direction: column; width: 100%; }
    .header-actions button[b-60isyjqi7j] { width: 100%; }
    .table-container[b-60isyjqi7j] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .form-group[b-60isyjqi7j] { grid-column: 1 / -1 !important; }
    .table thead[b-60isyjqi7j] { display: none; }
    .table tbody tr[b-60isyjqi7j] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; width: 100% !important; }
    .table tbody td[b-60isyjqi7j] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; width: 100% !important; }
    .table tbody td[b-60isyjqi7j]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-60isyjqi7j] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-60isyjqi7j] { width: 100%; margin-left: 0 !important; }
}

/* /Components/Pages/Alergenos/Ingredientes/InformacionNutricional.razor.rz.scp.css */
.conceptos-container[b-11ckzhmkrt] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

.page-header[b-11ckzhmkrt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-11ckzhmkrt] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-11ckzhmkrt] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-11ckzhmkrt] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-11ckzhmkrt] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-11ckzhmkrt 0.3s ease;
}

@keyframes slideIn-b-11ckzhmkrt {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-11ckzhmkrt]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-11ckzhmkrt] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-11ckzhmkrt] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-11ckzhmkrt] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-11ckzhmkrt] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-11ckzhmkrt] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-11ckzhmkrt] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-11ckzhmkrt] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-11ckzhmkrt] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-11ckzhmkrt] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-11ckzhmkrt] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-11ckzhmkrt] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-11ckzhmkrt] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-11ckzhmkrt],
.no-data[b-11ckzhmkrt] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-11ckzhmkrt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-11ckzhmkrt] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-11ckzhmkrt] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-11ckzhmkrt] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-11ckzhmkrt] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-11ckzhmkrt] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-11ckzhmkrt] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-11ckzhmkrt] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-11ckzhmkrt] {
    background-color: #f8f9fa;
}

.table tbody td[b-11ckzhmkrt] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-11ckzhmkrt] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-11ckzhmkrt] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-11ckzhmkrt] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-11ckzhmkrt] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-11ckzhmkrt] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-11ckzhmkrt] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE PROVINCIAS */
.modal-overlay[b-11ckzhmkrt] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-11ckzhmkrt 0.3s ease;
}

@keyframes fadeIn-b-11ckzhmkrt {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-11ckzhmkrt] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-11ckzhmkrt 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-11ckzhmkrt {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-11ckzhmkrt] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-11ckzhmkrt] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-11ckzhmkrt] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-11ckzhmkrt] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-11ckzhmkrt] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-11ckzhmkrt]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-11ckzhmkrt]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-11ckzhmkrt]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-11ckzhmkrt]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-11ckzhmkrt] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-11ckzhmkrt] {
    margin-top: 0;
}

.modal-body ul[b-11ckzhmkrt], .modal-body ol[b-11ckzhmkrt] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-11ckzhmkrt] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-11ckzhmkrt] {
    color: #ff8c00;
}

.alert[b-11ckzhmkrt] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-11ckzhmkrt] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-11ckzhmkrt] {
    color: #856404;
}

.modal-footer[b-11ckzhmkrt] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-11ckzhmkrt] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.page-header[b-11ckzhmkrt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-11ckzhmkrt] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-11ckzhmkrt] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-11ckzhmkrt] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-11ckzhmkrt] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-11ckzhmkrt 0.3s ease;
}

@keyframes slideIn-b-11ckzhmkrt {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-11ckzhmkrt]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-11ckzhmkrt 3s ease infinite;
}

@keyframes gradientMove-b-11ckzhmkrt {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-11ckzhmkrt] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-11ckzhmkrt] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-11ckzhmkrt] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-11ckzhmkrt] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-11ckzhmkrt] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-11ckzhmkrt] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-11ckzhmkrt] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-11ckzhmkrt] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-11ckzhmkrt] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-11ckzhmkrt] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-11ckzhmkrt] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-11ckzhmkrt] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-11ckzhmkrt] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-11ckzhmkrt] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-11ckzhmkrt] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-11ckzhmkrt] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-11ckzhmkrt] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-11ckzhmkrt] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-11ckzhmkrt] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-11ckzhmkrt] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-11ckzhmkrt] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-11ckzhmkrt] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-11ckzhmkrt] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-11ckzhmkrt] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-11ckzhmkrt] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-11ckzhmkrt] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-11ckzhmkrt] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-11ckzhmkrt] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-11ckzhmkrt] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-11ckzhmkrt] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-11ckzhmkrt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-11ckzhmkrt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.page-header[b-11ckzhmkrt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-11ckzhmkrt] {
    display: flex;
    gap: 0.75rem;
}

.btn-help[b-11ckzhmkrt] {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-help:hover[b-11ckzhmkrt] {
    background-color: #138496;
    border-color: #117a8b;
}

.modal-overlay[b-11ckzhmkrt] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-11ckzhmkrt 0.3s ease;
}

@keyframes fadeIn-b-11ckzhmkrt {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-11ckzhmkrt] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-11ckzhmkrt 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-11ckzhmkrt {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-11ckzhmkrt] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-11ckzhmkrt] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-11ckzhmkrt] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-11ckzhmkrt] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-11ckzhmkrt] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-11ckzhmkrt] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-11ckzhmkrt]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-11ckzhmkrt]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-11ckzhmkrt]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-11ckzhmkrt]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-11ckzhmkrt] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-11ckzhmkrt] {
    margin-top: 0;
}

.modal-body ul[b-11ckzhmkrt], .modal-body ol[b-11ckzhmkrt] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-11ckzhmkrt] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-11ckzhmkrt] {
    color: #ff8c00;
}

.alert[b-11ckzhmkrt] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-11ckzhmkrt] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-11ckzhmkrt] {
    color: #856404;
}

.modal-footer[b-11ckzhmkrt] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.page-header h1[b-11ckzhmkrt] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header h1 .bi[b-11ckzhmkrt] {
    font-size: 1.75rem;
}

.form-card[b-11ckzhmkrt] {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
    border: 1px solid #ffcc80;
}

.form-card h3[b-11ckzhmkrt] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fff3e0;
}

.form-grid[b-11ckzhmkrt] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group[b-11ckzhmkrt] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-11ckzhmkrt] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group .form-control[b-11ckzhmkrt] {
    border: 1px solid #ffcc80;
    border-radius: 4px;
    padding: 0.5rem;
}

.form-group .form-control:focus[b-11ckzhmkrt] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.form-actions[b-11ckzhmkrt] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.table-container[b-11ckzhmkrt] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box[b-11ckzhmkrt] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-11ckzhmkrt] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-11ckzhmkrt] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-11ckzhmkrt] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-11ckzhmkrt] {
    margin-bottom: 0;
}

.table thead[b-11ckzhmkrt] {
    background-color: #ff8c00;
    color: white;
}

.table thead th[b-11ckzhmkrt] {
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table thead th.sortable[b-11ckzhmkrt] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-11ckzhmkrt] {
    background-color: #e67e00;
}

.sort-indicator[b-11ckzhmkrt] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-11ckzhmkrt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-11ckzhmkrt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.table tbody tr:hover[b-11ckzhmkrt] {
    background-color: #fff3e0;
}

.table tbody td[b-11ckzhmkrt] {
    vertical-align: middle;
    padding: 0.75rem 1rem;
}

.btn-warning[b-11ckzhmkrt] {
    background-color: #ffa726;
    border-color: #ffa726;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-warning:hover[b-11ckzhmkrt] {
    background-color: #ff9800;
    border-color: #ff9800;
}

.btn-danger[b-11ckzhmkrt] {
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.loading[b-11ckzhmkrt] {
    text-align: center;
    padding: 3rem;
    color: #ff8c00;
}

.loading .spinner-border[b-11ckzhmkrt] {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.no-data[b-11ckzhmkrt] {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-data .bi[b-11ckzhmkrt] {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.pagination-info[b-11ckzhmkrt] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.validation-message[b-11ckzhmkrt] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .conceptos-container[b-11ckzhmkrt] {
        padding: 1rem;
    }

    .page-header[b-11ckzhmkrt] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .table-container[b-11ckzhmkrt] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-11ckzhmkrt],
table tbody tr td button.btn[b-11ckzhmkrt],
.modal-body button.btn-sm[b-11ckzhmkrt],
.modal-section button.btn-sm[b-11ckzhmkrt],
.sucursal-card button.btn-sm[b-11ckzhmkrt] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-11ckzhmkrt],
table tbody tr td button.btn .bi[b-11ckzhmkrt],
.modal-body button.btn-sm .bi[b-11ckzhmkrt],
.modal-section button.btn-sm .bi[b-11ckzhmkrt],
.sucursal-card button.btn-sm .bi[b-11ckzhmkrt] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Alergenos/Ingredientes/Marcas.razor.rz.scp.css */
.marcas-container[b-fesawgimf1] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

.page-header[b-fesawgimf1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-fesawgimf1] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-fesawgimf1] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-fesawgimf1] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-fesawgimf1] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-fesawgimf1] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-fesawgimf1] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-fesawgimf1 0.3s ease;
}

@keyframes slideIn-b-fesawgimf1 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-fesawgimf1]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-fesawgimf1] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-fesawgimf1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-fesawgimf1] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-fesawgimf1] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-fesawgimf1] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-fesawgimf1] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-fesawgimf1] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-fesawgimf1] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-fesawgimf1] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-fesawgimf1] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-fesawgimf1] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-fesawgimf1] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-fesawgimf1] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-fesawgimf1] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-fesawgimf1],
.no-data[b-fesawgimf1] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-fesawgimf1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-fesawgimf1] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-fesawgimf1] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-fesawgimf1] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-fesawgimf1] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-fesawgimf1] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-fesawgimf1] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-fesawgimf1] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-fesawgimf1] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-fesawgimf1] {
    background-color: #f8f9fa;
}

.table tbody td[b-fesawgimf1] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-fesawgimf1] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-fesawgimf1] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-fesawgimf1] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-fesawgimf1] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-fesawgimf1] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-fesawgimf1] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-fesawgimf1] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-fesawgimf1] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE PROVINCIAS */
.modal-overlay[b-fesawgimf1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-fesawgimf1 0.3s ease;
}

@keyframes fadeIn-b-fesawgimf1 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-fesawgimf1] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-fesawgimf1 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-fesawgimf1 {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-fesawgimf1] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-fesawgimf1] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-fesawgimf1] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-fesawgimf1] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-fesawgimf1] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-fesawgimf1] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-fesawgimf1]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-fesawgimf1]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-fesawgimf1]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-fesawgimf1]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-fesawgimf1] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-fesawgimf1] {
    margin-top: 0;
}

.modal-body ul[b-fesawgimf1], .modal-body ol[b-fesawgimf1] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-fesawgimf1] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-fesawgimf1] {
    color: #ff8c00;
}

.alert[b-fesawgimf1] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-fesawgimf1] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-fesawgimf1] {
    color: #856404;
}

.modal-footer[b-fesawgimf1] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-fesawgimf1] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.page-header[b-fesawgimf1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-fesawgimf1] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-fesawgimf1] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-fesawgimf1] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-fesawgimf1] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-fesawgimf1] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-fesawgimf1] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-fesawgimf1 0.3s ease;
}

@keyframes slideIn-b-fesawgimf1 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-fesawgimf1]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-fesawgimf1 3s ease infinite;
}

@keyframes gradientMove-b-fesawgimf1 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-fesawgimf1] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-fesawgimf1] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-fesawgimf1] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-fesawgimf1] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-fesawgimf1] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-fesawgimf1] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-fesawgimf1] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-fesawgimf1] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-fesawgimf1] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-fesawgimf1] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-fesawgimf1] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-fesawgimf1] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-fesawgimf1] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-fesawgimf1] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-fesawgimf1] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-fesawgimf1] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-fesawgimf1] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-fesawgimf1] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-fesawgimf1] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-fesawgimf1] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-fesawgimf1] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-fesawgimf1] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-fesawgimf1] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-fesawgimf1] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-fesawgimf1] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-fesawgimf1] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-fesawgimf1] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-fesawgimf1] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-fesawgimf1] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-fesawgimf1] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-fesawgimf1] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-fesawgimf1] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-fesawgimf1] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-fesawgimf1] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-fesawgimf1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-fesawgimf1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.page-header[b-fesawgimf1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-fesawgimf1] {
    display: flex;
    gap: 0.75rem;
}

.btn-help[b-fesawgimf1] {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-help:hover[b-fesawgimf1] {
    background-color: #138496;
    border-color: #117a8b;
}

.modal-overlay[b-fesawgimf1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-fesawgimf1 0.3s ease;
}

@keyframes fadeIn-b-fesawgimf1 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-fesawgimf1] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-fesawgimf1 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-fesawgimf1 {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-fesawgimf1] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-fesawgimf1] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-fesawgimf1] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-fesawgimf1] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-fesawgimf1] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-fesawgimf1] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-fesawgimf1]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-fesawgimf1]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-fesawgimf1]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-fesawgimf1]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-fesawgimf1] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-fesawgimf1] {
    margin-top: 0;
}

.modal-body ul[b-fesawgimf1], .modal-body ol[b-fesawgimf1] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-fesawgimf1] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-fesawgimf1] {
    color: #ff8c00;
}

.alert[b-fesawgimf1] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-fesawgimf1] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-fesawgimf1] {
    color: #856404;
}

.modal-footer[b-fesawgimf1] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.page-header h1[b-fesawgimf1] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header h1 .bi[b-fesawgimf1] {
    font-size: 1.75rem;
}

.form-card[b-fesawgimf1] {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
    border: 1px solid #ffcc80;
}

.form-card h3[b-fesawgimf1] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fff3e0;
}

.form-grid[b-fesawgimf1] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group[b-fesawgimf1] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-fesawgimf1] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group .form-control[b-fesawgimf1] {
    border: 1px solid #ffcc80;
    border-radius: 4px;
    padding: 0.5rem;
}

.form-group .form-control:focus[b-fesawgimf1] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.form-actions[b-fesawgimf1] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.table-container[b-fesawgimf1] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box[b-fesawgimf1] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-fesawgimf1] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-fesawgimf1] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-fesawgimf1] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-fesawgimf1] {
    margin-bottom: 0;
}

.table thead[b-fesawgimf1] {
    background-color: #ff8c00;
    color: white;
}

.table thead th[b-fesawgimf1] {
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table thead th.sortable[b-fesawgimf1] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-fesawgimf1] {
    background-color: #e67e00;
}

.sort-indicator[b-fesawgimf1] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-fesawgimf1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-fesawgimf1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.table tbody tr:hover[b-fesawgimf1] {
    background-color: #fff3e0;
}

.table tbody td[b-fesawgimf1] {
    vertical-align: middle;
    padding: 0.75rem 1rem;
}

.btn-warning[b-fesawgimf1] {
    background-color: #ffa726;
    border-color: #ffa726;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-warning:hover[b-fesawgimf1] {
    background-color: #ff9800;
    border-color: #ff9800;
}

.btn-danger[b-fesawgimf1] {
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.loading[b-fesawgimf1] {
    text-align: center;
    padding: 3rem;
    color: #ff8c00;
}

.loading .spinner-border[b-fesawgimf1] {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.no-data[b-fesawgimf1] {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-data .bi[b-fesawgimf1] {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.pagination-info[b-fesawgimf1] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.validation-message[b-fesawgimf1] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .marcas-container[b-fesawgimf1] {
        padding: 1rem;
    }

    .page-header[b-fesawgimf1] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .table-container[b-fesawgimf1] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-fesawgimf1],
table tbody tr td button.btn[b-fesawgimf1],
.modal-body button.btn-sm[b-fesawgimf1],
.modal-section button.btn-sm[b-fesawgimf1],
.sucursal-card button.btn-sm[b-fesawgimf1] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-fesawgimf1],
table tbody tr td button.btn .bi[b-fesawgimf1],
.modal-body button.btn-sm .bi[b-fesawgimf1],
.modal-section button.btn-sm .bi[b-fesawgimf1],
.sucursal-card button.btn-sm .bi[b-fesawgimf1] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Alergenos/ProductosAsignados.razor.rz.scp.css */
.productos-asignados-container[b-cv3p94jm4f] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Contenedor de badges unificados */
.badges-container[b-cv3p94jm4f] {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 250px;
}

.badge-placeholder[b-cv3p94jm4f] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    flex-shrink: 0;
}

.badge-placeholder .bi[b-cv3p94jm4f] {
    margin-right: 0.25rem;
    width: 1rem;
    height: 1rem;
}


.page-header[b-cv3p94jm4f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-cv3p94jm4f] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-cv3p94jm4f] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-cv3p94jm4f] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-cv3p94jm4f] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-cv3p94jm4f] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-cv3p94jm4f] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-cv3p94jm4f 0.3s ease;
}

@keyframes slideIn-b-cv3p94jm4f {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-cv3p94jm4f]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-cv3p94jm4f] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-cv3p94jm4f] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-cv3p94jm4f] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-cv3p94jm4f] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-cv3p94jm4f] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-cv3p94jm4f] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-cv3p94jm4f] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-cv3p94jm4f] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-cv3p94jm4f] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-cv3p94jm4f] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-cv3p94jm4f] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-cv3p94jm4f] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-cv3p94jm4f] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-cv3p94jm4f] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.loading[b-cv3p94jm4f],
.no-data[b-cv3p94jm4f] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-cv3p94jm4f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-cv3p94jm4f] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-cv3p94jm4f] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-cv3p94jm4f] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-cv3p94jm4f] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-cv3p94jm4f] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-cv3p94jm4f] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-cv3p94jm4f] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-cv3p94jm4f] {
    background-color: #f8f9fa;
}

.table tbody td[b-cv3p94jm4f] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

/* Columna de Informaci�n - forzar una sola l�nea */
.table tbody td:nth-last-child(2)[b-cv3p94jm4f] {
    white-space: nowrap;
    min-width: 280px;
    overflow: visible;
}

.table tbody td:last-child[b-cv3p94jm4f] {
    white-space: nowrap;
    min-width: 240px;
}

.btn-sm[b-cv3p94jm4f] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    vertical-align: middle;
}

.btn-sm .bi[b-cv3p94jm4f] {
    margin-right: 0 !important;
    flex-shrink: 0;
}

.me-1[b-cv3p94jm4f] {
    margin-right: 0.5rem !important;
}

.btn-warning[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white !important;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-cv3p94jm4f] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white !important;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-cv3p94jm4f] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

/* Asegurar que los botones en la columna de acciones est�n en l�nea */
.table tbody td:last-child[b-cv3p94jm4f] {
    white-space: nowrap;
    min-width: 240px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.table tbody td:last-child .btn-sm[b-cv3p94jm4f] {
    display: inline-block !important;
    margin-bottom: 0 !important;
}

.pagination-info[b-cv3p94jm4f] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda */
.modal-overlay[b-cv3p94jm4f] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-cv3p94jm4f 0.3s ease;
}

@keyframes fadeIn-b-cv3p94jm4f {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-cv3p94jm4f] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-cv3p94jm4f 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-cv3p94jm4f {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-cv3p94jm4f] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-cv3p94jm4f] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-cv3p94jm4f] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-cv3p94jm4f] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-cv3p94jm4f] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para modal de ingredientes (azul turquesa) */
.modal-header-warning ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar {
    width: 8px;
}

.modal-header-warning ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-track {
    background: #e8f7f9;
    border-radius: 4px;
}

.modal-header-warning ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-header-warning ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

/* Scrollbar personalizado para modal de al�rgenos (rojo) */
.modal-header-danger ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar {
    width: 8px;
}

.modal-header-danger ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-track {
    background: #f8d7da;
    border-radius: 4px;
}

.modal-header-danger ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 4px;
}

.modal-header-danger ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}

.modal-body h3[b-cv3p94jm4f] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-cv3p94jm4f] {
    margin-top: 0;
}

.modal-body ul[b-cv3p94jm4f], .modal-body ol[b-cv3p94jm4f] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-cv3p94jm4f] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-cv3p94jm4f] {
    color: #ff8c00;
}

.alert[b-cv3p94jm4f] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-cv3p94jm4f] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-cv3p94jm4f] {
    color: #856404;
}

.modal-footer[b-cv3p94jm4f] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

/* Secci�n de items relacionados */
.section-card[b-cv3p94jm4f] {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.section-card h4[b-cv3p94jm4f] {
    color: #ff8c00;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-responsive[b-cv3p94jm4f] {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.add-section[b-cv3p94jm4f] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.form-control-sm[b-cv3p94jm4f] {
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* Estilos para los badges bonitos de las columnas */
.btn-badge[b-cv3p94jm4f] {
    display: inline-block;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

.badge-ingrediente[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.badge-ingrediente:hover[b-cv3p94jm4f] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.5);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.badge-alergeno[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.badge-alergeno:hover[b-cv3p94jm4f] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.5);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.badge-dietetica[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.badge-dietetica:hover[b-cv3p94jm4f] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.5);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.badge-nutricional[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #6f42c1 0%, #8e5ed6 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(111, 66, 193, 0.3);
}

.badge-nutricional:hover[b-cv3p94jm4f] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(111, 66, 193, 0.5);
    background: linear-gradient(135deg, #5a32a3 0%, #6f42c1 100%);
}

.text-center[b-cv3p94jm4f] {
    text-align: center;
}

.text-muted[b-cv3p94jm4f] {
    color: #6c757d;
    font-style: italic;
}

.badge[b-cv3p94jm4f] {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
}

.bg-success[b-cv3p94jm4f] {
    background-color: #28a745 !important;
    color: white !important;
}

.bg-secondary[b-cv3p94jm4f] {
    background-color: #6c757d !important;
    color: white !important;
}

.bg-info[b-cv3p94jm4f] {
    background-color: #17a2b8 !important;
    color: white !important;
}

.bg-warning[b-cv3p94jm4f] {
    background-color: #ffc107 !important;
}

.text-dark[b-cv3p94jm4f] {
    color: #212529 !important;
}

/* Estilos para modales de detalle */
.modal-dialog-detail[b-cv3p94jm4f] {
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

/* Estilos para el body de los modales con altura flexible */
.modal-dialog-detail .modal-content[b-cv3p94jm4f] {
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-dialog-detail .modal-body[b-cv3p94jm4f] {
    overflow-y: auto;
    max-height: calc(80vh - 200px);
    flex: 1;
}

/* Scrollbar personalizado para modal con header INFO (morado) */
.modal-header-info ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar {
    width: 10px;
}

.modal-header-info ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #6f42c1 0%, #8e5ed6 100%);
    border-radius: 10px;
}

.modal-header-info ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-header-info ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    background-clip: padding-box;
}

/* Scrollbar personalizado para modal con header WARNING (cyan/azul) - Ingredientes */
.modal-header-warning ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar {
    width: 10px;
}

.modal-header-warning ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border-radius: 10px;
}

.modal-header-warning ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-header-warning ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    background-clip: padding-box;
}

/* Scrollbar personalizado para modal con header DANGER (rojo) - Al�rgenos */
.modal-header-danger ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar {
    width: 10px;
}

.modal-header-danger ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border-radius: 10px;
}

.modal-header-danger ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-header-danger ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    background-clip: padding-box;
}

/* Scrollbar personalizado para modal con header SUCCESS (verde) - Diet�tica */
.modal-header-success ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar {
    width: 10px;
}

.modal-header-success ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border-radius: 10px;
}

.modal-header-success ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-header-success ~ .modal-body[b-cv3p94jm4f]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    background-clip: padding-box;
}

.modal-header-info[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #6f42c1 0%, #8e5ed6 100%) !important;
}

.modal-header-warning[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%) !important;
}

.modal-header-danger[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%) !important;
}

.modal-header-success[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%) !important;
}

.table-detail[b-cv3p94jm4f] {
    margin-bottom: 0;
    table-layout: auto;
    width: 100%;
}

.table-detail thead th[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border: none;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
}

.table-detail thead th:first-child[b-cv3p94jm4f] {
    border-radius: 8px 0 0 0;
}

.table-detail thead th:last-child[b-cv3p94jm4f] {
    border-radius: 0 8px 0 0;
}

.table-detail tbody td[b-cv3p94jm4f] {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 300px;
}

/* M�s espacio para el nombre del ingrediente en la primera columna */
.table-detail tbody td:first-child[b-cv3p94jm4f] {
    max-width: 400px;
}

/* Ajustes espec�ficos para el modal de informaci�n nutricional */
.modal-header-info ~ .modal-body .table-detail tbody td[b-cv3p94jm4f] {
    max-width: 250px;
}

.modal-header-info ~ .modal-body .table-detail tbody td:first-child[b-cv3p94jm4f] {
    max-width: 350px;
}

.modal-header-info ~ .modal-body .table-detail tbody td:nth-child(2)[b-cv3p94jm4f],
.modal-header-info ~ .modal-body .table-detail tbody td:nth-child(3)[b-cv3p94jm4f] {
    max-width: 100px;
    min-width: 80px;
}

/* Ajustar anchos de encabezados del modal nutricional */
.modal-header-info ~ .modal-body .table-detail thead th:nth-child(2)[b-cv3p94jm4f] {
    width: 100px !important;
    max-width: 100px;
}

.modal-header-info ~ .modal-body .table-detail thead th:nth-child(3)[b-cv3p94jm4f] {
    width: 80px !important;
    max-width: 80px;
}

.table-detail tbody tr:last-child td[b-cv3p94jm4f] {
    border-bottom: none;
}

.table-detail tbody tr:hover[b-cv3p94jm4f] {
    background-color: #f8f9fa;
}

.badge-order[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-cv3p94jm4f],
table tbody tr td button.btn[b-cv3p94jm4f],
.modal-body button.btn-sm[b-cv3p94jm4f],
.modal-section button.btn-sm[b-cv3p94jm4f],
.sucursal-card button.btn-sm[b-cv3p94jm4f] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-cv3p94jm4f],
table tbody tr td button.btn .bi[b-cv3p94jm4f],
.modal-body button.btn-sm .bi[b-cv3p94jm4f],
.modal-section button.btn-sm .bi[b-cv3p94jm4f],
.sucursal-card button.btn-sm .bi[b-cv3p94jm4f] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* Secci�n de filtros mejorada */
.filter-section[b-cv3p94jm4f] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.filter-label[b-cv3p94jm4f] {
    font-weight: 600;
    color: #ff8c00;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: block;
}

.filter-section .form-control[b-cv3p94jm4f] {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.filter-section .form-control:focus[b-cv3p94jm4f] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
    outline: none;
}

.filter-section select.form-control[b-cv3p94jm4f] {
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

.filter-section select.form-control option[b-cv3p94jm4f] {
    padding: 0.5rem;
}

.filter-section .btn-secondary[b-cv3p94jm4f] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(108, 117, 125, 0.3);
}

.filter-section .btn-secondary:hover[b-cv3p94jm4f] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}
/* /Components/Pages/Alergenos/ProductosTerminados.razor.rz.scp.css */
.productos-terminados-container[b-s11qezbq2e] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Contenedor de badges unificados */
.badges-container[b-s11qezbq2e] {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 250px;
}

.badge-placeholder[b-s11qezbq2e] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    flex-shrink: 0;
}

.badge-placeholder .bi[b-s11qezbq2e] {
    margin-right: 0.25rem;
    width: 1rem;
    height: 1rem;
}


.page-header[b-s11qezbq2e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-s11qezbq2e] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-s11qezbq2e] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-s11qezbq2e] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-s11qezbq2e] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-s11qezbq2e] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

/* El btn-primary hereda del app.css global */
.btn-primary[b-s11qezbq2e] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-s11qezbq2e] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.btn-primary 

.form-card[b-s11qezbq2e] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-s11qezbq2e 0.3s ease;
}

@keyframes slideIn-b-s11qezbq2e {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-s11qezbq2e]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-s11qezbq2e] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-s11qezbq2e] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-s11qezbq2e] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-s11qezbq2e] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-s11qezbq2e] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-s11qezbq2e] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-s11qezbq2e] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-s11qezbq2e] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-s11qezbq2e] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-s11qezbq2e] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-s11qezbq2e] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-s11qezbq2e] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-s11qezbq2e] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-s11qezbq2e] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-s11qezbq2e] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-s11qezbq2e] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.search-box[b-s11qezbq2e] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-s11qezbq2e] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-s11qezbq2e] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-s11qezbq2e] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.search-box[b-s11qezbq2e] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-s11qezbq2e] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-s11qezbq2e] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-s11qezbq2e] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.loading[b-s11qezbq2e],
.no-data[b-s11qezbq2e] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-s11qezbq2e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-s11qezbq2e] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-s11qezbq2e] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-s11qezbq2e] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-s11qezbq2e] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-s11qezbq2e] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-s11qezbq2e] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-s11qezbq2e] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-s11qezbq2e] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-s11qezbq2e] {
    background-color: #f8f9fa;
}

.table tbody td[b-s11qezbq2e] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

/* Columna de Informaci�n - forzar una sola l�nea */
.table tbody td:nth-last-child(2)[b-s11qezbq2e] {
    white-space: nowrap;
    min-width: 280px;
    overflow: visible;
}

.table tbody td:last-child[b-s11qezbq2e] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-s11qezbq2e] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-s11qezbq2e] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-s11qezbq2e] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-s11qezbq2e] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-sm .bi[b-s11qezbq2e] {
    margin-right: 0 !important;
    flex-shrink: 0;
}

.btn-warning[b-s11qezbq2e] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white !important;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-s11qezbq2e] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-s11qezbq2e] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white !important;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-s11qezbq2e] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

/* Asegurar que la columna de acciones tenga suficiente espacio */
.table tbody td:last-child[b-s11qezbq2e] {
    white-space: nowrap;
    min-width: 240px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* En pantallas muy peque�as, mantener el texto visible */
@media (max-width: 768px) {
    .btn-sm[b-s11qezbq2e] {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .table tbody td:last-child[b-s11qezbq2e] {
        min-width: 220px;
    }
}

.pagination-info[b-s11qezbq2e] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda */
.modal-overlay[b-s11qezbq2e] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-s11qezbq2e 0.3s ease;
}

@keyframes fadeIn-b-s11qezbq2e {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-s11qezbq2e] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-s11qezbq2e 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-s11qezbq2e {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-s11qezbq2e] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-s11qezbq2e] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-s11qezbq2e] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-s11qezbq2e] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-s11qezbq2e] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-s11qezbq2e] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.modal-body[b-s11qezbq2e]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-s11qezbq2e]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-s11qezbq2e] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-s11qezbq2e] {
    margin-top: 0;
}

.modal-body ul[b-s11qezbq2e], .modal-body ol[b-s11qezbq2e] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-s11qezbq2e] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-s11qezbq2e] {
    color: #ff8c00;
}

.alert[b-s11qezbq2e] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-s11qezbq2e] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-s11qezbq2e] {
    color: #856404;
}

.modal-footer[b-s11qezbq2e] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

/* Secci�n de items relacionados */
.section-card[b-s11qezbq2e] {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

/* Estilos para inputs editables dentro de las tablas del formulario */
.section-card .table input.form-control-sm[b-s11qezbq2e] {
    padding: 0.4rem;
    font-size: 0.875rem;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.section-card .table input.form-control-sm:focus[b-s11qezbq2e],
.section-card .table select.form-control-sm:focus[b-s11qezbq2e] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
    background-color: #fff;
}

.section-card .table input.form-control-sm:hover[b-s11qezbq2e],
.section-card .table select.form-control-sm:hover[b-s11qezbq2e] {
    border-color: #ffa726;
    background-color: #fffbf5;
}

.section-card .table select.form-control-sm[b-s11qezbq2e] {
    padding: 0.4rem;
    font-size: 0.875rem;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Badges para mostrar el tipo de contenido de al�rgeno */
.badge[b-s11qezbq2e] {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
}

.bg-warning[b-s11qezbq2e] {
    background-color: #ffc107 !important;
}

.bg-danger[b-s11qezbq2e] {
    background-color: #dc3545 !important;
    color: white !important;
}

.text-dark[b-s11qezbq2e] {
    color: #212529 !important;
}

.section-card h4[b-s11qezbq2e] {
    color: #ff8c00;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-responsive[b-s11qezbq2e] {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.add-item-form[b-s11qezbq2e] {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.form-control-sm[b-s11qezbq2e] {
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* Estilos para los badges bonitos de las columnas */
.btn-badge[b-s11qezbq2e] {
    display: inline-block;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

.badge-ingrediente[b-s11qezbq2e] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.badge-ingrediente:hover[b-s11qezbq2e] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.5);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.badge-alergeno[b-s11qezbq2e] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.badge-alergeno:hover[b-s11qezbq2e] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.5);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.badge-dietetica[b-s11qezbq2e] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.badge-dietetica:hover[b-s11qezbq2e] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.5);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.badge-nutricional[b-s11qezbq2e] {
    background: linear-gradient(135deg, #6f42c1 0%, #8e5ed6 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(111, 66, 193, 0.3);
}

.badge-nutricional:hover[b-s11qezbq2e] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(111, 66, 193, 0.5);
    background: linear-gradient(135deg, #5a32a3 0%, #6f42c1 100%);
}

.text-center[b-s11qezbq2e] {
    text-align: center;
}

.text-muted[b-s11qezbq2e] {
    color: #6c757d;
    font-style: italic;
}

/* Estilos para modales de detalle */
.modal-dialog-detail[b-s11qezbq2e] {
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

/* Estilos para el body de los modales con altura flexible */
.modal-dialog-detail .modal-content[b-s11qezbq2e] {
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-dialog-detail .modal-body[b-s11qezbq2e] {
    overflow-y: auto;
    max-height: calc(80vh - 200px);
    flex: 1;
}

/* Scrollbar personalizado para modal con header INFO (morado) */
.modal-header-info ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar {
    width: 10px;
}

.modal-header-info ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #6f42c1 0%, #8e5ed6 100%);
    border-radius: 10px;
}

.modal-header-info ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-header-info ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    background-clip: padding-box;
}

/* Scrollbar personalizado para modal con header WARNING (cyan/azul) - Ingredientes */
.modal-header-warning ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar {
    width: 10px;
}

.modal-header-warning ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border-radius: 10px;
}

.modal-header-warning ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-header-warning ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    background-clip: padding-box;
}

/* Scrollbar personalizado para modal con header DANGER (rojo) - Al�rgenos */
.modal-header-danger ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar {
    width: 10px;
}

.modal-header-danger ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border-radius: 10px;
}

.modal-header-danger ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-header-danger ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    background-clip: padding-box;
}

/* Scrollbar personalizado para modal con header SUCCESS (verde) - Diet�tica */
.modal-header-success ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar {
    width: 10px;
}

.modal-header-success ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border-radius: 10px;
}

.modal-header-success ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-header-success ~ .modal-body[b-s11qezbq2e]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    background-clip: padding-box;
}

.modal-header-info[b-s11qezbq2e] {
    background: linear-gradient(135deg, #6f42c1 0%, #8e5ed6 100%) !important;
}

.modal-header-warning[b-s11qezbq2e] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%) !important;
}

.modal-header-danger[b-s11qezbq2e] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%) !important;
}

.modal-header-success[b-s11qezbq2e] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%) !important;
}

.table-detail[b-s11qezbq2e] {
    margin-bottom: 0;
    table-layout: auto;
    width: 100%;
}

/* Permitir que el texto de ingredientes haga word wrap */
.table-detail tbody td[b-s11qezbq2e] {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 300px;
}

.table-detail tbody td:first-child[b-s11qezbq2e] {
    max-width: 400px; /* M�s espacio para el nombre del ingrediente */
}

/* Permitir que los encabezados tambi�n hagan word wrap */
.table-detail thead th[b-s11qezbq2e] {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
}

/* Ajustes espec�ficos para el modal de informaci�n nutricional */
.modal-header-info ~ .modal-body .table-detail tbody td[b-s11qezbq2e] {
    max-width: 250px;
}

.modal-header-info ~ .modal-body .table-detail tbody td:first-child[b-s11qezbq2e] {
    max-width: 350px;
}

.modal-header-info ~ .modal-body .table-detail tbody td:nth-child(2)[b-s11qezbq2e],
.modal-header-info ~ .modal-body .table-detail tbody td:nth-child(3)[b-s11qezbq2e] {
    max-width: 100px;
    min-width: 80px;
}

/* Ajustar anchos de encabezados del modal nutricional */
.modal-header-info ~ .modal-body .table-detail thead th:nth-child(2)[b-s11qezbq2e] {
    width: 100px !important;
    max-width: 100px;
}

.modal-header-info ~ .modal-body .table-detail thead th:nth-child(3)[b-s11qezbq2e] {
    width: 80px !important;
    max-width: 80px;
}

/* ===================================
   Estilos para Autocompletado de Ingredientes
   =================================== */

.autocomplete-wrapper[b-s11qezbq2e] {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown[b-s11qezbq2e] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ffcc80;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
    margin-top: -1px;
}

.autocomplete-item[b-s11qezbq2e] {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
}

.autocomplete-item:hover[b-s11qezbq2e] {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding-left: 1.2rem;
}

.autocomplete-item strong[b-s11qezbq2e] {
    color: #ff8c00;
    font-weight: 600;
    margin-right: 0.5rem;
}

.autocomplete-item-info[b-s11qezbq2e] {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
    text-align: center;
    background-color: #f8f9fa;
}

.autocomplete-item-empty[b-s11qezbq2e] {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* Scroll personalizado para el dropdown */
.autocomplete-dropdown[b-s11qezbq2e]::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-dropdown[b-s11qezbq2e]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 8px 0;
}

.autocomplete-dropdown[b-s11qezbq2e]::-webkit-scrollbar-thumb {
    background: #ffcc80;
    border-radius: 4px;
}

.autocomplete-dropdown[b-s11qezbq2e]::-webkit-scrollbar-thumb:hover {
    background: #ff8c00;
}

/* Mejora del input de b�squeda */
.autocomplete-wrapper input[b-s11qezbq2e] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.autocomplete-wrapper input:focus[b-s11qezbq2e] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    outline: none;
    border-radius: 8px 8px 0 0;
}

.autocomplete-wrapper input:focus + .autocomplete-dropdown[b-s11qezbq2e] {
    border-top: 1px solid #ff8c00;
}

/* Animaci�n al mostrar el dropdown */
.autocomplete-dropdown[b-s11qezbq2e] {
    animation: slideDown-b-s11qezbq2e 0.2s ease-out;
}

@keyframes slideDown-b-s11qezbq2e {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-detail thead th[b-s11qezbq2e] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border: none;
}

.table-detail thead th:first-child[b-s11qezbq2e] {
    border-radius: 8px 0 0 0;
}

.table-detail thead th:last-child[b-s11qezbq2e] {
    border-radius: 0 8px 0 0;
}

.table-detail tbody td[b-s11qezbq2e] {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.table-detail tbody tr:last-child td[b-s11qezbq2e] {
    border-bottom: none;
}

.table-detail tbody tr:hover[b-s11qezbq2e] {
    background-color: #f8f9fa;
}

/* Campo de b�squeda para filtrar subingredientes */
.search-box-subingredientes[b-s11qezbq2e] {
    position: relative;
    width: 100%;
}

.search-box-subingredientes input[b-s11qezbq2e] {
    width: 100%;
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
    border-radius: 20px;
    background-color: #f5f5f5;
}

.search-box-subingredientes input:focus[b-s11qezbq2e] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    outline: none;
    background-color: #ffffff;
}

.search-box-subingredientes .bi[b-s11qezbq2e] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1rem;
    pointer-events: none;
}

/* Asegurar que los botones dentro de las tablas de modales tambi�n muestren el texto */
.table-detail .btn-sm[b-s11qezbq2e] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    white-space: nowrap;
    margin: 0 0.2rem;
}

.table-detail .btn-sm .bi[b-s11qezbq2e] {
    margin-right: 0 !important;
}

.table-detail .btn-warning[b-s11qezbq2e] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white !important;
    border: none;
    box-shadow: 0 2px 4px rgba(255, 167, 38, 0.3);
}

.table-detail .btn-warning:hover[b-s11qezbq2e] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.table-detail .btn-danger[b-s11qezbq2e] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white !important;
    border: none;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.table-detail .btn-danger:hover[b-s11qezbq2e] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.table-detail .btn-success[b-s11qezbq2e] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white !important;
    border: none;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.table-detail .btn-success:hover[b-s11qezbq2e] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.table-detail .btn-secondary[b-s11qezbq2e] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white !important;
    border: none;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.table-detail .btn-secondary:hover[b-s11qezbq2e] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

/* Estilos para los inputs dentro de las tablas de modales */
.table-detail input.form-control-sm[b-s11qezbq2e] {
    padding: 0.4rem;
    font-size: 0.85rem;
    border: 2px solid #17a2b8;
    border-radius: 4px;
}

.table-detail input.form-control-sm:focus[b-s11qezbq2e] {
    outline: none;
    border-color: #138496;
    box-shadow: 0 0 0 2px rgba(23, 162, 184, 0.2);
}

.search-box[b-s11qezbq2e] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-s11qezbq2e] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-s11qezbq2e] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-s11qezbq2e] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}
/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-s11qezbq2e],
table tbody tr td button.btn[b-s11qezbq2e],
.modal-body button.btn-sm[b-s11qezbq2e],
.modal-section button.btn-sm[b-s11qezbq2e],
.sucursal-card button.btn-sm[b-s11qezbq2e] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-s11qezbq2e],
table tbody tr td button.btn .bi[b-s11qezbq2e],
.modal-body button.btn-sm .bi[b-s11qezbq2e],
.modal-section button.btn-sm .bi[b-s11qezbq2e],
.sucursal-card button.btn-sm .bi[b-s11qezbq2e] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Facturacion/Clientes.razor.rz.scp.css */
.clientes-container[b-z4ejhqqkve] {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.clientes-container *[b-z4ejhqqkve] {
    box-sizing: border-box;
    max-width: 100%;
}

.page-header[b-z4ejhqqkve] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-z4ejhqqkve] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-z4ejhqqkve] {
    color: #ff8c00;
    font-size: 2.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-z4ejhqqkve] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-z4ejhqqkve] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-z4ejhqqkve] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-z4ejhqqkve] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-z4ejhqqkve] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-z4ejhqqkve] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-z4ejhqqkve 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

@keyframes slideIn-b-z4ejhqqkve {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-z4ejhqqkve]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-z4ejhqqkve] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-section[b-z4ejhqqkve] {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type[b-z4ejhqqkve] {
    border-bottom: none;
}

.form-section h4[b-z4ejhqqkve] {
    color: #ff8c00;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fff3e0;
}

.form-grid[b-z4ejhqqkve] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group-full[b-z4ejhqqkve] {
    grid-column: 1 / -1;
}

.form-group[b-z4ejhqqkve] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-z4ejhqqkve] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-z4ejhqqkve] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-z4ejhqqkve] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-z4ejhqqkve] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-z4ejhqqkve] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-z4ejhqqkve] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-z4ejhqqkve] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-z4ejhqqkve] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-z4ejhqqkve] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-z4ejhqqkve] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-z4ejhqqkve] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-z4ejhqqkve] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-z4ejhqqkve] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-z4ejhqqkve],
.no-data[b-z4ejhqqkve] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-z4ejhqqkve] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-z4ejhqqkve] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-z4ejhqqkve] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-z4ejhqqkve] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-z4ejhqqkve] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-z4ejhqqkve] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-z4ejhqqkve] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-z4ejhqqkve] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-z4ejhqqkve] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-z4ejhqqkve] {
    background-color: #f8f9fa;
}

.table tbody td[b-z4ejhqqkve] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-z4ejhqqkve] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-z4ejhqqkve] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-z4ejhqqkve] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-z4ejhqqkve] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-z4ejhqqkve] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-z4ejhqqkve] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-z4ejhqqkve] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-z4ejhqqkve] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-z4ejhqqkve] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-z4ejhqqkve] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

.modal-overlay[b-z4ejhqqkve] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-z4ejhqqkve 0.3s ease;
}

@keyframes fadeIn-b-z4ejhqqkve {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-z4ejhqqkve] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-z4ejhqqkve 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-z4ejhqqkve {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-z4ejhqqkve] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-z4ejhqqkve] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-z4ejhqqkve] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-z4ejhqqkve] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-z4ejhqqkve] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-z4ejhqqkve] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.modal-body[b-z4ejhqqkve]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-z4ejhqqkve]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-z4ejhqqkve]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-z4ejhqqkve]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-z4ejhqqkve] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-z4ejhqqkve] {
    margin-top: 0;
}

.modal-body ul[b-z4ejhqqkve], .modal-body ol[b-z4ejhqqkve] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-z4ejhqqkve] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-z4ejhqqkve] {
    color: #ff8c00;
}

.alert[b-z4ejhqqkve] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-z4ejhqqkve] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-z4ejhqqkve] {
    color: #856404;
}

.modal-footer[b-z4ejhqqkve] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-z4ejhqqkve] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.row-cliente[b-z4ejhqqkve] {
    background-color: rgba(255, 255, 255, 1);
}

.row-sucursal[b-z4ejhqqkve] {
    background-color: rgba(240, 248, 255, 0.5);
}

.text-muted[b-z4ejhqqkve] {
    color: #6c757d;
}

.form-check-input[b-z4ejhqqkve] {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
}

textarea.form-control[b-z4ejhqqkve] {
    resize: vertical;
    min-height: 100px;
}

table tbody tr td button.btn-sm[b-z4ejhqqkve],
table tbody tr td button.btn[b-z4ejhqqkve],
.modal-body button.btn-sm[b-z4ejhqqkve],
.sucursal-card button.btn-sm[b-z4ejhqqkve],
.modal-section button.btn-sm[b-z4ejhqqkve] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-z4ejhqqkve],
table tbody tr td button.btn .bi[b-z4ejhqqkve],
.modal-body button.btn-sm .bi[b-z4ejhqqkve],
.sucursal-card button.btn-sm .bi[b-z4ejhqqkve],
.modal-section button.btn-sm .bi[b-z4ejhqqkve] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    .clientes-container[b-z4ejhqqkve] {
        padding: 1rem;
    }

    .page-header[b-z4ejhqqkve] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-grid[b-z4ejhqqkve] {
        grid-template-columns: 1fr;
    }

    .table-container[b-z4ejhqqkve] {
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .clientes-container[b-z4ejhqqkve] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .page-header[b-z4ejhqqkve] { 
        flex-direction: column !important; 
        align-items: flex-start !important;
        width: 100% !important;
    }
    
    .page-header h1[b-z4ejhqqkve] { 
        font-size: 1.5rem !important; 
    }
    
    .header-actions[b-z4ejhqqkve] { 
        flex-direction: column; 
        width: 100%; 
    }
    
    .header-actions button[b-z4ejhqqkve] { 
        width: 100%; 
    }
    
    .form-card[b-z4ejhqqkve] {
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .table-container[b-z4ejhqqkve] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .form-grid[b-z4ejhqqkve] { 
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    
    .form-section[b-z4ejhqqkve] {
        width: 100% !important;
    }
    
    .form-group[b-z4ejhqqkve] {
        width: 100% !important;
    }
    
    .form-control[b-z4ejhqqkve] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .table[b-z4ejhqqkve] { 
        width: 100% !important;
    }
    
    .table thead[b-z4ejhqqkve] { 
        display: none; 
    }
    
    .table tbody[b-z4ejhqqkve] { 
        width: 100% !important;
    }
    
    .table tbody tr[b-z4ejhqqkve] { 
        display: block; 
        margin-bottom: 1rem; 
        border: 1px solid #e9ecef; 
        border-radius: 8px; 
        padding: 0.75rem; 
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .table tbody td[b-z4ejhqqkve] { 
        display: flex; 
        justify-content: space-between; 
        padding: 0.5rem 0 !important; 
        border: none !important; 
        width: 100% !important;
    }
    
    .table tbody td[b-z4ejhqqkve]::before { 
        content: attr(data-label); 
        font-weight: 600; 
        color: #ff8c00; 
        margin-right: 0.5rem; 
    }
    
    .table tbody td:last-child[b-z4ejhqqkve] { 
        flex-direction: column; 
        gap: 0.5rem; 
    }
    
    .btn-sm[b-z4ejhqqkve] { 
        width: 100%; 
        margin-left: 0 !important; 
    }
}
/* /Components/Pages/Facturacion/FormasPago.razor.rz.scp.css */
.formas-pago-container[b-ntxk1rj8md] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

.page-header[b-ntxk1rj8md] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-ntxk1rj8md] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-ntxk1rj8md] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-ntxk1rj8md] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-ntxk1rj8md] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-ntxk1rj8md 0.3s ease;
}

@keyframes slideIn-b-ntxk1rj8md {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-ntxk1rj8md]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-ntxk1rj8md] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-ntxk1rj8md] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-ntxk1rj8md] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-ntxk1rj8md] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-ntxk1rj8md] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-ntxk1rj8md] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-ntxk1rj8md] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-ntxk1rj8md] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-ntxk1rj8md] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-ntxk1rj8md] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-ntxk1rj8md] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-ntxk1rj8md] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-ntxk1rj8md],
.no-data[b-ntxk1rj8md] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-ntxk1rj8md] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-ntxk1rj8md] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-ntxk1rj8md] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-ntxk1rj8md] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-ntxk1rj8md] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-ntxk1rj8md] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-ntxk1rj8md] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-ntxk1rj8md] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-ntxk1rj8md] {
    background-color: #f8f9fa;
}

.table tbody td[b-ntxk1rj8md] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-ntxk1rj8md] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-ntxk1rj8md] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-ntxk1rj8md] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-ntxk1rj8md] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-ntxk1rj8md] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-ntxk1rj8md] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE FORMASPAGO */
.modal-overlay[b-ntxk1rj8md] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-ntxk1rj8md 0.3s ease;
}

@keyframes fadeIn-b-ntxk1rj8md {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-ntxk1rj8md] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-ntxk1rj8md 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-ntxk1rj8md {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-ntxk1rj8md] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-ntxk1rj8md] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-ntxk1rj8md] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-ntxk1rj8md] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-ntxk1rj8md] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-ntxk1rj8md]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-ntxk1rj8md]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-ntxk1rj8md]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-ntxk1rj8md]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-ntxk1rj8md] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-ntxk1rj8md] {
    margin-top: 0;
}

.modal-body ul[b-ntxk1rj8md], .modal-body ol[b-ntxk1rj8md] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-ntxk1rj8md] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-ntxk1rj8md] {
    color: #ff8c00;
}

.alert[b-ntxk1rj8md] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-ntxk1rj8md] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-ntxk1rj8md] {
    color: #856404;
}

.modal-footer[b-ntxk1rj8md] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-ntxk1rj8md] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .formas-pago-container[b-ntxk1rj8md] {
        padding: 1rem;
    }

    .page-header[b-ntxk1rj8md] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-ntxk1rj8md] {
        overflow-x: auto;
    }
}

.page-header[b-ntxk1rj8md] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-ntxk1rj8md] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-ntxk1rj8md] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-ntxk1rj8md] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-ntxk1rj8md] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-ntxk1rj8md 0.3s ease;
}

@keyframes slideIn-b-ntxk1rj8md {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-ntxk1rj8md]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-ntxk1rj8md 3s ease infinite;
}

@keyframes gradientMove-b-ntxk1rj8md {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-ntxk1rj8md] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-ntxk1rj8md] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-ntxk1rj8md] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-ntxk1rj8md] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-ntxk1rj8md] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-ntxk1rj8md] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-group .form-control:disabled[b-ntxk1rj8md] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-group small[b-ntxk1rj8md] {
    margin-top: 0.35rem;
    color: #666;
    font-size: 0.85rem;
}

.text-muted[b-ntxk1rj8md] {
    color: #6c757d;
}

.form-actions[b-ntxk1rj8md] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-ntxk1rj8md] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-ntxk1rj8md] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-ntxk1rj8md] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-ntxk1rj8md] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-ntxk1rj8md] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-ntxk1rj8md] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-ntxk1rj8md] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-ntxk1rj8md] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-ntxk1rj8md] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-ntxk1rj8md] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-ntxk1rj8md] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-ntxk1rj8md] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-ntxk1rj8md] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-ntxk1rj8md] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-ntxk1rj8md] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-ntxk1rj8md] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-ntxk1rj8md] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-ntxk1rj8md] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-ntxk1rj8md] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-ntxk1rj8md] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-ntxk1rj8md] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-ntxk1rj8md] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-ntxk1rj8md] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-ntxk1rj8md] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-ntxk1rj8md] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

/* Estilos del modal de ayuda */
.modal-overlay[b-ntxk1rj8md] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-ntxk1rj8md 0.3s ease;
}

@keyframes fadeIn-b-ntxk1rj8md {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-ntxk1rj8md] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-ntxk1rj8md 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-ntxk1rj8md {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-ntxk1rj8md] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-ntxk1rj8md] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-ntxk1rj8md] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-ntxk1rj8md] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-ntxk1rj8md] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-ntxk1rj8md] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-ntxk1rj8md]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-ntxk1rj8md]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-ntxk1rj8md]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-ntxk1rj8md]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-ntxk1rj8md] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-ntxk1rj8md] {
    margin-top: 0;
}

.modal-body ul[b-ntxk1rj8md], .modal-body ol[b-ntxk1rj8md] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-ntxk1rj8md] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-ntxk1rj8md] {
    color: #ff8c00;
}

.alert[b-ntxk1rj8md] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-ntxk1rj8md] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-ntxk1rj8md] {
    color: #856404;
}

.modal-footer[b-ntxk1rj8md] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
    .formas-pago-container[b-ntxk1rj8md] {
        padding: 1rem;
    }

    .page-header[b-ntxk1rj8md] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-ntxk1rj8md] {
        overflow-x: auto;
    }
    
    .form-grid[b-ntxk1rj8md] {
        grid-template-columns: 1fr;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-ntxk1rj8md],
table tbody tr td button.btn[b-ntxk1rj8md],
.modal-body button.btn-sm[b-ntxk1rj8md],
.modal-section button.btn-sm[b-ntxk1rj8md],
.sucursal-card button.btn-sm[b-ntxk1rj8md] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-ntxk1rj8md],
table tbody tr td button.btn .bi[b-ntxk1rj8md],
.modal-body button.btn-sm .bi[b-ntxk1rj8md],
.modal-section button.btn-sm .bi[b-ntxk1rj8md],
.sucursal-card button.btn-sm .bi[b-ntxk1rj8md] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Facturacion/Proveedores.razor.rz.scp.css */
.proveedores-container[b-4a0q2riajk] {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.proveedores-container *[b-4a0q2riajk] {
    box-sizing: border-box;
    max-width: 100%;
}


.page-header[b-4a0q2riajk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-4a0q2riajk] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-4a0q2riajk] {
    color: #ff8c00;
    font-size: 2.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-4a0q2riajk] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-4a0q2riajk] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-4a0q2riajk] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-4a0q2riajk] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-4a0q2riajk 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

@keyframes slideIn-b-4a0q2riajk {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-4a0q2riajk]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-4a0q2riajk] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Secciones del formulario para proveedores */
.form-section[b-4a0q2riajk] {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type[b-4a0q2riajk] {
    border-bottom: none;
}

.form-section h4[b-4a0q2riajk] {
    color: #ff8c00;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fff3e0;
}

.form-grid[b-4a0q2riajk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group-full[b-4a0q2riajk] {
    grid-column: 1 / -1;
}

.form-group[b-4a0q2riajk] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-4a0q2riajk] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-4a0q2riajk] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-4a0q2riajk] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-4a0q2riajk] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-4a0q2riajk] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-4a0q2riajk] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-4a0q2riajk] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-4a0q2riajk] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-4a0q2riajk] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-4a0q2riajk] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-4a0q2riajk] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-4a0q2riajk],
.no-data[b-4a0q2riajk] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-4a0q2riajk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-4a0q2riajk] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-4a0q2riajk] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-4a0q2riajk] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-4a0q2riajk] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-4a0q2riajk] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-4a0q2riajk] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-4a0q2riajk] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-4a0q2riajk] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-4a0q2riajk] {
    background-color: #f8f9fa;
}

.table tbody td[b-4a0q2riajk] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-4a0q2riajk] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-4a0q2riajk] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-4a0q2riajk] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-4a0q2riajk] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-4a0q2riajk] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-4a0q2riajk] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-4a0q2riajk] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-4a0q2riajk] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE PROVEEDORES */
.modal-overlay[b-4a0q2riajk] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-4a0q2riajk 0.3s ease;
}

@keyframes fadeIn-b-4a0q2riajk {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-4a0q2riajk] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-4a0q2riajk 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-4a0q2riajk {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-4a0q2riajk] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-4a0q2riajk] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-4a0q2riajk] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-4a0q2riajk] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-4a0q2riajk] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-4a0q2riajk] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-4a0q2riajk]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-4a0q2riajk]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-4a0q2riajk]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-4a0q2riajk]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-4a0q2riajk] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-4a0q2riajk] {
    margin-top: 0;
}

.modal-body ul[b-4a0q2riajk], .modal-body ol[b-4a0q2riajk] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-4a0q2riajk] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-4a0q2riajk] {
    color: #ff8c00;
}

.alert[b-4a0q2riajk] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-4a0q2riajk] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-4a0q2riajk] {
    color: #856404;
}

.modal-footer[b-4a0q2riajk] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-4a0q2riajk] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .proveedores-container[b-4a0q2riajk] {
        padding: 1rem;
    }

    .page-header[b-4a0q2riajk] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-grid[b-4a0q2riajk] {
        grid-template-columns: 1fr;
    }

    .table-container[b-4a0q2riajk] {
        overflow-x: auto;
    }
}

/* Iconos personalizados para el bot�n de ayuda y modal */
.btn-help 

.modal-header 

.page-header[b-4a0q2riajk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-4a0q2riajk] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-4a0q2riajk] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Secciones del formulario */
.form-section[b-4a0q2riajk] {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type[b-4a0q2riajk] {
    border-bottom: none;
}

.form-section h4[b-4a0q2riajk] {
    color: #ff8c00;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fff3e0;
}

/* Grid para proveedores */
.form-section .form-grid[b-4a0q2riajk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Campos que ocupan todo el ancho */
.form-group-full[b-4a0q2riajk] {
    grid-column: 1 / -1;
}

.form-card[b-4a0q2riajk] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-4a0q2riajk 0.3s ease;
}

@keyframes slideIn-b-4a0q2riajk {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-4a0q2riajk]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-4a0q2riajk 3s ease infinite;
}

@keyframes gradientMove-b-4a0q2riajk {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-4a0q2riajk] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
}

.form-group[b-4a0q2riajk] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-4a0q2riajk] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
}

.form-group .form-control[b-4a0q2riajk] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-4a0q2riajk] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-group .form-control:disabled[b-4a0q2riajk] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-group small[b-4a0q2riajk] {
    margin-top: 0.35rem;
    color: #666;
    font-size: 0.85rem;
}

.text-muted[b-4a0q2riajk] {
    color: #6c757d;
}

textarea.form-control[b-4a0q2riajk] {
    resize: vertical;
    min-height: 100px;
}

.form-actions[b-4a0q2riajk] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    margin-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.btn-help[b-4a0q2riajk] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
}

.btn-primary[b-4a0q2riajk] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
}

.btn-success[b-4a0q2riajk] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
}

.btn-secondary[b-4a0q2riajk] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
}

.btn-warning[b-4a0q2riajk] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
}

.btn-danger[b-4a0q2riajk] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
}

.table-container[b-4a0q2riajk] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.search-box[b-4a0q2riajk] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-4a0q2riajk] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-4a0q2riajk] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi-search[b-4a0q2riajk] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-4a0q2riajk] {
    margin-bottom: 0;
}

.table thead[b-4a0q2riajk] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-4a0q2riajk] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.table thead th:first-child[b-4a0q2riajk] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-4a0q2riajk] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-4a0q2riajk] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-4a0q2riajk] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-4a0q2riajk] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-4a0q2riajk] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-4a0q2riajk] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

/* Columna de acciones con botones en l�nea */
.table tbody td:last-child[b-4a0q2riajk] {
    white-space: nowrap;
}

.btn-sm[b-4a0q2riajk] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    border: none;
    margin-right: 0.5rem;
}

.btn-sm:last-child[b-4a0q2riajk] {
    margin-right: 0;
}

.btn-sm.btn-warning[b-4a0q2riajk] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-sm.btn-warning:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-sm.btn-danger[b-4a0q2riajk] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
}

.btn-sm.btn-danger:hover[b-4a0q2riajk] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-4a0q2riajk] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-4a0q2riajk] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
}

.no-data[b-4a0q2riajk] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-4a0q2riajk] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-4a0q2riajk] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-4a0q2riajk] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-4a0q2riajk] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

/* Modal de ayuda */
.modal-overlay[b-4a0q2riajk] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-4a0q2riajk 0.3s ease;
}

@keyframes fadeIn-b-4a0q2riajk {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-4a0q2riajk] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-4a0q2riajk 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-4a0q2riajk {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-4a0q2riajk] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-4a0q2riajk] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-4a0q2riajk] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-4a0q2riajk] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-4a0q2riajk] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-4a0q2riajk] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-4a0q2riajk]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-4a0q2riajk]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-4a0q2riajk]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-4a0q2riajk]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-4a0q2riajk] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body h3:first-child[b-4a0q2riajk] {
    margin-top: 0;
}

.modal-body ul[b-4a0q2riajk], .modal-body ol[b-4a0q2riajk] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-4a0q2riajk] {
    margin-bottom: 0.5rem;
}

.alert[b-4a0q2riajk] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-4a0q2riajk] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.modal-footer[b-4a0q2riajk] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .proveedores-container[b-4a0q2riajk] {
        padding: 1rem;
    }

    .page-header[b-4a0q2riajk] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-section .form-grid[b-4a0q2riajk] {
        grid-template-columns: 1fr;
    }

    .table-container[b-4a0q2riajk] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-4a0q2riajk],
table tbody tr td button.btn[b-4a0q2riajk],
.modal-body button.btn-sm[b-4a0q2riajk],
.modal-section button.btn-sm[b-4a0q2riajk],
.sucursal-card button.btn-sm[b-4a0q2riajk] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-4a0q2riajk],
table tbody tr td button.btn .bi[b-4a0q2riajk],
.modal-body button.btn-sm .bi[b-4a0q2riajk],
.modal-section button.btn-sm .bi[b-4a0q2riajk],
.sucursal-card button.btn-sm .bi[b-4a0q2riajk] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .proveedores-container[b-4a0q2riajk] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
    }
    .page-header[b-4a0q2riajk] { 
        flex-direction: column !important; 
        align-items: flex-start !important;
        width: 100% !important;
    }
    .page-header h1[b-4a0q2riajk] { font-size: 1.5rem !important; }
    .header-actions[b-4a0q2riajk] { 
        flex-direction: column; 
        width: 100%; 
    }
    .header-actions button[b-4a0q2riajk] { width: 100%; }
    
    .form-card[b-4a0q2riajk] {
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .table-container[b-4a0q2riajk] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .form-grid[b-4a0q2riajk] { 
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    
    .form-section[b-4a0q2riajk] {
        width: 100% !important;
    }
    
    .form-group[b-4a0q2riajk] {
        width: 100% !important;
    }
    
    .form-control[b-4a0q2riajk] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .table[b-4a0q2riajk] { 
        width: 100% !important;
    }
    .table thead[b-4a0q2riajk] { display: none; }
    .table tbody[b-4a0q2riajk] { 
        width: 100% !important;
    }
    .table tbody tr[b-4a0q2riajk] { 
        display: block; 
        margin-bottom: 1rem; 
        border: 1px solid #e9ecef; 
        border-radius: 8px; 
        padding: 0.75rem; 
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .table tbody td[b-4a0q2riajk] { 
        display: flex; 
        justify-content: space-between; 
        padding: 0.5rem 0 !important; 
        border: none !important; 
        width: 100% !important;
    }
    .table tbody td[b-4a0q2riajk]::before { 
        content: attr(data-label); 
        font-weight: 600; 
        color: #ff8c00; 
        margin-right: 0.5rem; 
    }
    .table tbody td:last-child[b-4a0q2riajk] { 
        flex-direction: column; 
        gap: 0.5rem; 
    }
    .btn-sm[b-4a0q2riajk] { 
        width: 100%; 
        margin-left: 0 !important; 
    }
}



/* /Components/Pages/Ficheros/Alergenos.razor.rz.scp.css */
.alergenos-container[b-b16002pmbm] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

.page-header[b-b16002pmbm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-b16002pmbm] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-b16002pmbm] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-b16002pmbm] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-b16002pmbm] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-b16002pmbm] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-b16002pmbm] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-b16002pmbm] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-b16002pmbm] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-b16002pmbm 0.3s ease;
}

@keyframes slideIn-b-b16002pmbm {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-b16002pmbm]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-b16002pmbm] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-b16002pmbm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-b16002pmbm] {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label[b-b16002pmbm] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-b16002pmbm] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-b16002pmbm] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-check[b-b16002pmbm] {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.form-check-input[b-b16002pmbm] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.form-check-label[b-b16002pmbm] {
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    margin-bottom: 0;
}

.form-actions[b-b16002pmbm] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

.btn-success[b-b16002pmbm] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
    cursor: pointer;
}

.btn-success:hover[b-b16002pmbm] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-b16002pmbm] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
    cursor: pointer;
}

.btn-secondary:hover[b-b16002pmbm] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-b16002pmbm] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-b16002pmbm] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-b16002pmbm] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-b16002pmbm] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-b16002pmbm] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.search-box[b-b16002pmbm] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-b16002pmbm] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-b16002pmbm] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-b16002pmbm] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.search-box[b-b16002pmbm] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-b16002pmbm] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-b16002pmbm] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-b16002pmbm] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.loading[b-b16002pmbm],
.no-data[b-b16002pmbm] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-b16002pmbm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-b16002pmbm] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-b16002pmbm] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-b16002pmbm] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-b16002pmbm] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border: none;
}

.table thead th:first-child[b-b16002pmbm] {
    border-radius: 10px 0 0 0;
}

.table thead th:last-child[b-b16002pmbm] {
    border-radius: 0 10px 0 0;
}

.sortable[b-b16002pmbm] {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-b16002pmbm] {
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.sort-indicator[b-b16002pmbm] {
    margin-left: 0.25rem;
    font-size: 0.8rem;
}

.table tbody td[b-b16002pmbm] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.table tbody td:last-child[b-b16002pmbm] {
    white-space: nowrap;
    min-width: 200px;
}

.table tbody tr:hover[b-b16002pmbm] {
    background-color: #fff9f0;
}

.table tbody tr:last-child td[b-b16002pmbm] {
    border-bottom: none;
}

.btn-sm[b-b16002pmbm] {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-warning[b-b16002pmbm] {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    border: none;
    color: white;
    box-shadow: 0 3px 5px rgba(255, 193, 7, 0.3);
    margin-right: 0.5rem;
}

.btn-warning:hover[b-b16002pmbm] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #e0a800 0%, #ffc107 100%);
}

.btn-danger[b-b16002pmbm] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-b16002pmbm] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-b16002pmbm] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda */
.modal-overlay[b-b16002pmbm] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-b16002pmbm 0.3s ease;
}

@keyframes fadeIn-b-b16002pmbm {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-b16002pmbm] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-b16002pmbm 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-b16002pmbm {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-b16002pmbm] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-b16002pmbm] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-b16002pmbm] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-b16002pmbm] {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn-close:hover[b-b16002pmbm] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body[b-b16002pmbm] {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-body h3[b-b16002pmbm] {
    color: #ff8c00;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body ul[b-b16002pmbm], .modal-body ol[b-b16002pmbm] {
    line-height: 1.8;
    color: #495057;
}

.modal-body strong[b-b16002pmbm] {
    color: #ff8c00;
}

.alert[b-b16002pmbm] {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.alert-warning[b-b16002pmbm] {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.modal-footer[b-b16002pmbm] {
    padding: 1.25rem 2rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.badge[b-b16002pmbm] {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
}

.bg-success[b-b16002pmbm] {
    background-color: #28a745 !important;
    color: white !important;
}

.bg-secondary[b-b16002pmbm] {
    background-color: #6c757d !important;
    color: white !important;
}

.text-center[b-b16002pmbm] {
    text-align: center !important;
}

.ms-2[b-b16002pmbm] {
    margin-left: 0.5rem !important;
}

.mt-2[b-b16002pmbm] {
    margin-top: 0.5rem !important;
}

.search-box[b-b16002pmbm] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-b16002pmbm] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-b16002pmbm] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-b16002pmbm] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}
/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-b16002pmbm],
table tbody tr td button.btn[b-b16002pmbm],
.modal-body button.btn-sm[b-b16002pmbm],
.modal-section button.btn-sm[b-b16002pmbm],
.sucursal-card button.btn-sm[b-b16002pmbm] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-b16002pmbm],
table tbody tr td button.btn .bi[b-b16002pmbm],
.modal-body button.btn-sm .bi[b-b16002pmbm],
.modal-section button.btn-sm .bi[b-b16002pmbm],
.sucursal-card button.btn-sm .bi[b-b16002pmbm] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Ficheros/Anotaciones.razor.rz.scp.css */
.anotaciones-container[b-0vljddy5yf] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}


.page-header[b-0vljddy5yf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-0vljddy5yf] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-0vljddy5yf] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-0vljddy5yf] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-0vljddy5yf] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-0vljddy5yf] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-0vljddy5yf] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-0vljddy5yf] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-0vljddy5yf] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-0vljddy5yf 0.3s ease;
}

@keyframes slideIn-b-0vljddy5yf {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-0vljddy5yf]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-0vljddy5yf] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-0vljddy5yf] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-0vljddy5yf] {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label[b-0vljddy5yf] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-0vljddy5yf] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-0vljddy5yf] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-control:disabled[b-0vljddy5yf] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.color-input-group[b-0vljddy5yf] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.color-input-group input[type="text"].form-control[b-0vljddy5yf],
.color-input-group .form-control[b-0vljddy5yf] {
    width: 95px !important;
    max-width: 95px !important;
    min-width: 95px !important;
    flex-shrink: 0;
}

.color-picker[b-0vljddy5yf] {
    width: 60px;
    height: 60px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.color-picker:hover[b-0vljddy5yf] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.color-preview[b-0vljddy5yf] {
    width: 50px;
    height: 38px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    flex-shrink: 0;
}

.preview-card[b-0vljddy5yf] {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.preview-card h4[b-0vljddy5yf] {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.preview-text[b-0vljddy5yf] {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    font-size: 1.1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.form-actions[b-0vljddy5yf] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

.btn-success[b-0vljddy5yf] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
    cursor: pointer;
}

.btn-success:hover[b-0vljddy5yf] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-0vljddy5yf] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
    cursor: pointer;
}

.btn-secondary:hover[b-0vljddy5yf] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-0vljddy5yf] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-0vljddy5yf] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-0vljddy5yf] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-0vljddy5yf] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-0vljddy5yf] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.search-box[b-0vljddy5yf] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-0vljddy5yf] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-0vljddy5yf] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-0vljddy5yf] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.search-box[b-0vljddy5yf] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-0vljddy5yf] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-0vljddy5yf] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-0vljddy5yf] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.loading[b-0vljddy5yf],
.no-data[b-0vljddy5yf] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-0vljddy5yf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-0vljddy5yf] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-0vljddy5yf] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-0vljddy5yf] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-0vljddy5yf] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border: none;
}

.table thead th:first-child[b-0vljddy5yf] {
    border-radius: 10px 0 0 0;
}

.table thead th:last-child[b-0vljddy5yf] {
    border-radius: 0 10px 0 0;
}

.sortable[b-0vljddy5yf] {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-0vljddy5yf] {
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.sort-indicator[b-0vljddy5yf] {
    margin-left: 0.25rem;
    font-size: 0.8rem;
}

.table tbody td[b-0vljddy5yf] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.table tbody td:last-child[b-0vljddy5yf] {
    white-space: nowrap;
    min-width: 200px;
}

.table tbody tr:hover[b-0vljddy5yf] {
    background-color: #fff9f0;
}

.table tbody tr:last-child td[b-0vljddy5yf] {
    border-bottom: none;
}

.btn-sm[b-0vljddy5yf] {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-warning[b-0vljddy5yf] {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    border: none;
    color: white;
    box-shadow: 0 3px 5px rgba(255, 193, 7, 0.3);
    margin-right: 0.5rem;
}

.btn-warning:hover[b-0vljddy5yf] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #e0a800 0%, #ffc107 100%);
}

.btn-danger[b-0vljddy5yf] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-0vljddy5yf] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.color-display[b-0vljddy5yf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.color-box[b-0vljddy5yf] {
    width: 30px;
    height: 30px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
}

.badge[b-0vljddy5yf] {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
}

.bg-info[b-0vljddy5yf] {
    background-color: #17a2b8 !important;
    color: white !important;
}

.bg-primary[b-0vljddy5yf] {
    background-color: #007bff !important;
    color: white !important;
}

.bg-warning[b-0vljddy5yf] {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.pagination-info[b-0vljddy5yf] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda */
.modal-overlay[b-0vljddy5yf] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-0vljddy5yf 0.3s ease;
}

@keyframes fadeIn-b-0vljddy5yf {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-0vljddy5yf] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-0vljddy5yf 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-0vljddy5yf {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-0vljddy5yf] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-0vljddy5yf] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-0vljddy5yf] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-0vljddy5yf] {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn-close:hover[b-0vljddy5yf] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body[b-0vljddy5yf] {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

/* Personalizaci�n de la barra de desplazamiento del modal */
.modal-body[b-0vljddy5yf]::-webkit-scrollbar {
    width: 10px;
}

.modal-body[b-0vljddy5yf]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body[b-0vljddy5yf]::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border-radius: 10px;
}

.modal-body[b-0vljddy5yf]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

/* Para Firefox */
.modal-body[b-0vljddy5yf] {
    scrollbar-width: thin;
    scrollbar-color: #17a2b8 #f1f1f1;
}

.modal-body h3[b-0vljddy5yf] {
    color: #ff8c00;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body ul[b-0vljddy5yf], .modal-body ol[b-0vljddy5yf] {
    line-height: 1.8;
    color: #495057;
}

.modal-body strong[b-0vljddy5yf] {
    color: #ff8c00;
}

.alert[b-0vljddy5yf] {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.alert-warning[b-0vljddy5yf] {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.modal-footer[b-0vljddy5yf] {
    padding: 1.25rem 2rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.text-center[b-0vljddy5yf] {
    text-align: center !important;
}

.text-muted[b-0vljddy5yf] {
    color: #6c757d !important;
    font-size: 0.875rem;
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-0vljddy5yf],
table tbody tr td button.btn[b-0vljddy5yf],
.modal-body button.btn-sm[b-0vljddy5yf],
.modal-section button.btn-sm[b-0vljddy5yf],
.sucursal-card button.btn-sm[b-0vljddy5yf] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-0vljddy5yf],
table tbody tr td button.btn .bi[b-0vljddy5yf],
.modal-body button.btn-sm .bi[b-0vljddy5yf],
.modal-section button.btn-sm .bi[b-0vljddy5yf],
.sucursal-card button.btn-sm .bi[b-0vljddy5yf] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .anotaciones-container[b-0vljddy5yf] { padding: 0.75rem !important; }
    .page-header[b-0vljddy5yf] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-0vljddy5yf] { font-size: 1.5rem !important; }
    .header-actions[b-0vljddy5yf] { flex-direction: column; width: 100%; }
    .header-actions button[b-0vljddy5yf] { width: 100%; }
    .form-grid[b-0vljddy5yf] { grid-template-columns: 1fr !important; }
    .table thead[b-0vljddy5yf] { display: none; }
    .table tbody tr[b-0vljddy5yf] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; }
    .table tbody td[b-0vljddy5yf] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; }
    .table tbody td[b-0vljddy5yf]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-0vljddy5yf] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-0vljddy5yf] { width: 100%; margin-left: 0 !important; }
}
/* /Components/Pages/Herramientas/CalculadoraCientifica.razor.rz.scp.css */
.calculator-container[b-kttdos2n3a] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    outline: none;
}

.calculator-container:focus[b-kttdos2n3a] {
    outline: none;
}


.calculator[b-kttdos2n3a] {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(255, 140, 0, 0.2);
    max-width: 600px;
    width: 100%;
}

.calculator-header[b-kttdos2n3a] {
    text-align: center;
    margin-bottom: 20px;
    color: #ff8c00;
    font-weight: bold;
}

.calculator-header h3[b-kttdos2n3a] {
    margin: 0;
    font-size: 1.5rem;
    color: #ff8c00;
    text-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
}

.calculator-header i[b-kttdos2n3a] {
    margin-right: 10px;
}

.display-container[b-kttdos2n3a] {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #ff8c00;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.5),
                0 0 15px rgba(255, 140, 0, 0.2);
}

.display-history[b-kttdos2n3a] {
    color: #ffa726;
    font-size: 0.9rem;
    min-height: 25px;
    text-align: right;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    opacity: 0.7;
}

.display-main[b-kttdos2n3a] {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-align: right;
    min-height: 45px;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.calculator-buttons[b-kttdos2n3a] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button-row[b-kttdos2n3a] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calculator-buttons button[b-kttdos2n3a] {
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.calculator-buttons button:active[b-kttdos2n3a] {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.calculator-buttons button[b-kttdos2n3a]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.calculator-buttons button:active[b-kttdos2n3a]::before {
    width: 300px;
    height: 300px;
}

.btn-number[b-kttdos2n3a] {
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    color: white;
}

.btn-number:hover[b-kttdos2n3a] {
    background: linear-gradient(145deg, #5a5a5a, #4a4a4a);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(255, 140, 0, 0.3);
}

.btn-zero[b-kttdos2n3a] {
    grid-column: span 2;
}

.btn-operator[b-kttdos2n3a] {
    background: linear-gradient(145deg, #ff8c00, #e67e00);
    color: white;
}

.btn-operator:hover[b-kttdos2n3a] {
    background: linear-gradient(145deg, #ffa726, #ff8c00);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.5),
                0 0 20px rgba(255, 140, 0, 0.4);
}

.btn-function[b-kttdos2n3a] {
    background: linear-gradient(145deg, #d87000, #b85f00);
    color: white;
    font-size: 0.85rem;
}

.btn-function:hover[b-kttdos2n3a] {
    background: linear-gradient(145deg, #e67e00, #d87000);
    box-shadow: 0 6px 12px rgba(216, 112, 0, 0.5),
                0 0 20px rgba(216, 112, 0, 0.3);
}

.btn-special[b-kttdos2n3a] {
    background: linear-gradient(145deg, #666666, #555555);
    color: white;
}

.btn-special:hover[b-kttdos2n3a] {
    background: linear-gradient(145deg, #777777, #666666);
    box-shadow: 0 6px 12px rgba(102, 102, 102, 0.5);
}

.btn-clear[b-kttdos2n3a] {
    background: linear-gradient(145deg, #dc3545, #c82333);
    color: white;
}

.btn-clear:hover[b-kttdos2n3a] {
    background: linear-gradient(145deg, #e74c3c, #dc3545);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.5),
                0 0 20px rgba(220, 53, 69, 0.3);
}

.btn-equals[b-kttdos2n3a] {
    background: linear-gradient(145deg, #28a745, #218838);
    color: white;
    grid-column: span 2;
}

.btn-equals:hover[b-kttdos2n3a] {
    background: linear-gradient(145deg, #34ce57, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.5),
                0 0 20px rgba(40, 167, 69, 0.3);
}

.btn-memory[b-kttdos2n3a] {
    background: linear-gradient(145deg, #6f42c1, #5a32a3);
    color: white;
    font-size: 0.85rem;
}

.btn-memory:hover[b-kttdos2n3a] {
    background: linear-gradient(145deg, #8556d4, #6f42c1);
    box-shadow: 0 6px 12px rgba(111, 66, 193, 0.5),
                0 0 20px rgba(111, 66, 193, 0.3);
}

.error-message[b-kttdos2n3a] {
    background: linear-gradient(145deg, #dc3545, #c82333);
    color: white;
    padding: 12px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
    animation: shake-b-kttdos2n3a 0.5s;
}

.memory-indicator[b-kttdos2n3a] {
    background: linear-gradient(145deg, #6f42c1, #5a32a3);
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(111, 66, 193, 0.4);
}

@keyframes shake-b-kttdos2n3a {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .calculator[b-kttdos2n3a] {
        padding: 15px;
        max-width: 100%;
    }

    .button-row[b-kttdos2n3a] {
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }

    .calculator-buttons button[b-kttdos2n3a] {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .btn-function[b-kttdos2n3a],
    .btn-memory[b-kttdos2n3a] {
        font-size: 0.7rem;
    }

    .display-main[b-kttdos2n3a] {
        font-size: 1.5rem;
    }

    .calculator-header h3[b-kttdos2n3a] {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .calculator[b-kttdos2n3a] {
        padding: 10px;
    }

    .button-row[b-kttdos2n3a] {
        gap: 4px;
    }

    .calculator-buttons button[b-kttdos2n3a] {
        padding: 10px 5px;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .btn-function[b-kttdos2n3a],
    .btn-memory[b-kttdos2n3a] {
        font-size: 0.6rem;
    }

    .display-main[b-kttdos2n3a] {
        font-size: 1.3rem;
    }

    .display-history[b-kttdos2n3a] {
        font-size: 0.75rem;
    }
}
/* /Components/Pages/Herramientas/Plantillas.razor.rz.scp.css */
.plantillas-container[b-s7tfktgp5h] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Iconos */


/* Header */
.page-header[b-s7tfktgp5h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-s7tfktgp5h] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-s7tfktgp5h] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-s7tfktgp5h] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

/* Formulario */
.form-container[b-s7tfktgp5h] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 16px rgba(255, 140, 0, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.1);
}

.form-container h3[b-s7tfktgp5h] {
    color: #ff8c00;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ffe4cc;
    font-weight: 700;
}

.form-grid[b-s7tfktgp5h] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group[b-s7tfktgp5h] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-s7tfktgp5h] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-control[b-s7tfktgp5h], .form-control:focus[b-s7tfktgp5h] {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-s7tfktgp5h] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
    outline: 0;
}

.form-actions[b-s7tfktgp5h] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

/* Badges de tipo */
.badge-tipo-word[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #2b579a 0%, #3b6cb8 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-tipo-excel[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #217346 0%, #2a9360 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-tipo-pdf[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #d83535 0%, #e64545 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-tipo-html[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #e44d26 0%, #f16529 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Tabla */
.table-container[b-s7tfktgp5h] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 16px rgba(255, 140, 0, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.1);
}

.search-box[b-s7tfktgp5h] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-s7tfktgp5h] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-s7tfktgp5h] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-s7tfktgp5h] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.search-box[b-s7tfktgp5h] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-s7tfktgp5h] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-s7tfktgp5h] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-s7tfktgp5h] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.search-box[b-s7tfktgp5h] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-s7tfktgp5h] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-s7tfktgp5h] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-s7tfktgp5h] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-s7tfktgp5h] {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    padding: 1.25rem 1rem;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-s7tfktgp5h] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-s7tfktgp5h] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-s7tfktgp5h] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody td[b-s7tfktgp5h] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table-hover tbody tr:hover[b-s7tfktgp5h] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-s7tfktgp5h] {
    background-color: #f8f9fa;
}

/* Botones */
.btn[b-s7tfktgp5h] {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-s7tfktgp5h] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9920 100%);
}

.btn-success[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-s7tfktgp5h] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-s7tfktgp5h] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.btn-info[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(23, 162, 184, 0.3);
}

.btn-info:hover[b-s7tfktgp5h] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(23, 162, 184, 0.4);
}

.btn-warning[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #ffc107 0%, #ffcd39 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover[b-s7tfktgp5h] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 193, 7, 0.4);
}

.btn-danger[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover[b-s7tfktgp5h] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
}

.btn-sm[b-s7tfktgp5h] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn:disabled[b-s7tfktgp5h] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Estados */
.loading[b-s7tfktgp5h], .no-data[b-s7tfktgp5h] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading .spinner-border[b-s7tfktgp5h] {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff8c00;
    border-radius: 50%;
    animation: spin-b-s7tfktgp5h 1s linear infinite;
}

@keyframes spin-b-s7tfktgp5h {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-data .bi-inbox[b-s7tfktgp5h] {
    width: 4rem;
    height: 4rem;
    display: block;
    margin: 0 auto 1rem;
}

.pagination-info[b-s7tfktgp5h] {
    text-align: center;
    padding: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.text-success[b-s7tfktgp5h] {
    color: #198754;
}

.text-danger[b-s7tfktgp5h] {
    color: #dc3545;
}

.text-muted[b-s7tfktgp5h] {
    color: #6c757d;
}

.me-1[b-s7tfktgp5h] {
    margin-right: 0.25rem;
}

.bg-success[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.bg-secondary[b-s7tfktgp5h] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
}

.badge[b-s7tfktgp5h] {
    padding: 0.35rem 0.65rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
}

.validation-message[b-s7tfktgp5h] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.search-box[b-s7tfktgp5h] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-s7tfktgp5h] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-s7tfktgp5h] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-s7tfktgp5h] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}
/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-s7tfktgp5h],
table tbody tr td button.btn[b-s7tfktgp5h],
.modal-body button.btn-sm[b-s7tfktgp5h],
.modal-section button.btn-sm[b-s7tfktgp5h],
.sucursal-card button.btn-sm[b-s7tfktgp5h] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-s7tfktgp5h],
table tbody tr td button.btn .bi[b-s7tfktgp5h],
.modal-body button.btn-sm .bi[b-s7tfktgp5h],
.modal-section button.btn-sm .bi[b-s7tfktgp5h],
.sucursal-card button.btn-sm .bi[b-s7tfktgp5h] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-container[b-u1ainhi0x7] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.welcome-card[b-u1ainhi0x7] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-header[b-u1ainhi0x7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.welcome-header h1[b-u1ainhi0x7] {
    color: #ff8c00;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info[b-u1ainhi0x7] {
    color: #666;
    font-size: 1.1rem;
}

.header-actions[b-u1ainhi0x7] {
    display: flex;
    gap: 1rem;
}

.empty-dashboard[b-u1ainhi0x7] {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-icon[b-u1ainhi0x7] {
    font-size: 6rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1.5rem;
}

.empty-dashboard h3[b-u1ainhi0x7] {
    color: #333;
    margin-bottom: 1rem;
}

.empty-dashboard p[b-u1ainhi0x7] {
    margin-bottom: 2rem;
}

.dashboard-grid[b-u1ainhi0x7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-card[b-u1ainhi0x7] {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.dashboard-card:hover[b-u1ainhi0x7] {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-actions[b-u1ainhi0x7] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.btn-icon[b-u1ainhi0x7] {
    border: none;
    background: white;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-edit[b-u1ainhi0x7] {
    color: #ff8c00;
}

.btn-edit:hover[b-u1ainhi0x7] {
    background: #ff8c00;
    color: white;
}

.btn-delete[b-u1ainhi0x7] {
    color: #dc3545;
}

.btn-delete:hover[b-u1ainhi0x7] {
    background: #dc3545;
    color: white;
}

.card-order-controls[b-u1ainhi0x7] {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: white;
    padding: 0.25rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-order[b-u1ainhi0x7] {
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
    font-size: 0.9rem;
}

.btn-order:not(:disabled):hover[b-u1ainhi0x7] {
    background: #ff8c00;
    color: white;
    transform: scale(1.1);
}

.btn-order:disabled[b-u1ainhi0x7] {
    opacity: 0.3;
    cursor: not-allowed;
}

.order-badge[b-u1ainhi0x7] {
    font-size: 0.75rem;
    font-weight: bold;
    color: #ff8c00;
    padding: 0 0.25rem;
    min-width: 1.5rem;
    text-align: center;
}

.card-icon[b-u1ainhi0x7] {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.dashboard-card h3[b-u1ainhi0x7] {
    color: #333;
    margin-bottom: 0.5rem;
}

.dashboard-card p[b-u1ainhi0x7] {
    color: #666;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.btn[b-u1ainhi0x7] {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary[b-u1ainhi0x7] {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    color: white;
}

.btn-primary:hover[b-u1ainhi0x7] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.btn-secondary[b-u1ainhi0x7] {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.btn-secondary:hover[b-u1ainhi0x7] {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
}

.btn-success[b-u1ainhi0x7] {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.btn-danger[b-u1ainhi0x7] {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.btn-lg[b-u1ainhi0x7] {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm[b-u1ainhi0x7] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Modal Styles */
.modal-overlay[b-u1ainhi0x7] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-u1ainhi0x7 0.3s ease;
}

@keyframes fadeIn-b-u1ainhi0x7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-u1ainhi0x7] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-u1ainhi0x7 0.3s ease;
}

@keyframes slideDown-b-u1ainhi0x7 {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-u1ainhi0x7] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-u1ainhi0x7] {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2[b-u1ainhi0x7] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-u1ainhi0x7] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
}

.btn-close:hover[b-u1ainhi0x7] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-u1ainhi0x7] {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.search-box[b-u1ainhi0x7] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-u1ainhi0x7] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.search-box .bi-search[b-u1ainhi0x7] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.no-paginas[b-u1ainhi0x7] {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-paginas .bi[b-u1ainhi0x7] {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.paginas-list[b-u1ainhi0x7] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.pagina-item[b-u1ainhi0x7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagina-item:hover[b-u1ainhi0x7] {
    border-color: #ff8c00;
    background: #fff3e0;
}

.pagina-info[b-u1ainhi0x7] {
    display: flex;
    gap: 1rem;
    flex: 1;
    align-items: center;
}

.pagina-info strong[b-u1ainhi0x7] {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.pagina-info p[b-u1ainhi0x7] {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.pagina-info small[b-u1ainhi0x7] {
    display: block;
    margin-top: 0.25rem;
}

.form-group[b-u1ainhi0x7] {
    margin-bottom: 1.5rem;
}

.form-group label[b-u1ainhi0x7] {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control[b-u1ainhi0x7] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-u1ainhi0x7] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.icon-preview[b-u1ainhi0x7] {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.color-picker[b-u1ainhi0x7] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.color-picker input[type="color"][b-u1ainhi0x7] {
    width: 60px;
    height: 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
}

.color-picker input[type="text"][b-u1ainhi0x7] {
    flex: 1;
}

.form-actions[b-u1ainhi0x7] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

.text-muted[b-u1ainhi0x7] {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .home-container[b-u1ainhi0x7] {
        padding: 1rem;
    }

    .welcome-header[b-u1ainhi0x7] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-actions[b-u1ainhi0x7] {
        width: 100%;
        flex-direction: column;
    }

    .header-actions .btn[b-u1ainhi0x7] {
        width: 100%;
    }

    .dashboard-grid[b-u1ainhi0x7] {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .home-container[b-u1ainhi0x7] {
        padding: 0.75rem;
    }

    .welcome-card[b-u1ainhi0x7] {
        padding: 1rem;
    }

    .welcome-header h1[b-u1ainhi0x7] {
        font-size: 1.5rem;
    }

    .dashboard-grid[b-u1ainhi0x7] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dashboard-card[b-u1ainhi0x7] {
        padding: 1.25rem;
    }

    .card-icon[b-u1ainhi0x7] {
        font-size: 3rem;
    }

    .pagina-info[b-u1ainhi0x7] {
        flex-direction: column;
        align-items: flex-start;
    }

    .color-picker[b-u1ainhi0x7] {
        flex-direction: column;
        align-items: stretch;
    }

    .color-picker input[type="color"][b-u1ainhi0x7] {
        width: 100%;
    }
}
/* /Components/Pages/Laboratorio/Contenedores.razor.rz.scp.css */
.contenedores-container[b-1kgdc5r2qg] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}


.page-header[b-1kgdc5r2qg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-1kgdc5r2qg] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-1kgdc5r2qg] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-1kgdc5r2qg] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-1kgdc5r2qg] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-1kgdc5r2qg 0.3s ease;
}

@keyframes slideIn-b-1kgdc5r2qg {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-1kgdc5r2qg]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-1kgdc5r2qg] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-1kgdc5r2qg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-1kgdc5r2qg] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-1kgdc5r2qg] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-1kgdc5r2qg] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-1kgdc5r2qg] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-1kgdc5r2qg] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-1kgdc5r2qg] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-1kgdc5r2qg] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-1kgdc5r2qg] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-1kgdc5r2qg] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-1kgdc5r2qg] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-1kgdc5r2qg],
.no-data[b-1kgdc5r2qg] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-1kgdc5r2qg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-1kgdc5r2qg] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-1kgdc5r2qg] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-1kgdc5r2qg] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-1kgdc5r2qg] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-1kgdc5r2qg] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-1kgdc5r2qg] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-1kgdc5r2qg] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-1kgdc5r2qg] {
    background-color: #f8f9fa;
}

.table tbody td[b-1kgdc5r2qg] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-1kgdc5r2qg] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-1kgdc5r2qg] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-1kgdc5r2qg] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-1kgdc5r2qg] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-1kgdc5r2qg] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-1kgdc5r2qg] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE CONTENEDORES */
.modal-overlay[b-1kgdc5r2qg] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-1kgdc5r2qg 0.3s ease;
}

@keyframes fadeIn-b-1kgdc5r2qg {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-1kgdc5r2qg] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-1kgdc5r2qg 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-1kgdc5r2qg {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-1kgdc5r2qg] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-1kgdc5r2qg] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-1kgdc5r2qg] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-1kgdc5r2qg] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-1kgdc5r2qg] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-1kgdc5r2qg]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-1kgdc5r2qg]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-1kgdc5r2qg]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-1kgdc5r2qg]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-1kgdc5r2qg] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-1kgdc5r2qg] {
    margin-top: 0;
}

.modal-body ul[b-1kgdc5r2qg], .modal-body ol[b-1kgdc5r2qg] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-1kgdc5r2qg] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-1kgdc5r2qg] {
    color: #ff8c00;
}

.alert[b-1kgdc5r2qg] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-1kgdc5r2qg] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-1kgdc5r2qg] {
    color: #856404;
}

.modal-footer[b-1kgdc5r2qg] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-1kgdc5r2qg] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .contenedores-container[b-1kgdc5r2qg] {
        padding: 1rem;
    }

    .page-header[b-1kgdc5r2qg] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-1kgdc5r2qg] {
        overflow-x: auto;
    }
}

.page-header[b-1kgdc5r2qg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-1kgdc5r2qg] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-1kgdc5r2qg] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-1kgdc5r2qg] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-1kgdc5r2qg] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-1kgdc5r2qg 0.3s ease;
}

@keyframes slideIn-b-1kgdc5r2qg {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-1kgdc5r2qg]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-1kgdc5r2qg 3s ease infinite;
}

@keyframes gradientMove-b-1kgdc5r2qg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-1kgdc5r2qg] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-1kgdc5r2qg] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-1kgdc5r2qg] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-1kgdc5r2qg] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-1kgdc5r2qg] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-1kgdc5r2qg] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-1kgdc5r2qg] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-1kgdc5r2qg] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-1kgdc5r2qg] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-1kgdc5r2qg] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-1kgdc5r2qg] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-1kgdc5r2qg] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-1kgdc5r2qg] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-1kgdc5r2qg] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-1kgdc5r2qg] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-1kgdc5r2qg] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-1kgdc5r2qg] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-1kgdc5r2qg] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-1kgdc5r2qg] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-1kgdc5r2qg] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-1kgdc5r2qg] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-1kgdc5r2qg] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-1kgdc5r2qg] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-1kgdc5r2qg] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-1kgdc5r2qg] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-1kgdc5r2qg] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-1kgdc5r2qg] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-1kgdc5r2qg] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-1kgdc5r2qg] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-1kgdc5r2qg] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-1kgdc5r2qg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-1kgdc5r2qg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.modal-overlay[b-1kgdc5r2qg] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-1kgdc5r2qg 0.3s ease;
}

@keyframes fadeIn-b-1kgdc5r2qg {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-1kgdc5r2qg] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-1kgdc5r2qg 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-1kgdc5r2qg {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-1kgdc5r2qg] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-1kgdc5r2qg] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-1kgdc5r2qg] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-1kgdc5r2qg] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-1kgdc5r2qg] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-1kgdc5r2qg] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-1kgdc5r2qg]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-1kgdc5r2qg]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-1kgdc5r2qg]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-1kgdc5r2qg]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-1kgdc5r2qg] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-1kgdc5r2qg] {
    margin-top: 0;
}

.modal-body ul[b-1kgdc5r2qg], .modal-body ol[b-1kgdc5r2qg] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-1kgdc5r2qg] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-1kgdc5r2qg] {
    color: #ff8c00;
}

.alert[b-1kgdc5r2qg] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-1kgdc5r2qg] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-1kgdc5r2qg] {
    color: #856404;
}

.modal-footer[b-1kgdc5r2qg] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
    .contenedores-container[b-1kgdc5r2qg] {
        padding: 1rem;
    }

    .page-header[b-1kgdc5r2qg] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-1kgdc5r2qg] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-1kgdc5r2qg],
table tbody tr td button.btn[b-1kgdc5r2qg],
.modal-body button.btn-sm[b-1kgdc5r2qg],
.modal-section button.btn-sm[b-1kgdc5r2qg],
.sucursal-card button.btn-sm[b-1kgdc5r2qg] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-1kgdc5r2qg],
table tbody tr td button.btn .bi[b-1kgdc5r2qg],
.modal-body button.btn-sm .bi[b-1kgdc5r2qg],
.modal-section button.btn-sm .bi[b-1kgdc5r2qg],
.sucursal-card button.btn-sm .bi[b-1kgdc5r2qg] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .contenedores-container[b-1kgdc5r2qg] { padding: 0.75rem !important; }
    .page-header[b-1kgdc5r2qg] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-1kgdc5r2qg] { font-size: 1.5rem !important; }
    .header-actions[b-1kgdc5r2qg] { flex-direction: column; width: 100%; }
    .header-actions button[b-1kgdc5r2qg] { width: 100%; }
    .form-grid[b-1kgdc5r2qg] { grid-template-columns: 1fr !important; }
    .table thead[b-1kgdc5r2qg] { display: none; }
    .table tbody tr[b-1kgdc5r2qg] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; }
    .table tbody td[b-1kgdc5r2qg] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; }
    .table tbody td[b-1kgdc5r2qg]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-1kgdc5r2qg] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-1kgdc5r2qg] { width: 100%; margin-left: 0 !important; }
}
/* /Components/Pages/Laboratorio/GestionAlbaranes.razor.rz.scp.css */
/* Estilos para Gestión de Albaranes - Consistente con otras páginas */

.container-fluid[b-hr5r0l0nyb] {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03) 0%, rgba(230, 92, 0, 0.02) 100%);
    min-height: 100vh;
}

.page-title[b-hr5r0l0nyb] {
    color: #ff8c00;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(255, 140, 0, 0.1);
}

    .page-title .bi[b-hr5r0l0nyb] {
        margin-right: 0.5rem;
        font-size: 1.2em;
        vertical-align: middle;
        display: inline-block;
    }

/* Cards */
.card[b-hr5r0l0nyb] {
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .card:hover[b-hr5r0l0nyb] {
        box-shadow: 0 6px 20px rgba(255, 140, 0, 0.15);
    }

.card-header[b-hr5r0l0nyb] {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: 2px solid rgba(255, 140, 0, 0.3);
    font-weight: 600;
}

    .card-header.bg-primary[b-hr5r0l0nyb] {
        background: linear-gradient(135deg, rgba(255, 140, 0, 0.95) 0%, rgba(230, 92, 0, 0.9) 100%) !important;
    }

    .card-header.bg-success[b-hr5r0l0nyb] {
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.95) 0%, rgba(25, 135, 84, 0.9) 100%) !important;
    }

    .card-header h5[b-hr5r0l0nyb] {
        margin: 0;
        font-size: 1.1rem;
    }

    .card-header .bi[b-hr5r0l0nyb] {
        margin-right: 0.5rem;
    }

.card-body[b-hr5r0l0nyb] {
    padding: 1.5rem;
}

/* Table */
.table-responsive[b-hr5r0l0nyb] {
    max-height: 600px;
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
}

.table[b-hr5r0l0nyb] {
    margin-bottom: 0;
}

    .table thead[b-hr5r0l0nyb] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .table-dark[b-hr5r0l0nyb] {
        background-color: #343a40;
    }

    .table-striped tbody tr:nth-of-type(odd)[b-hr5r0l0nyb] {
        background-color: rgba(255, 140, 0, 0.03);
    }

    .table-hover tbody tr:hover[b-hr5r0l0nyb] {
        background-color: rgba(255, 140, 0, 0.08);
        cursor: pointer;
    }

/* Badges */
.badge[b-hr5r0l0nyb] {
    font-size: 0.85rem;
    padding: 0.35em 0.65em;
    font-weight: 600;
    border-radius: 6px;
}

    .badge.bg-white[b-hr5r0l0nyb] {
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

/* Buttons */
.btn[b-hr5r0l0nyb] {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .btn:hover[b-hr5r0l0nyb] {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .btn-sm[b-hr5r0l0nyb] {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }

    .btn-primary[b-hr5r0l0nyb] {
        background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
        border-color: #ff8c00;
    }

        .btn-primary:hover[b-hr5r0l0nyb] {
            background: linear-gradient(135deg, #e65c00 0%, #cc5200 100%);
            border-color: #e65c00;
        }

    .btn-success[b-hr5r0l0nyb] {
        background: linear-gradient(135deg, #28a745 0%, #198754 100%);
    }

        .btn-success:hover[b-hr5r0l0nyb] {
            background: linear-gradient(135deg, #198754 0%, #146c43 100%);
        }

    .btn-info[b-hr5r0l0nyb] {
        background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    }

        .btn-info:hover[b-hr5r0l0nyb] {
            background: linear-gradient(135deg, #138496 0%, #0f6674 100%);
        }

/* Spinner */
.spinner-border[b-hr5r0l0nyb] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

    .spinner-border.text-primary[b-hr5r0l0nyb] {
        color: #ff8c00 !important;
    }

/* Alerts */
.alert[b-hr5r0l0nyb] {
    border-radius: 10px;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .alert-danger[b-hr5r0l0nyb] {
        border-left-color: #dc3545;
        background-color: rgba(220, 53, 69, 0.1);
    }

    .alert-success[b-hr5r0l0nyb] {
        border-left-color: #28a745;
        background-color: rgba(40, 167, 69, 0.1);
    }

    .alert-info[b-hr5r0l0nyb] {
        border-left-color: #17a2b8;
        background-color: rgba(23, 162, 184, 0.1);
    }

/* Forms */
.form-label[b-hr5r0l0nyb] {
    color: #495057;
    margin-bottom: 0.3rem;
}

    .form-label.fw-bold[b-hr5r0l0nyb] {
        font-weight: 600;
        color: #212529;
    }

.form-control[b-hr5r0l0nyb],
.form-select[b-hr5r0l0nyb] {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
}

    .form-control:focus[b-hr5r0l0nyb],
    .form-select:focus[b-hr5r0l0nyb] {
        border-color: #ff8c00;
        box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    }

/* Responsive */
@media (max-width: 768px) {
    .page-title[b-hr5r0l0nyb] {
        font-size: 1.5rem;
    }

    .table-responsive[b-hr5r0l0nyb] {
        max-height: 400px;
    }

    .btn[b-hr5r0l0nyb] {
        margin-bottom: 0.5rem;
    }
}

/* ==================== ESTILOS PARA MODAL DE AYUDA ==================== */

/* Modal de ayuda más grande */
.modal-dialog-ayuda[b-hr5r0l0nyb] {
    max-width: 1200px;
    width: 95%;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-hr5r0l0nyb 0.3s ease;
    overflow: hidden;
}

/* Header del modal de ayuda con estilo info (azul) */
.modal-header-info[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
    color: white;
    border-bottom: 3px solid #0dcaf0;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-info h2[b-hr5r0l0nyb] {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}

.modal-header-info .bi[b-hr5r0l0nyb] {
    font-size: 2rem;
    margin-right: 0.75rem;
}

/* Contenido del modal de ayuda */
.modal-dialog-ayuda .modal-body[b-hr5r0l0nyb] {
    padding: 2rem;
    background: #f8f9fa;
    max-height: calc(90vh - 180px);
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-dialog-ayuda .modal-body h3[b-hr5r0l0nyb] {
    color: #ff8c00;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ff8c00;
}

.modal-dialog-ayuda .modal-body h3:first-child[b-hr5r0l0nyb] {
    margin-top: 0;
}

.modal-dialog-ayuda .modal-body h4[b-hr5r0l0nyb] {
    color: #2d2d2d;
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.modal-dialog-ayuda .modal-body h5[b-hr5r0l0nyb] {
    color: #555;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.modal-dialog-ayuda .modal-body p[b-hr5r0l0nyb] {
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
}

.modal-dialog-ayuda .modal-body ul[b-hr5r0l0nyb],
.modal-dialog-ayuda .modal-body ol[b-hr5r0l0nyb] {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-dialog-ayuda .modal-body li[b-hr5r0l0nyb] {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #444;
}

.modal-dialog-ayuda .modal-body strong[b-hr5r0l0nyb] {
    color: #2d2d2d;
    font-weight: 700;
}

/* Secciones de fases */
.fase-ayuda[b-hr5r0l0nyb] {
    background: white;
    border-left: 5px solid #ff8c00;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fase-ayuda h4[b-hr5r0l0nyb] {
    margin-top: 0;
}

.fase-ayuda .badge[b-hr5r0l0nyb] {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
}

/* Ejemplo de uso */
.ejemplo-uso[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 180, 0, 0.05) 100%);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.ejemplo-uso h5[b-hr5r0l0nyb] {
    color: #ff8c00;
    font-weight: 700;
    margin-top: 1rem;
}

.ejemplo-uso p[b-hr5r0l0nyb] {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.ejemplo-uso ul[b-hr5r0l0nyb] {
    margin-left: 1rem;
}

.ejemplo-uso li[b-hr5r0l0nyb] {
    margin-bottom: 0.5rem;
}

/* Alerts dentro del modal de ayuda */
.modal-dialog-ayuda .alert[b-hr5r0l0nyb] {
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.modal-dialog-ayuda .alert-info[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.15) 0%, rgba(11, 172, 204, 0.1) 100%);
    border-left: 5px solid #0dcaf0;
    color: #055160;
}

.modal-dialog-ayuda .alert-success[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(25, 135, 84, 0.1) 100%);
    border-left: 5px solid #28a745;
    color: #155724;
}

.modal-dialog-ayuda .alert-warning[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 180, 0, 0.1) 100%);
    border-left: 5px solid #ffc107;
    color: #856404;
}

.modal-dialog-ayuda .alert-danger[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(200, 35, 51, 0.1) 100%);
    border-left: 5px solid #dc3545;
    color: #721c24;
}

.modal-dialog-ayuda .alert-primary[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(10, 88, 202, 0.1) 100%);
    border-left: 5px solid #0d6efd;
    color: #084298;
}

.modal-dialog-ayuda .alert ul[b-hr5r0l0nyb] {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.modal-dialog-ayuda .alert li[b-hr5r0l0nyb] {
    margin-bottom: 0.25rem;
}

/* Iconos en el contenido de ayuda */
.modal-dialog-ayuda .bi[b-hr5r0l0nyb] {
    margin-right: 0.5rem;
}

.modal-dialog-ayuda .text-primary[b-hr5r0l0nyb] {
    color: #0dcaf0 !important;
}

.modal-dialog-ayuda .text-success[b-hr5r0l0nyb] {
    color: #28a745 !important;
}

.modal-dialog-ayuda .text-warning[b-hr5r0l0nyb] {
    color: #ffc107 !important;
}

.modal-dialog-ayuda .text-danger[b-hr5r0l0nyb] {
    color: #dc3545 !important;
}

.modal-dialog-ayuda .text-info[b-hr5r0l0nyb] {
    color: #0dcaf0 !important;
}

/* Scrollbar personalizado para modal de ayuda */
.modal-dialog-ayuda .modal-body[b-hr5r0l0nyb]::-webkit-scrollbar {
    width: 12px;
}

.modal-dialog-ayuda .modal-body[b-hr5r0l0nyb]::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.modal-dialog-ayuda .modal-body[b-hr5r0l0nyb]::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.modal-dialog-ayuda .modal-body[b-hr5r0l0nyb]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e65c00 0%, #cc5200 100%);
}

/* Footer del modal de ayuda */
.modal-dialog-ayuda .modal-footer[b-hr5r0l0nyb] {
    background: white;
    border-top: 3px solid #dee2e6;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Tablas dentro del modal de ayuda */
.modal-dialog-ayuda .table[b-hr5r0l0nyb] {
    margin-bottom: 0;
}

.modal-dialog-ayuda .table thead[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.modal-dialog-ayuda .table thead th[b-hr5r0l0nyb] {
    border: none;
    font-weight: 600;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.modal-dialog-ayuda .table tbody tr:hover[b-hr5r0l0nyb] {
    background-color: rgba(13, 202, 240, 0.05);
}

.modal-dialog-ayuda .table tbody td ul[b-hr5r0l0nyb] {
    margin-bottom: 0;
}

/* Responsive para modal de ayuda */
@media (max-width: 992px) {
    .modal-dialog-ayuda[b-hr5r0l0nyb] {
        width: 98%;
        margin: 1rem auto;
    }

    .modal-dialog-ayuda .modal-body[b-hr5r0l0nyb] {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .fase-ayuda[b-hr5r0l0nyb] {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .modal-dialog-ayuda .modal-body[b-hr5r0l0nyb] {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .modal-dialog-ayuda .modal-body h3[b-hr5r0l0nyb] {
        font-size: 1.25rem;
    }

    .modal-dialog-ayuda .modal-body h4[b-hr5r0l0nyb] {
        font-size: 1.1rem;
    }

    .fase-ayuda[b-hr5r0l0nyb] {
        padding: 0.75rem;
    }

    .ejemplo-uso[b-hr5r0l0nyb] {
        padding: 1rem;
    }
}

/* Animación para btn-info (botón de ayuda) */
.btn-info[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.95) 0%, rgba(11, 172, 204, 0.9) 100%);
    border: none;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3);
    transition: all 0.3s ease;
}

.btn-info:hover[b-hr5r0l0nyb] {
    background: linear-gradient(135deg, rgba(11, 172, 204, 0.95) 0%, rgba(13, 202, 240, 0.9) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 202, 240, 0.5);
}

/* Animación de entrada para el modal */
@keyframes slideIn-b-hr5r0l0nyb {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Components/Pages/Laboratorio/GestionMuestras.razor.rz.scp.css */
/* Estilos para Gesti�n de Muestras - Igual que Recogida de Muestras */

.gestion-muestras-container[b-ab9rwkwgxf] {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03) 0%, rgba(230, 92, 0, 0.02) 100%);
    min-height: 100vh;
}

.page-title[b-ab9rwkwgxf] {
    color: #ff8c00;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(255, 140, 0, 0.1);
}

    .page-title .bi[b-ab9rwkwgxf] {
        margin-right: 0.5rem;
        font-size: 1.2em;
        vertical-align: middle;
    }

/* Cards */
.card[b-ab9rwkwgxf] {
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .card:hover[b-ab9rwkwgxf] {
        box-shadow: 0 6px 20px rgba(255, 140, 0, 0.15);
    }

.card-header[b-ab9rwkwgxf] {
    border-radius: 12px 12px 0 0 !important;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.95) 0%, rgba(230, 92, 0, 0.9) 100%);
    border-bottom: 2px solid rgba(255, 140, 0, 0.3);
    font-weight: 600;
}

    .card-header.bg-primary[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, rgba(255, 140, 0, 0.95) 0%, rgba(230, 92, 0, 0.9) 100%) !important;
    }

    .card-header.bg-success[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.95) 0%, rgba(25, 135, 84, 0.9) 100%) !important;
    }

/* Modal */
.modal-overlay[b-ab9rwkwgxf] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn-b-ab9rwkwgxf 0.3s ease;
    backdrop-filter: blur(3px);
    overflow-y: auto;
    padding: 1rem;
}

@keyframes fadeIn-b-ab9rwkwgxf {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-dialog[b-ab9rwkwgxf],
.modal-dialog-detail[b-ab9rwkwgxf] {
    background: white;
    border-radius: 12px;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-ab9rwkwgxf 0.3s ease;
    overflow: hidden;
    margin: auto;
    position: relative;
}

.modal-dialog-detail[b-ab9rwkwgxf] {
    width: 90%;
}

.modal-dialog-centered[b-ab9rwkwgxf] {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

@keyframes slideIn-b-ab9rwkwgxf {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-ab9rwkwgxf] {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header[b-ab9rwkwgxf] {
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

/* Modal de Visualizaci�n - Tonos Azules */
.modal-header-visualizacion[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, #4a9fd8 0%, #5eb3e6 100%);
    border-color: #4a9fd8;
    color: white;
}

/* Modal de Edici�n - Tonos Naranjas (igual que antes) */
.modal-header-edicion[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    border-color: #e65c00;
    color: white;
}

/* Mantener compatibilidad con modal-header-primary */
.modal-header-primary[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    border-color: #e65c00;
    color: white;
}

.modal-header h2[b-ab9rwkwgxf],
.modal-header h5[b-ab9rwkwgxf] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.modal-header h5[b-ab9rwkwgxf] {
    font-size: 1.25rem;
}

.modal-header .bi[b-ab9rwkwgxf] {
    font-size: 1.75rem;
}

.btn-close[b-ab9rwkwgxf],
.btn-close-white[b-ab9rwkwgxf] {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: white;
    opacity: 0.8;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

    .btn-close:hover[b-ab9rwkwgxf],
    .btn-close-white:hover[b-ab9rwkwgxf] {
        opacity: 1;
    }

.modal-body[b-ab9rwkwgxf] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
    background: #f8f9fa;
    max-height: calc(90vh - 160px);
}

.modal-footer[b-ab9rwkwgxf] {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 3px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Info Sections */
.info-section[b-ab9rwkwgxf] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Bordes y colores por defecto (naranja) */
.info-section[b-ab9rwkwgxf] {
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.section-title[b-ab9rwkwgxf] {
    color: #ff8c00;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #ff8c00;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Estilos para Modal de Visualizaci�n - Tonos Azules */
.modal-visualizacion .info-section[b-ab9rwkwgxf] {
    border: 1px solid rgba(74, 159, 216, 0.2);
}

.modal-visualizacion .section-title[b-ab9rwkwgxf] {
    color: #4a9fd8;
    border-bottom-color: #4a9fd8;
}

.modal-visualizacion .parametro-card[b-ab9rwkwgxf] {
    border-color: rgba(74, 159, 216, 0.3);
}

/* Estilos para Modal de Edici�n - Tonos Naranjas */
.modal-edicion .info-section[b-ab9rwkwgxf] {
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.modal-edicion .section-title[b-ab9rwkwgxf] {
    color: #ff8c00;
    border-bottom-color: #ff8c00;
}

.modal-edicion .parametro-card[b-ab9rwkwgxf] {
    border-color: rgba(255, 140, 0, 0.2);
}

    .section-title .bi[b-ab9rwkwgxf] {
        font-size: 1.25rem;
    }

/* Par�metros Card */
.parametro-card[b-ab9rwkwgxf] {
    background: white;
    border: 2px solid rgba(255, 140, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .parametro-card:hover[b-ab9rwkwgxf] {
        box-shadow: 0 5px 20px rgba(255, 140, 0, 0.15);
        border-color: rgba(255, 140, 0, 0.4);
    }

.parametro-header[b-ab9rwkwgxf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ff8c00;
}

    .parametro-header h6[b-ab9rwkwgxf] {
        margin: 0;
        color: #ff8c00;
        font-weight: 700;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .parametro-header h6 .bi[b-ab9rwkwgxf] {
            font-size: 1.25rem;
        }

.fases-section[b-ab9rwkwgxf],
.reactivos-section[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(230, 92, 0, 0.03) 100%);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

    .fases-section h6[b-ab9rwkwgxf],
    .reactivos-section h6[b-ab9rwkwgxf] {
        color: #ff8c00;
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .fases-section h6 .bi[b-ab9rwkwgxf],
        .reactivos-section h6 .bi[b-ab9rwkwgxf] {
            font-size: 1.1rem;
        }

/* Tables */
.table-responsive[b-ab9rwkwgxf] {
    border-radius: 8px;
    overflow: hidden;
}

.table[b-ab9rwkwgxf] {
    margin-bottom: 0;
}

    .table thead[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
        color: white;
    }

        .table thead th[b-ab9rwkwgxf] {
            border: none;
            font-weight: 600;
            padding: 0.75rem;
        }

    .table tbody tr[b-ab9rwkwgxf] {
        transition: background-color 0.2s;
    }

        .table tbody tr:hover[b-ab9rwkwgxf] {
            background-color: rgba(255, 140, 0, 0.05);
        }

    .table.table-bordered[b-ab9rwkwgxf] {
        border: 1px solid rgba(255, 140, 0, 0.2);
    }

        .table.table-bordered td[b-ab9rwkwgxf],
        .table.table-bordered th[b-ab9rwkwgxf] {
            border-color: rgba(255, 140, 0, 0.2);
        }

.sticky-top[b-ab9rwkwgxf] {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Badges */
.badge[b-ab9rwkwgxf] {
    padding: 0.4rem 0.7rem;
    font-weight: 600;
    border-radius: 6px;
}

    .badge.bg-primary[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, #ffb84d 0%, #ffd699 100%) !important;
        color: #000 !important;
    }

    .badge.bg-secondary[b-ab9rwkwgxf] {
        background: #ffffff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
    }

    .badge.bg-success[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    }

    .badge.bg-info[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    }

    .badge.bg-warning[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    }

/* Buttons */
.btn[b-ab9rwkwgxf] {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .btn:hover[b-ab9rwkwgxf] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .btn-primary[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
        border-color: #ff8c00;
    }

        .btn-primary:hover[b-ab9rwkwgxf] {
            background: linear-gradient(135deg, #e65c00 0%, #cc5200 100%);
            border-color: #e65c00;
        }

    .btn-success[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, #28a745 0%, #218838 100%);
        border-color: #28a745;
    }

        .btn-success:hover[b-ab9rwkwgxf] {
            background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
            border-color: #218838;
        }

    .btn-secondary[b-ab9rwkwgxf] {
        background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
        border-color: #6c757d;
    }

        .btn-secondary:hover[b-ab9rwkwgxf] {
            background: linear-gradient(135deg, #5a6268 0%, #545b62 100%);
            border-color: #5a6268;
        }

/* Responsive */
@media (max-width: 768px) {
    .gestion-muestras-container[b-ab9rwkwgxf] {
        padding: 1rem;
    }

    .modal-dialog-detail[b-ab9rwkwgxf] {
        width: 95%;
        max-height: 95vh;
    }

    .parametro-card[b-ab9rwkwgxf] {
        padding: 1rem;
    }

    .table-responsive[b-ab9rwkwgxf] {
        font-size: 0.875rem;
    }

    .parametro-header[b-ab9rwkwgxf] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Estilos personalizados para botones de acciones */
/* Bot�n Ver - Fondo azul claro un poco m�s oscuro, texto e icono blanco */
/* Mayor especificidad para sobrescribir estilos generales de .btn-primary */
[b-ab9rwkwgxf] table.table tbody td button.btn-sm.btn-primary,
[b-ab9rwkwgxf] .table tbody td button.btn.btn-sm.btn-primary {
    background: #5eb3e6 !important; /* Azul claro m�s oscuro - sin gradiente */
    background-image: none !important;
    border-color: #5eb3e6 !important;
    color: white !important;
    transition: all 0.3s ease;
}

[b-ab9rwkwgxf] table.table tbody td button.btn-sm.btn-primary span.bi,
[b-ab9rwkwgxf] .table tbody td button.btn.btn-sm.btn-primary span.bi {
    color: white !important;
}

[b-ab9rwkwgxf] table.table tbody td button.btn-sm.btn-primary:hover,
[b-ab9rwkwgxf] .table tbody td button.btn.btn-sm.btn-primary:hover {
    background: #4a9fd8 !important; /* Azul medio al hover */
    background-image: none !important;
    border-color: #4a9fd8 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 179, 230, 0.5);
}

/* Badge de Albar�n Clickable */
.badge.bg-primary.cursor-pointer[b-ab9rwkwgxf] {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
}

.badge.bg-primary.cursor-pointer:hover[b-ab9rwkwgxf] {
    background-color: #0056b3 !important;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.4);
}

.badge.bg-primary.cursor-pointer:active[b-ab9rwkwgxf] {
    transform: scale(0.98);
}

/* Estilos espec�ficos para modales con mucho contenido */
.modal-lg[b-ab9rwkwgxf] {
    max-width: 900px;
    width: 90%;
}

/* Asegurar que el modal-body tenga scroll cuando sea necesario */
.modal-lg .modal-body[b-ab9rwkwgxf] {
    max-height: calc(90vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Estilos para scrollbar personalizado en modales */
.modal-body[b-ab9rwkwgxf]::-webkit-scrollbar {
    width: 10px;
}

.modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-thumb {
    background: #ff8c00;
    border-radius: 10px;
}

.modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-thumb:hover {
    background: #e65c00;
}

/* Asegurar que el footer siempre sea visible */
.modal-lg .modal-footer[b-ab9rwkwgxf] {
    position: sticky;
    bottom: 0;
    background: white;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive para modales */
@media (max-width: 992px) {
    .modal-lg[b-ab9rwkwgxf] {
        width: 95%;
        max-width: none;
    }

    .modal-lg .modal-body[b-ab9rwkwgxf] {
        max-height: calc(90vh - 180px);
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .modal-lg[b-ab9rwkwgxf] {
        width: 98%;
        margin: 0.5rem auto;
    }

    .modal-lg .modal-body[b-ab9rwkwgxf] {
        max-height: calc(90vh - 150px);
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .modal-lg .modal-footer[b-ab9rwkwgxf] {
        padding: 0.75rem;
        flex-wrap: wrap;
    }

    .modal-lg .modal-footer .btn[b-ab9rwkwgxf] {
        flex: 1 1 auto;
        min-width: 120px;
    }
}
.badge.bg-primary.cursor-pointer .bi-file-pdf[b-ab9rwkwgxf] {
    margin-right: 0.25rem;
}

/* ==================== ESTILOS PARA MODAL DE AYUDA ==================== */

/* Modal de ayuda m�s grande */
.modal-dialog-ayuda[b-ab9rwkwgxf] {
    max-width: 1200px;
    width: 95%;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-ab9rwkwgxf 0.3s ease;
    overflow: hidden;
}

/* Header del modal de ayuda con estilo info (azul) */
.modal-header-info[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
    color: white;
    border-bottom: 3px solid #0dcaf0;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-info h2[b-ab9rwkwgxf] {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}

.modal-header-info .bi[b-ab9rwkwgxf] {
    font-size: 2rem;
    margin-right: 0.75rem;
}

/* Contenido del modal de ayuda */
.modal-dialog-ayuda .modal-body[b-ab9rwkwgxf] {
    padding: 2rem;
    background: #f8f9fa;
    max-height: calc(90vh - 180px);
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-dialog-ayuda .modal-body h3[b-ab9rwkwgxf] {
    color: #ff8c00;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ff8c00;
}

.modal-dialog-ayuda .modal-body h3:first-child[b-ab9rwkwgxf] {
    margin-top: 0;
}

.modal-dialog-ayuda .modal-body h4[b-ab9rwkwgxf] {
    color: #2d2d2d;
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.modal-dialog-ayuda .modal-body h5[b-ab9rwkwgxf] {
    color: #555;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.modal-dialog-ayuda .modal-body p[b-ab9rwkwgxf] {
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
}

.modal-dialog-ayuda .modal-body ul[b-ab9rwkwgxf],
.modal-dialog-ayuda .modal-body ol[b-ab9rwkwgxf] {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-dialog-ayuda .modal-body li[b-ab9rwkwgxf] {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #444;
}

.modal-dialog-ayuda .modal-body strong[b-ab9rwkwgxf] {
    color: #2d2d2d;
    font-weight: 700;
}

/* Secciones de fases */
.fase-ayuda[b-ab9rwkwgxf] {
    background: white;
    border-left: 5px solid #ff8c00;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fase-ayuda h4[b-ab9rwkwgxf] {
    margin-top: 0;
}

.fase-ayuda .badge[b-ab9rwkwgxf] {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
}

/* Ejemplo de uso */
.ejemplo-uso[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 180, 0, 0.05) 100%);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.ejemplo-uso h5[b-ab9rwkwgxf] {
    color: #ff8c00;
    font-weight: 700;
    margin-top: 1rem;
}

.ejemplo-uso p[b-ab9rwkwgxf] {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.ejemplo-uso ul[b-ab9rwkwgxf] {
    margin-left: 1rem;
}

.ejemplo-uso li[b-ab9rwkwgxf] {
    margin-bottom: 0.5rem;
}

/* Alerts dentro del modal de ayuda */
.modal-dialog-ayuda .alert[b-ab9rwkwgxf] {
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.modal-dialog-ayuda .alert-info[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.15) 0%, rgba(11, 172, 204, 0.1) 100%);
    border-left: 5px solid #0dcaf0;
    color: #055160;
}

.modal-dialog-ayuda .alert-success[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(25, 135, 84, 0.1) 100%);
    border-left: 5px solid #28a745;
    color: #155724;
}

.modal-dialog-ayuda .alert-warning[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 180, 0, 0.1) 100%);
    border-left: 5px solid #ffc107;
    color: #856404;
}

.modal-dialog-ayuda .alert-danger[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(200, 35, 51, 0.1) 100%);
    border-left: 5px solid #dc3545;
    color: #721c24;
}

.modal-dialog-ayuda .alert ul[b-ab9rwkwgxf] {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.modal-dialog-ayuda .alert li[b-ab9rwkwgxf] {
    margin-bottom: 0.25rem;
}

/* Iconos en el contenido de ayuda */
.modal-dialog-ayuda .bi[b-ab9rwkwgxf] {
    margin-right: 0.5rem;
}

.modal-dialog-ayuda .text-primary[b-ab9rwkwgxf] {
    color: #0dcaf0 !important;
}

.modal-dialog-ayuda .text-success[b-ab9rwkwgxf] {
    color: #28a745 !important;
}

.modal-dialog-ayuda .text-warning[b-ab9rwkwgxf] {
    color: #ffc107 !important;
}

.modal-dialog-ayuda .text-danger[b-ab9rwkwgxf] {
    color: #dc3545 !important;
}

/* Scrollbar personalizado para modal de ayuda */
.modal-dialog-ayuda .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar {
    width: 12px;
}

.modal-dialog-ayuda .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.modal-dialog-ayuda .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.modal-dialog-ayuda .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e65c00 0%, #cc5200 100%);
}

/* Footer del modal de ayuda */
.modal-dialog-ayuda .modal-footer[b-ab9rwkwgxf] {
    background: white;
    border-top: 3px solid #dee2e6;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Tablas dentro del modal de ayuda */
.modal-dialog-ayuda .table[b-ab9rwkwgxf] {
    margin-bottom: 0;
}

.modal-dialog-ayuda .table thead[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.modal-dialog-ayuda .table thead th[b-ab9rwkwgxf] {
    border: none;
    font-weight: 600;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.modal-dialog-ayuda .table tbody tr:hover[b-ab9rwkwgxf] {
    background-color: rgba(13, 202, 240, 0.05);
}

/* Responsive para modal de ayuda */
@media (max-width: 992px) {
    .modal-dialog-ayuda[b-ab9rwkwgxf] {
        width: 98%;
        margin: 1rem auto;
    }

    .modal-dialog-ayuda .modal-body[b-ab9rwkwgxf] {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .fase-ayuda[b-ab9rwkwgxf] {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .modal-dialog-ayuda .modal-body[b-ab9rwkwgxf] {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .modal-dialog-ayuda .modal-body h3[b-ab9rwkwgxf] {
        font-size: 1.25rem;
    }

    .modal-dialog-ayuda .modal-body h4[b-ab9rwkwgxf] {
        font-size: 1.1rem;
    }

    .fase-ayuda[b-ab9rwkwgxf] {
        padding: 0.75rem;
    }

    .ejemplo-uso[b-ab9rwkwgxf] {
        padding: 1rem;
    }
}

/* Animaci�n para btn-info (bot�n de ayuda) */
.btn-info[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.95) 0%, rgba(11, 172, 204, 0.9) 100%);
    border: none;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3);
    transition: all 0.3s ease;
}

.btn-info:hover[b-ab9rwkwgxf] {
    background: linear-gradient(135deg, rgba(11, 172, 204, 0.95) 0%, rgba(13, 202, 240, 0.9) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 202, 240, 0.5);
}


[b-ab9rwkwgxf] table.table tbody td button.btn-sm.btn-primary:hover span.bi,
[b-ab9rwkwgxf] .table tbody td button.btn.btn-sm.btn-primary:hover span.bi {
    color: white !important;
}

/* Bot�n Editar - Naranja claro (igual que Provincias), texto e icono blanco */
[b-ab9rwkwgxf] table.table tbody td button.btn-sm.btn-warning,
[b-ab9rwkwgxf] .table tbody td button.btn.btn-sm.btn-warning {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%) !important;
    background-image: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%) !important;
    border-color: #ffa726 !important;
    color: white !important;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    transition: all 0.3s ease;
}

[b-ab9rwkwgxf] table.table tbody td button.btn-sm.btn-warning span.bi,
[b-ab9rwkwgxf] .table tbody td button.btn.btn-sm.btn-warning span.bi {
    color: white !important;
}

[b-ab9rwkwgxf] table.table tbody td button.btn-sm.btn-warning:hover,
[b-ab9rwkwgxf] .table tbody td button.btn.btn-sm.btn-warning:hover {
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%) !important;
    background-image: linear-gradient(135deg, #ff9800 0%, #ffa726 100%) !important;
    border-color: #ff9800 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
}

[b-ab9rwkwgxf] table.table tbody td button.btn-sm.btn-warning:hover span.bi,
[b-ab9rwkwgxf] .table tbody td button.btn.btn-sm.btn-warning:hover span.bi {
    color: white !important;
}

/* Barras de desplazamiento personalizadas para modales */

/* Modal de Visualizaci�n - Scrollbar Azul */
.modal-visualizacion .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar {
    width: 12px;
}

.modal-visualizacion .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-track {
    background: #e3f2fd;
    border-radius: 10px;
}

.modal-visualizacion .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a9fd8 0%, #5eb3e6 100%);
    border-radius: 10px;
    border: 2px solid #e3f2fd;
}

.modal-visualizacion .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3d8bc0 0%, #4a9fd8 100%);
}

/* Modal de Edici�n - Scrollbar Naranja (igual que el header) */
.modal-edicion .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar {
    width: 12px;
}

.modal-edicion .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-track {
    background: #fff3e0;
    border-radius: 10px;
}

.modal-edicion .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    border-radius: 10px;
    border: 2px solid #fff3e0;
}

.modal-edicion .modal-body[b-ab9rwkwgxf]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e65c00 0%, #cc5200 100%);
}

/* Firefox - Scrollbar para Modal de Visualizaci�n */
.modal-visualizacion .modal-body[b-ab9rwkwgxf] {
    scrollbar-width: thin;
    scrollbar-color: #5eb3e6 #e3f2fd;
}

/* Firefox - Scrollbar para Modal de Edici�n */
.modal-edicion .modal-body[b-ab9rwkwgxf] {
    scrollbar-width: thin;
    scrollbar-color: #ff8c00 #fff3e0;
}

/* Estilos para columnas ordenables */
.table thead th[style*="cursor: pointer"][b-ab9rwkwgxf] {
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th[style*="cursor: pointer"]:hover[b-ab9rwkwgxf] {
    background-color: rgba(255, 140, 0, 0.1) !important;
}

.table thead th .bi-caret-up-fill[b-ab9rwkwgxf],
.table thead th .bi-caret-down-fill[b-ab9rwkwgxf] {
    margin-left: 5px;
    font-size: 0.8em;
    color: #ff8c00;
}

/* /Components/Pages/Laboratorio/Lotes.razor.rz.scp.css */
.lotes-container[b-a0dka011lo] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}


.page-header[b-a0dka011lo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-a0dka011lo] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-a0dka011lo] {
    color: #ff8c00;
    font-size: 2.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-a0dka011lo] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-a0dka011lo] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-a0dka011lo] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-a0dka011lo] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-a0dka011lo] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-a0dka011lo] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-a0dka011lo 0.3s ease;
}

@keyframes slideIn-b-a0dka011lo {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-a0dka011lo]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-a0dka011lo] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-section[b-a0dka011lo] {
    margin-bottom: 2rem;
}

.form-section h4[b-a0dka011lo] {
    color: #d87000;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ffe0b3;
}

.form-grid[b-a0dka011lo] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-a0dka011lo] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-a0dka011lo] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-a0dka011lo] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-a0dka011lo] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-a0dka011lo] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-a0dka011lo] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-a0dka011lo] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-a0dka011lo] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-a0dka011lo] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

/* Filtros */
.filters-section[b-a0dka011lo] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.filters-section h4[b-a0dka011lo] {
    color: #ff8c00;
    margin-bottom: 1rem;
    font-weight: 600;
}

.filters-grid[b-a0dka011lo] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group[b-a0dka011lo] {
    display: flex;
    flex-direction: column;
}

.filter-group label[b-a0dka011lo] {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-actions[b-a0dka011lo] {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.table-container[b-a0dka011lo] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-a0dka011lo] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-a0dka011lo] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-a0dka011lo] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-a0dka011lo] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-a0dka011lo],
.no-data[b-a0dka011lo] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-a0dka011lo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-a0dka011lo] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-a0dka011lo] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-a0dka011lo] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-a0dka011lo] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-a0dka011lo] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-a0dka011lo] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-a0dka011lo] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-a0dka011lo] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-a0dka011lo] {
    background-color: #f8f9fa;
}

.table tbody td[b-a0dka011lo] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-a0dka011lo] {
    white-space: nowrap;
    min-width: 200px;
}

/* Estados de filas */
.table-danger[b-a0dka011lo] {
    background-color: #ffe0e0 !important;
}

.table-warning[b-a0dka011lo] {
    background-color: #fff3cd !important;
}

.sortable[b-a0dka011lo] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-a0dka011lo] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-a0dka011lo] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-a0dka011lo] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-a0dka011lo] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-a0dka011lo] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-a0dka011lo] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-a0dka011lo] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-a0dka011lo] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

.badge[b-a0dka011lo] {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Modal de Ayuda */
.modal-overlay[b-a0dka011lo] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-a0dka011lo 0.3s ease;
}

@keyframes fadeIn-b-a0dka011lo {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-a0dka011lo] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-a0dka011lo 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-a0dka011lo {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-a0dka011lo] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-a0dka011lo] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-a0dka011lo] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-a0dka011lo] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-a0dka011lo] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-a0dka011lo] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.modal-body[b-a0dka011lo]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-a0dka011lo]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-a0dka011lo]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-a0dka011lo]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-a0dka011lo] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-a0dka011lo] {
    margin-top: 0;
}

.modal-body ul[b-a0dka011lo], .modal-body ol[b-a0dka011lo] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-a0dka011lo] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-a0dka011lo] {
    color: #ff8c00;
}

.alert[b-a0dka011lo] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-a0dka011lo] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-a0dka011lo] {
    color: #856404;
}

.modal-footer[b-a0dka011lo] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .lotes-container[b-a0dka011lo] {
        padding: 1rem;
    }

    .page-header[b-a0dka011lo] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-actions[b-a0dka011lo] {
        width: 100%;
        flex-direction: column;
    }

    .filters-grid[b-a0dka011lo] {
        grid-template-columns: 1fr;
    }

    .form-grid[b-a0dka011lo] {
        grid-template-columns: 1fr;
    }

    .form-actions[b-a0dka011lo] {
        flex-direction: column;
    }

    .table-container[b-a0dka011lo] {
        padding: 1rem;
    }

    .modal-dialog[b-a0dka011lo] {
        width: 95%;
        margin: 1rem;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-a0dka011lo],
table tbody tr td button.btn[b-a0dka011lo],
.modal-body button.btn-sm[b-a0dka011lo],
.modal-section button.btn-sm[b-a0dka011lo],
.sucursal-card button.btn-sm[b-a0dka011lo] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-a0dka011lo],
table tbody tr td button.btn .bi[b-a0dka011lo],
.modal-body button.btn-sm .bi[b-a0dka011lo],
.modal-section button.btn-sm .bi[b-a0dka011lo],
.sucursal-card button.btn-sm .bi[b-a0dka011lo] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Laboratorio/LugaresRecoleccion.razor.rz.scp.css */
.lugares-recoleccion-container[b-kggydywjv1] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.lugares-recoleccion-container *[b-kggydywjv1] {
    box-sizing: border-box;
    max-width: 100%;
}


.page-header[b-kggydywjv1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-kggydywjv1] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-kggydywjv1] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-kggydywjv1] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-kggydywjv1] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-kggydywjv1] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-kggydywjv1] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-kggydywjv1 0.3s ease;
}

@keyframes slideIn-b-kggydywjv1 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-kggydywjv1]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-kggydywjv1] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-kggydywjv1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-kggydywjv1] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-kggydywjv1] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-kggydywjv1] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-kggydywjv1] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-kggydywjv1] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-kggydywjv1] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-kggydywjv1] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-kggydywjv1] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-kggydywjv1] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-kggydywjv1] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-kggydywjv1] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-kggydywjv1] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-kggydywjv1],
.no-data[b-kggydywjv1] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-kggydywjv1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-kggydywjv1] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-kggydywjv1] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-kggydywjv1] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-kggydywjv1] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-kggydywjv1] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-kggydywjv1] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-kggydywjv1] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-kggydywjv1] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-kggydywjv1] {
    background-color: #f8f9fa;
}

.table tbody td[b-kggydywjv1] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-kggydywjv1] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-kggydywjv1] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-kggydywjv1] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-kggydywjv1] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-kggydywjv1] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-kggydywjv1] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-kggydywjv1] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-kggydywjv1] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE LUGARES RECOLECCION */
.modal-overlay[b-kggydywjv1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-kggydywjv1 0.3s ease;
}

@keyframes fadeIn-b-kggydywjv1 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-kggydywjv1] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-kggydywjv1 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-kggydywjv1 {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-kggydywjv1] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-kggydywjv1] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-kggydywjv1] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-kggydywjv1] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-kggydywjv1] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-kggydywjv1] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-kggydywjv1]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-kggydywjv1]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-kggydywjv1]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-kggydywjv1]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-kggydywjv1] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-kggydywjv1] {
    margin-top: 0;
}

.modal-body ul[b-kggydywjv1], .modal-body ol[b-kggydywjv1] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-kggydywjv1] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-kggydywjv1] {
    color: #ff8c00;
}

.alert[b-kggydywjv1] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-kggydywjv1] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-kggydywjv1] {
    color: #856404;
}

.modal-footer[b-kggydywjv1] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-kggydywjv1] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .lugares-recoleccion-container[b-kggydywjv1] {
        padding: 1rem;
    }

    .page-header[b-kggydywjv1] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-kggydywjv1] {
        overflow-x: auto;
    }
}

.page-header[b-kggydywjv1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-kggydywjv1] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-kggydywjv1] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-kggydywjv1] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-kggydywjv1] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-kggydywjv1] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-kggydywjv1] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-kggydywjv1 0.3s ease;
}

@keyframes slideIn-b-kggydywjv1 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-kggydywjv1]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-kggydywjv1 3s ease infinite;
}

@keyframes gradientMove-b-kggydywjv1 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-kggydywjv1] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-kggydywjv1] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-kggydywjv1] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-kggydywjv1] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-kggydywjv1] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-kggydywjv1] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-kggydywjv1] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-kggydywjv1] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-kggydywjv1] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-kggydywjv1] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-kggydywjv1] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-kggydywjv1] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-kggydywjv1] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-kggydywjv1] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-kggydywjv1] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-kggydywjv1] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-kggydywjv1] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-kggydywjv1] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-kggydywjv1] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-kggydywjv1] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-kggydywjv1] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-kggydywjv1] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-kggydywjv1] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-kggydywjv1] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-kggydywjv1] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-kggydywjv1] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-kggydywjv1] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-kggydywjv1] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-kggydywjv1] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-kggydywjv1] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-kggydywjv1] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-kggydywjv1] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-kggydywjv1] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-kggydywjv1] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-kggydywjv1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-kggydywjv1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.modal-overlay[b-kggydywjv1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-kggydywjv1 0.3s ease;
}

@keyframes fadeIn-b-kggydywjv1 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-kggydywjv1] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-kggydywjv1 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-kggydywjv1 {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-kggydywjv1] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-kggydywjv1] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-kggydywjv1] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-kggydywjv1] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-kggydywjv1] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-kggydywjv1] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-kggydywjv1]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-kggydywjv1]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-kggydywjv1]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-kggydywjv1]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-kggydywjv1] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-kggydywjv1] {
    margin-top: 0;
}

.modal-body ul[b-kggydywjv1], .modal-body ol[b-kggydywjv1] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-kggydywjv1] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-kggydywjv1] {
    color: #ff8c00;
}

.alert[b-kggydywjv1] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-kggydywjv1] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-kggydywjv1] {
    color: #856404;
}

.modal-footer[b-kggydywjv1] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
    .lugares-recoleccion-container[b-kggydywjv1] {
        padding: 1rem;
    }

    .page-header[b-kggydywjv1] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-kggydywjv1] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-kggydywjv1],
table tbody tr td button.btn[b-kggydywjv1],
.modal-body button.btn-sm[b-kggydywjv1],
.modal-section button.btn-sm[b-kggydywjv1],
.sucursal-card button.btn-sm[b-kggydywjv1] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-kggydywjv1],
table tbody tr td button.btn .bi[b-kggydywjv1],
.modal-body button.btn-sm .bi[b-kggydywjv1],
.modal-section button.btn-sm .bi[b-kggydywjv1],
.sucursal-card button.btn-sm .bi[b-kggydywjv1] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .lugares-recoleccion-container[b-kggydywjv1] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
    }
    .page-header[b-kggydywjv1] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-kggydywjv1] { font-size: 1.5rem !important; }
    .header-actions[b-kggydywjv1] { flex-direction: column; width: 100%; }
    .header-actions button[b-kggydywjv1] { width: 100%; }
    .table-container[b-kggydywjv1] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .form-grid[b-kggydywjv1] { grid-template-columns: 1fr !important; }
    .table thead[b-kggydywjv1] { display: none; }
    .table tbody tr[b-kggydywjv1] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; width: 100% !important; }
    .table tbody td[b-kggydywjv1] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; width: 100% !important; }
    .table tbody td[b-kggydywjv1]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-kggydywjv1] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-kggydywjv1] { width: 100%; margin-left: 0 !important; }
}

/* /Components/Pages/Laboratorio/MotivosRecoleccion.razor.rz.scp.css */
.motivos-recoleccion-container[b-71k9ow8mtv] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

.page-header[b-71k9ow8mtv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-71k9ow8mtv] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-71k9ow8mtv] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-71k9ow8mtv] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-71k9ow8mtv] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-71k9ow8mtv 0.3s ease;
}

@keyframes slideIn-b-71k9ow8mtv {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-71k9ow8mtv]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-71k9ow8mtv] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-71k9ow8mtv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-71k9ow8mtv] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-71k9ow8mtv] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-71k9ow8mtv] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-71k9ow8mtv] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-71k9ow8mtv] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-71k9ow8mtv] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-71k9ow8mtv] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-71k9ow8mtv] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-71k9ow8mtv] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-71k9ow8mtv] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-71k9ow8mtv],
.no-data[b-71k9ow8mtv] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-71k9ow8mtv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-71k9ow8mtv] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-71k9ow8mtv] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-71k9ow8mtv] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-71k9ow8mtv] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-71k9ow8mtv] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-71k9ow8mtv] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-71k9ow8mtv] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-71k9ow8mtv] {
    background-color: #f8f9fa;
}

.table tbody td[b-71k9ow8mtv] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-71k9ow8mtv] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-71k9ow8mtv] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-71k9ow8mtv] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-71k9ow8mtv] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-71k9ow8mtv] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-71k9ow8mtv] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE MOTIVOS RECOLECCION */
.modal-overlay[b-71k9ow8mtv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-71k9ow8mtv 0.3s ease;
}

@keyframes fadeIn-b-71k9ow8mtv {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-71k9ow8mtv] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-71k9ow8mtv 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-71k9ow8mtv {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-71k9ow8mtv] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-71k9ow8mtv] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-71k9ow8mtv] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-71k9ow8mtv] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-71k9ow8mtv] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-71k9ow8mtv]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-71k9ow8mtv]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-71k9ow8mtv]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-71k9ow8mtv]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-71k9ow8mtv] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-71k9ow8mtv] {
    margin-top: 0;
}

.modal-body ul[b-71k9ow8mtv], .modal-body ol[b-71k9ow8mtv] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-71k9ow8mtv] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-71k9ow8mtv] {
    color: #ff8c00;
}

.alert[b-71k9ow8mtv] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-71k9ow8mtv] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-71k9ow8mtv] {
    color: #856404;
}

.modal-footer[b-71k9ow8mtv] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-71k9ow8mtv] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .motivos-recoleccion-container[b-71k9ow8mtv] {
        padding: 1rem;
    }

    .page-header[b-71k9ow8mtv] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-71k9ow8mtv] {
        overflow-x: auto;
    }
}

.page-header[b-71k9ow8mtv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-71k9ow8mtv] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-71k9ow8mtv] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-71k9ow8mtv] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-71k9ow8mtv] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-71k9ow8mtv 0.3s ease;
}

@keyframes slideIn-b-71k9ow8mtv {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-71k9ow8mtv]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-71k9ow8mtv 3s ease infinite;
}

@keyframes gradientMove-b-71k9ow8mtv {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-71k9ow8mtv] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-71k9ow8mtv] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-71k9ow8mtv] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-71k9ow8mtv] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-71k9ow8mtv] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-71k9ow8mtv] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-71k9ow8mtv] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-71k9ow8mtv] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-71k9ow8mtv] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-71k9ow8mtv] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-71k9ow8mtv] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-71k9ow8mtv] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-71k9ow8mtv] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-71k9ow8mtv] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-71k9ow8mtv] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-71k9ow8mtv] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-71k9ow8mtv] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-71k9ow8mtv] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-71k9ow8mtv] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-71k9ow8mtv] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-71k9ow8mtv] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-71k9ow8mtv] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-71k9ow8mtv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-71k9ow8mtv] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-71k9ow8mtv] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-71k9ow8mtv] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-71k9ow8mtv] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-71k9ow8mtv] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-71k9ow8mtv] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-71k9ow8mtv] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-71k9ow8mtv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-71k9ow8mtv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.modal-overlay[b-71k9ow8mtv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-71k9ow8mtv 0.3s ease;
}

@keyframes fadeIn-b-71k9ow8mtv {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-71k9ow8mtv] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-71k9ow8mtv 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-71k9ow8mtv {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-71k9ow8mtv] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-71k9ow8mtv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-71k9ow8mtv] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-71k9ow8mtv] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-71k9ow8mtv] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-71k9ow8mtv] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-71k9ow8mtv]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-71k9ow8mtv]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-71k9ow8mtv]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-71k9ow8mtv]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-71k9ow8mtv] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-71k9ow8mtv] {
    margin-top: 0;
}

.modal-body ul[b-71k9ow8mtv], .modal-body ol[b-71k9ow8mtv] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-71k9ow8mtv] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-71k9ow8mtv] {
    color: #ff8c00;
}

.alert[b-71k9ow8mtv] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-71k9ow8mtv] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-71k9ow8mtv] {
    color: #856404;
}

.modal-footer[b-71k9ow8mtv] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
    .motivos-recoleccion-container[b-71k9ow8mtv] {
        padding: 1rem;
    }

    .page-header[b-71k9ow8mtv] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-71k9ow8mtv] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-71k9ow8mtv],
table tbody tr td button.btn[b-71k9ow8mtv],
.modal-body button.btn-sm[b-71k9ow8mtv],
.modal-section button.btn-sm[b-71k9ow8mtv],
.sucursal-card button.btn-sm[b-71k9ow8mtv] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-71k9ow8mtv],
table tbody tr td button.btn .bi[b-71k9ow8mtv],
.modal-body button.btn-sm .bi[b-71k9ow8mtv],
.modal-section button.btn-sm .bi[b-71k9ow8mtv],
.sucursal-card button.btn-sm .bi[b-71k9ow8mtv] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Laboratorio/Parametros.razor.rz.scp.css */
.parametros-container[b-wmo8v39jfc] {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.parametros-container *[b-wmo8v39jfc] {
    box-sizing: border-box;
    max-width: 100%;
}


.page-header[b-wmo8v39jfc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-wmo8v39jfc] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-wmo8v39jfc] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-wmo8v39jfc] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-wmo8v39jfc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-wmo8v39jfc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-wmo8v39jfc] {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-left: 5px solid #ff8c00;
}

.form-card h3[b-wmo8v39jfc] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.form-grid[b-wmo8v39jfc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-wmo8v39jfc] {
    display: flex;
    flex-direction: column;
}

.form-group.full-width[b-wmo8v39jfc] {
    grid-column: 1 / -1;
}

.form-group label[b-wmo8v39jfc] {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control[b-wmo8v39jfc] {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-wmo8v39jfc] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.subsection[b-wmo8v39jfc] {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
}

.subsection h4[b-wmo8v39jfc] {
    color: #ff8c00;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-actions[b-wmo8v39jfc] {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.btn-success[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-success:hover[b-wmo8v39jfc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover[b-wmo8v39jfc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-wmo8v39jfc] {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-wmo8v39jfc] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-wmo8v39jfc] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-wmo8v39jfc] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-wmo8v39jfc] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.table[b-wmo8v39jfc] {
    width: 100%;
    margin-bottom: 0;
}

.table thead th[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    font-weight: 600;
    padding: 1rem;
    border: none;
    white-space: nowrap;
}

.table thead th:first-child[b-wmo8v39jfc] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-wmo8v39jfc] {
    border-radius: 0 12px 0 0;
}

.table tbody td[b-wmo8v39jfc] {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody td:last-child[b-wmo8v39jfc] {
    white-space: nowrap;
    min-width: 220px;
}

.table-striped tbody tr:nth-of-type(odd)[b-wmo8v39jfc] {
    background-color: #fef9f3;
}

.table-hover tbody tr:hover[b-wmo8v39jfc] {
    background-color: #fff3e0;
    cursor: pointer;
}

.sortable[b-wmo8v39jfc] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
}

.sortable:hover[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.sort-indicator[b-wmo8v39jfc] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.btn-sm[b-wmo8v39jfc] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-wmo8v39jfc] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-wmo8v39jfc] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-wmo8v39jfc] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
    text-align: right;
    color: #666;
    font-weight: 600;
}

.loading[b-wmo8v39jfc], .no-data[b-wmo8v39jfc] {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading .spinner-border[b-wmo8v39jfc] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    margin-bottom: 1rem;
}

.no-data .bi-inbox[b-wmo8v39jfc] {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Modal de Ayuda - FORMATO ORIGINAL DE PROVINCIAS */
.modal-overlay[b-wmo8v39jfc] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-wmo8v39jfc 0.3s ease;
}

@keyframes fadeIn-b-wmo8v39jfc {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-wmo8v39jfc] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-wmo8v39jfc 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-wmo8v39jfc {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-wmo8v39jfc] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-wmo8v39jfc] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-wmo8v39jfc] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-wmo8v39jfc] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-wmo8v39jfc] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-wmo8v39jfc]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-wmo8v39jfc]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-wmo8v39jfc]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-wmo8v39jfc]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-wmo8v39jfc] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-wmo8v39jfc] {
    margin-top: 0;
}

.modal-body ul[b-wmo8v39jfc], .modal-body ol[b-wmo8v39jfc] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-wmo8v39jfc] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-wmo8v39jfc] {
    color: #ff8c00;
}

.alert[b-wmo8v39jfc] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-wmo8v39jfc] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-wmo8v39jfc] {
    color: #856404;
}

.modal-footer[b-wmo8v39jfc] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

/* Estilos para badges de Fases y Reactivos */
.btn-info-badge[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.btn-info-badge:hover[b-wmo8v39jfc] {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-success-badge[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.btn-success-badge:hover[b-wmo8v39jfc] {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

/* Modal de Detalles */
.modal-dialog-detail[b-wmo8v39jfc] {
    max-width: 650px;
}

.modal-header-info[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%) !important;
}

.modal-header-success[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%) !important;
}

.table-detail[b-wmo8v39jfc] {
    margin-bottom: 0;
}

.table-detail thead th[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border: none;
    font-size: 0.9rem;
}

.table-detail tbody td[b-wmo8v39jfc] {
    padding: 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.table-detail tbody tr:last-child td[b-wmo8v39jfc] {
    border-bottom: none;
}

.table-detail tbody tr:hover[b-wmo8v39jfc] {
    background-color: #f8f9fa;
}

.badge-order[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-code[b-wmo8v39jfc] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}

.total-info[b-wmo8v39jfc] {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 4px solid #28a745;
    border-radius: 4px;
    font-size: 0.95rem;
}

.text-center[b-wmo8v39jfc] {
    text-align: center !important;
}

.search-box[b-wmo8v39jfc] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-wmo8v39jfc] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-wmo8v39jfc] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-wmo8v39jfc] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}
/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-wmo8v39jfc],
table tbody tr td button.btn[b-wmo8v39jfc],
.modal-body button.btn-sm[b-wmo8v39jfc],
.modal-section button.btn-sm[b-wmo8v39jfc],
.sucursal-card button.btn-sm[b-wmo8v39jfc] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-wmo8v39jfc],
table tbody tr td button.btn .bi[b-wmo8v39jfc],
.modal-body button.btn-sm .bi[b-wmo8v39jfc],
.modal-section button.btn-sm .bi[b-wmo8v39jfc],
.sucursal-card button.btn-sm .bi[b-wmo8v39jfc] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .parametros-container[b-wmo8v39jfc] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
    }
    .page-header[b-wmo8v39jfc] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-wmo8v39jfc] { font-size: 1.5rem !important; }
    .header-actions[b-wmo8v39jfc] { flex-direction: column; width: 100%; }
    .header-actions button[b-wmo8v39jfc] { width: 100%; }
    .table-container[b-wmo8v39jfc] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .form-grid[b-wmo8v39jfc] { grid-template-columns: 1fr !important; }
    .table thead[b-wmo8v39jfc] { display: none; }
    .table tbody tr[b-wmo8v39jfc] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; width: 100% !important; }
    .table tbody td[b-wmo8v39jfc] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; width: 100% !important; }
    .table tbody td[b-wmo8v39jfc]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-wmo8v39jfc] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-wmo8v39jfc] { width: 100%; margin-left: 0 !important; }
}

/* /Components/Pages/Laboratorio/Personal.razor.rz.scp.css */
.personal-container[b-pw528i7wgv] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.personal-container *[b-pw528i7wgv] {
    box-sizing: border-box;
    max-width: 100%;
}

.page-header[b-pw528i7wgv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-pw528i7wgv] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-pw528i7wgv] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-pw528i7wgv] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-pw528i7wgv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-pw528i7wgv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-pw528i7wgv] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-pw528i7wgv 0.3s ease;
}

@keyframes slideIn-b-pw528i7wgv {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-pw528i7wgv]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-pw528i7wgv] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-pw528i7wgv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-pw528i7wgv] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-pw528i7wgv] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-pw528i7wgv] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-pw528i7wgv] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-pw528i7wgv] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-pw528i7wgv] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-pw528i7wgv] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-pw528i7wgv] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-pw528i7wgv] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-pw528i7wgv] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-pw528i7wgv] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-pw528i7wgv] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-pw528i7wgv],
.no-data[b-pw528i7wgv] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-pw528i7wgv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-pw528i7wgv] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-pw528i7wgv] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-pw528i7wgv] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-pw528i7wgv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-pw528i7wgv] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-pw528i7wgv] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-pw528i7wgv] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-pw528i7wgv] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-pw528i7wgv] {
    background-color: #f8f9fa;
}

.table tbody td[b-pw528i7wgv] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-pw528i7wgv] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-pw528i7wgv] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-pw528i7wgv] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-pw528i7wgv] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-pw528i7wgv] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-pw528i7wgv] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-pw528i7wgv] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-pw528i7wgv] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE PERSONAL */
.modal-overlay[b-pw528i7wgv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-pw528i7wgv 0.3s ease;
}

@keyframes fadeIn-b-pw528i7wgv {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-pw528i7wgv] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-pw528i7wgv 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-pw528i7wgv {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-pw528i7wgv] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-pw528i7wgv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-pw528i7wgv] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-pw528i7wgv] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-pw528i7wgv] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-pw528i7wgv] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-pw528i7wgv]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-pw528i7wgv]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-pw528i7wgv]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-pw528i7wgv]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-pw528i7wgv] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-pw528i7wgv] {
    margin-top: 0;
}

.modal-body ul[b-pw528i7wgv], .modal-body ol[b-pw528i7wgv] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-pw528i7wgv] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-pw528i7wgv] {
    color: #ff8c00;
}

.alert[b-pw528i7wgv] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-pw528i7wgv] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-pw528i7wgv] {
    color: #856404;
}

.modal-footer[b-pw528i7wgv] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-pw528i7wgv] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .personal-container[b-pw528i7wgv] {
        padding: 1rem;
    }

    .page-header[b-pw528i7wgv] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-pw528i7wgv] {
        overflow-x: auto;
    }
}

/* Iconos personalizados para el bot�n de ayuda y modal */
.btn-help 

.modal-header 

.page-header[b-pw528i7wgv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-pw528i7wgv] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-pw528i7wgv] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-pw528i7wgv] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-pw528i7wgv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-pw528i7wgv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-pw528i7wgv] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-pw528i7wgv 0.3s ease;
}

@keyframes slideIn-b-pw528i7wgv {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-pw528i7wgv]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-pw528i7wgv 3s ease infinite;
}

@keyframes gradientMove-b-pw528i7wgv {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-pw528i7wgv] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-pw528i7wgv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-pw528i7wgv] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-pw528i7wgv] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-pw528i7wgv] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-pw528i7wgv] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-pw528i7wgv] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-pw528i7wgv] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-pw528i7wgv] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-pw528i7wgv] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-pw528i7wgv] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-pw528i7wgv] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    width: 100%;
}

.search-box input:focus[b-pw528i7wgv] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi-search[b-pw528i7wgv] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-pw528i7wgv] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-pw528i7wgv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-pw528i7wgv] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-pw528i7wgv] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-pw528i7wgv] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-pw528i7wgv] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-pw528i7wgv] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-pw528i7wgv] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-pw528i7wgv] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-pw528i7wgv] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.sortable[b-pw528i7wgv] {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.sortable:hover[b-pw528i7wgv] {
    background: rgba(255, 255, 255, 0.1);
}

.sort-indicator[b-pw528i7wgv] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.btn-warning[b-pw528i7wgv] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-pw528i7wgv] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-pw528i7wgv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-pw528i7wgv] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.loading[b-pw528i7wgv] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-pw528i7wgv] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-pw528i7wgv] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-pw528i7wgv] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.modal-overlay[b-pw528i7wgv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-pw528i7wgv 0.3s ease;
}

@keyframes fadeIn-b-pw528i7wgv {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-pw528i7wgv] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-pw528i7wgv 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-pw528i7wgv {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-pw528i7wgv] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-pw528i7wgv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-pw528i7wgv] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-pw528i7wgv] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-pw528i7wgv] {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-pw528i7wgv] {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-pw528i7wgv]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-pw528i7wgv]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-pw528i7wgv]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-pw528i7wgv]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-pw528i7wgv] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-pw528i7wgv] {
    margin-top: 0;
}

.modal-body ul[b-pw528i7wgv] {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li[b-pw528i7wgv] {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.modal-body p[b-pw528i7wgv] {
    line-height: 1.7;
    color: #333;
}

.modal-body ol[b-pw528i7wgv] {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body ol li[b-pw528i7wgv] {
    margin: 0.75rem 0;
}

.modal-footer[b-pw528i7wgv] {
    padding: 1rem 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

.alert[b-pw528i7wgv] {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.alert-warning[b-pw528i7wgv] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert strong[b-pw528i7wgv] {
    display: block;
    margin-bottom: 0.5rem;
}

.alert ul[b-pw528i7wgv] {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.badge[b-pw528i7wgv] {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bg-info[b-pw528i7wgv] {
    background-color: #17a2b8 !important;
    color: white;
}

.bg-success[b-pw528i7wgv] {
    background-color: #28a745 !important;
    color: white;
}

.bg-secondary[b-pw528i7wgv] {
    background-color: #6c757d !important;
    color: white;
}

/* Asegurar que los botones de acci�n est�n en una sola l�nea */
table td:last-child[b-pw528i7wgv] {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .page-header[b-pw528i7wgv] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-actions[b-pw528i7wgv] {
        width: 100%;
        flex-direction: column;
    }

    .header-actions button[b-pw528i7wgv] {
        width: 100%;
    }

    .form-grid[b-pw528i7wgv] {
        grid-template-columns: 1fr;
    }

    .form-actions[b-pw528i7wgv] {
        flex-direction: column;
    }

    .form-actions button[b-pw528i7wgv] {
        width: 100%;
    }

    .table-container[b-pw528i7wgv] {
        overflow-x: auto;
    }

    .modal-dialog[b-pw528i7wgv] {
        width: 95%;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-pw528i7wgv],
table tbody tr td button.btn[b-pw528i7wgv],
.modal-body button.btn-sm[b-pw528i7wgv],
.modal-section button.btn-sm[b-pw528i7wgv],
.sucursal-card button.btn-sm[b-pw528i7wgv] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-pw528i7wgv],
table tbody tr td button.btn .bi[b-pw528i7wgv],
.modal-body button.btn-sm .bi[b-pw528i7wgv],
.modal-section button.btn-sm .bi[b-pw528i7wgv],
.sucursal-card button.btn-sm .bi[b-pw528i7wgv] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .personal-container[b-pw528i7wgv] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
    }
    .page-header[b-pw528i7wgv] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-pw528i7wgv] { font-size: 1.5rem !important; }
    .header-actions[b-pw528i7wgv] { flex-direction: column; width: 100%; }
    .header-actions button[b-pw528i7wgv] { width: 100%; }
    .table-container[b-pw528i7wgv] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .form-grid[b-pw528i7wgv] { grid-template-columns: 1fr !important; }
    .table thead[b-pw528i7wgv] { display: none; }
    .table tbody tr[b-pw528i7wgv] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; width: 100% !important; }
    .table tbody td[b-pw528i7wgv] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; width: 100% !important; }
    .table tbody td[b-pw528i7wgv]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-pw528i7wgv] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-pw528i7wgv] { width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
}

/* /Components/Pages/Laboratorio/Reactivos.razor.rz.scp.css */
.reactivos-container[b-8hnwznqhvc] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.reactivos-container *[b-8hnwznqhvc] {
    box-sizing: border-box;
    max-width: 100%;
}

.page-header[b-8hnwznqhvc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-8hnwznqhvc] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-8hnwznqhvc] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-8hnwznqhvc] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-8hnwznqhvc] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-8hnwznqhvc 0.3s ease;
}

@keyframes slideIn-b-8hnwznqhvc {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-8hnwznqhvc]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-8hnwznqhvc] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-8hnwznqhvc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-8hnwznqhvc] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-8hnwznqhvc] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-8hnwznqhvc] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-8hnwznqhvc] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-8hnwznqhvc] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-8hnwznqhvc] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-8hnwznqhvc] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-8hnwznqhvc] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-8hnwznqhvc] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-8hnwznqhvc] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-8hnwznqhvc],
.no-data[b-8hnwznqhvc] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-8hnwznqhvc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-8hnwznqhvc] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-8hnwznqhvc] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-8hnwznqhvc] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-8hnwznqhvc] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-8hnwznqhvc] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-8hnwznqhvc] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-8hnwznqhvc] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-8hnwznqhvc] {
    background-color: #f8f9fa;
}

.table tbody td[b-8hnwznqhvc] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-8hnwznqhvc] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-8hnwznqhvc] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-8hnwznqhvc] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-8hnwznqhvc] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-8hnwznqhvc] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-8hnwznqhvc] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-8hnwznqhvc],
table tbody tr td button.btn[b-8hnwznqhvc],
.modal-body button.btn-sm[b-8hnwznqhvc] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-8hnwznqhvc],
table tbody tr td button.btn .bi[b-8hnwznqhvc],
.modal-body button.btn-sm .bi[b-8hnwznqhvc] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE MUNICIPIOS */
.modal-overlay[b-8hnwznqhvc] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-8hnwznqhvc 0.3s ease;
}

@keyframes fadeIn-b-8hnwznqhvc {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-8hnwznqhvc] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-8hnwznqhvc 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-8hnwznqhvc {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-8hnwznqhvc] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-8hnwznqhvc] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-8hnwznqhvc] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-8hnwznqhvc] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-8hnwznqhvc] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-8hnwznqhvc]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-8hnwznqhvc]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-8hnwznqhvc]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-8hnwznqhvc]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-8hnwznqhvc] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-8hnwznqhvc] {
    margin-top: 0;
}

.modal-body ul[b-8hnwznqhvc], .modal-body ol[b-8hnwznqhvc] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-8hnwznqhvc] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-8hnwznqhvc] {
    color: #ff8c00;
}

.alert[b-8hnwznqhvc] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-8hnwznqhvc] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-8hnwznqhvc] {
    color: #856404;
}

.modal-footer[b-8hnwznqhvc] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-8hnwznqhvc] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .municipios-container[b-8hnwznqhvc] {
        padding: 1rem;
    }

    .page-header[b-8hnwznqhvc] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-8hnwznqhvc] {
        overflow-x: auto;
    }
}

.page-header[b-8hnwznqhvc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-8hnwznqhvc] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-8hnwznqhvc] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-8hnwznqhvc] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-8hnwznqhvc] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-8hnwznqhvc 0.3s ease;
}

@keyframes slideIn-b-8hnwznqhvc {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-8hnwznqhvc]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-8hnwznqhvc 3s ease infinite;
}

@keyframes gradientMove-b-8hnwznqhvc {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-8hnwznqhvc] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-8hnwznqhvc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-8hnwznqhvc] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-8hnwznqhvc] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-8hnwznqhvc] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-8hnwznqhvc] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-group .form-control:disabled[b-8hnwznqhvc] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-actions[b-8hnwznqhvc] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-8hnwznqhvc] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-8hnwznqhvc] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-8hnwznqhvc] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-8hnwznqhvc] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-8hnwznqhvc] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-8hnwznqhvc] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-8hnwznqhvc] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-8hnwznqhvc] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-8hnwznqhvc] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-8hnwznqhvc] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-8hnwznqhvc] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-8hnwznqhvc] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-8hnwznqhvc] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-8hnwznqhvc] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-8hnwznqhvc] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-8hnwznqhvc] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-8hnwznqhvc] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-8hnwznqhvc] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-8hnwznqhvc] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-8hnwznqhvc] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-8hnwznqhvc] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-8hnwznqhvc] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-8hnwznqhvc] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-8hnwznqhvc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-8hnwznqhvc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.modal-overlay[b-8hnwznqhvc] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-8hnwznqhvc 0.3s ease;
}

@keyframes fadeIn-b-8hnwznqhvc {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-8hnwznqhvc] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-8hnwznqhvc 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-8hnwznqhvc {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-8hnwznqhvc] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-8hnwznqhvc] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-8hnwznqhvc] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-8hnwznqhvc] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-8hnwznqhvc] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-8hnwznqhvc] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-8hnwznqhvc]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-8hnwznqhvc]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-8hnwznqhvc]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-8hnwznqhvc]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-8hnwznqhvc] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-8hnwznqhvc] {
    margin-top: 0;
}

.modal-body ul[b-8hnwznqhvc], .modal-body ol[b-8hnwznqhvc] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-8hnwznqhvc] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-8hnwznqhvc] {
    color: #ff8c00;
}

.alert[b-8hnwznqhvc] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-8hnwznqhvc] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-8hnwznqhvc] {
    color: #856404;
}

.modal-footer[b-8hnwznqhvc] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
    .municipios-container[b-8hnwznqhvc] {
        padding: 1rem;
    }

    .page-header[b-8hnwznqhvc] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-grid[b-8hnwznqhvc] {
        grid-template-columns: 1fr;
    }

    .table-container[b-8hnwznqhvc] {
        overflow-x: auto;
    }
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .reactivos-container[b-8hnwznqhvc] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
    }
    .page-header[b-8hnwznqhvc] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-8hnwznqhvc] { font-size: 1.5rem !important; }
    .header-actions[b-8hnwznqhvc] { flex-direction: column; width: 100%; }
    .header-actions button[b-8hnwznqhvc] { width: 100%; }
    .table-container[b-8hnwznqhvc] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .form-grid[b-8hnwznqhvc] { grid-template-columns: 1fr !important; }
    .table thead[b-8hnwznqhvc] { display: none; }
    .table tbody tr[b-8hnwznqhvc] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; width: 100% !important; }
    .table tbody td[b-8hnwznqhvc] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; width: 100% !important; }
    .table tbody td[b-8hnwznqhvc]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-8hnwznqhvc] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-8hnwznqhvc] { width: 100%; margin-left: 0 !important; }
}



/* /Components/Pages/Laboratorio/RecogidaMuestras.razor.rz.scp.css */
/* Estilos del Modal de Par�metros - Inspirado en ProductosTerminados */

.modal-overlay[b-sjlaezgolx] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn-b-sjlaezgolx 0.3s ease;
    backdrop-filter: blur(3px);
}

@keyframes fadeIn-b-sjlaezgolx {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-dialog-detail[b-sjlaezgolx] {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-sjlaezgolx 0.3s ease;
    overflow: hidden;
}

@keyframes slideIn-b-sjlaezgolx {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-sjlaezgolx] {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: white; /* Fondo blanco para todos los modales */
}

/* Estilos espec�ficos para los modales de di�logo centrados (agregar par�metro/reactivo) */
.modal-dialog-centered[b-sjlaezgolx] {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-sjlaezgolx 0.3s ease;
    overflow: hidden;
}

.modal-dialog-centered .modal-content[b-sjlaezgolx] {
    background-color: white;
    border: none;
}

.modal-header[b-sjlaezgolx] {
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header-info[b-sjlaezgolx] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border-color: #138496;
    color: white;
}

.modal-header h2[b-sjlaezgolx] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.modal-header .bi[b-sjlaezgolx] {
    font-size: 1.75rem;
}

.btn-close[b-sjlaezgolx] {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: white;
    opacity: 0.8;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-close:hover[b-sjlaezgolx] {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body[b-sjlaezgolx] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: white; /* Fondo blanco para el cuerpo del modal */
}

.modal-body[b-sjlaezgolx]::-webkit-scrollbar {
    width: 10px;
}

.modal-body[b-sjlaezgolx]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body[b-sjlaezgolx]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 10px;
}

.modal-body[b-sjlaezgolx]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.info-summary[b-sjlaezgolx] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    border: 1px solid #e9ecef;
}

.info-item[b-sjlaezgolx] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item strong[b-sjlaezgolx] {
    color: #17a2b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.parametro-card[b-sjlaezgolx] {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.parametro-card:hover[b-sjlaezgolx] {
    box-shadow: 0 4px 16px rgba(23, 162, 184, 0.15);
    border-color: #17a2b8;
}

.parametro-header[b-sjlaezgolx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.parametro-header h4[b-sjlaezgolx] {
    margin: 0;
    font-size: 1.25rem;
    color: #17a2b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.parametro-header .bi[b-sjlaezgolx] {
    font-size: 1.5rem;
}

.parametro-info[b-sjlaezgolx] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-row[b-sjlaezgolx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-row .label[b-sjlaezgolx] {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.875rem;
}

.info-row .value[b-sjlaezgolx] {
    color: #495057;
}

.sub-section[b-sjlaezgolx] {
    margin-top: 1.5rem;
}

.sub-section h5[b-sjlaezgolx] {
    font-size: 1rem;
    color: #17a2b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.sub-section .bi[b-sjlaezgolx] {
    font-size: 1.25rem;
}

.table-detail[b-sjlaezgolx] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.table-detail thead[b-sjlaezgolx] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.table-detail thead th[b-sjlaezgolx] {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-detail tbody tr[b-sjlaezgolx] {
    transition: background-color 0.2s ease;
}

.table-detail tbody tr:nth-child(even)[b-sjlaezgolx] {
    background-color: #f8f9fa;
}

.table-detail tbody tr:hover[b-sjlaezgolx] {
    background-color: #e7f5f7;
}

.table-detail tbody td[b-sjlaezgolx] {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    color: #495057;
    vertical-align: middle;
}

.table-detail tbody tr:last-child td[b-sjlaezgolx] {
    border-bottom: none;
}

.no-data-modal[b-sjlaezgolx] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-data-modal .bi[b-sjlaezgolx] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.no-data-modal p[b-sjlaezgolx] {
    margin: 0;
    font-size: 1.1rem;
}

.modal-footer[b-sjlaezgolx] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    background: white; /* Fondo blanco para el footer del modal */
    flex-shrink: 0;
}

.modal-footer .btn[b-sjlaezgolx] {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-footer .btn-secondary[b-sjlaezgolx] {
    background: #6c757d;
    border: none;
    color: white;
}

.modal-footer .btn-secondary:hover[b-sjlaezgolx] {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Badge personalizado para el modal */
.badge[b-sjlaezgolx] {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
}

.badge.bg-primary[b-sjlaezgolx] {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.badge.bg-secondary[b-sjlaezgolx] {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
}

.badge.bg-info[b-sjlaezgolx] {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-dialog-detail[b-sjlaezgolx] {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header h2[b-sjlaezgolx] {
        font-size: 1.25rem;
    }

    .parametro-card[b-sjlaezgolx] {
        padding: 1rem;
    }

    .parametro-info[b-sjlaezgolx] {
        grid-template-columns: 1fr;
    }

    .table-detail[b-sjlaezgolx] {
        font-size: 0.75rem;
    }

    .table-detail thead th[b-sjlaezgolx],
    .table-detail tbody td[b-sjlaezgolx] {
        padding: 0.5rem;
    }
}

/* Estilos para el bot�n badge de par�metros */
.btn-badge[b-sjlaezgolx] {
    display: inline-block;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

.badge-parametro[b-sjlaezgolx] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.badge-parametro:hover[b-sjlaezgolx] {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.5);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.badge-parametro .bi[b-sjlaezgolx] {
    margin-right: 0.3rem;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

/* /Components/Pages/Laboratorio/TiposMuestras.razor.rz.scp.css */
.tipos-muestras-container[b-uzzj0ao79q] {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.tipos-muestras-container *[b-uzzj0ao79q] {
    box-sizing: border-box;
    max-width: 100%;
}



.bi-diagram-3[b-uzzj0ao79q] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230c5460' class='bi bi-diagram-3' 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-1zM8.5 5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1zM0 11.5A1.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-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm4.5.5A1.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-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm4.5.5a1.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-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z'/%3E%3C/svg%3E");
}


.page-header[b-uzzj0ao79q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-uzzj0ao79q] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-uzzj0ao79q] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.btn-help[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-uzzj0ao79q] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-uzzj0ao79q] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-uzzj0ao79q] {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-left: 5px solid #ff8c00;
}

.form-card h3[b-uzzj0ao79q] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.form-grid[b-uzzj0ao79q] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-uzzj0ao79q] {
    display: flex;
    flex-direction: column;
}

.form-group.full-width[b-uzzj0ao79q] {
    grid-column: 1 / -1;
}

.form-group label[b-uzzj0ao79q] {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control[b-uzzj0ao79q] {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-uzzj0ao79q] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.subsection[b-uzzj0ao79q] {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
}

.subsection h4[b-uzzj0ao79q] {
    color: #ff8c00;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-actions[b-uzzj0ao79q] {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.btn-success[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-success:hover[b-uzzj0ao79q] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover[b-uzzj0ao79q] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-uzzj0ao79q] {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-uzzj0ao79q] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-uzzj0ao79q] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-uzzj0ao79q] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-uzzj0ao79q] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.table[b-uzzj0ao79q] {
    width: 100%;
    margin-bottom: 0;
}

.table thead th[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    font-weight: 600;
    padding: 1rem;
    border: none;
    white-space: nowrap;
}

.table thead th:first-child[b-uzzj0ao79q] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-uzzj0ao79q] {
    border-radius: 0 12px 0 0;
}

.table tbody td[b-uzzj0ao79q] {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody td:last-child[b-uzzj0ao79q] {
    white-space: nowrap;
    min-width: 220px;
}

.table-striped tbody tr:nth-of-type(odd)[b-uzzj0ao79q] {
    background-color: #fef9f3;
}

.table-hover tbody tr:hover[b-uzzj0ao79q] {
    background-color: #fff3e0;
    cursor: pointer;
}

.sortable[b-uzzj0ao79q] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
}

.sortable:hover[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.sort-indicator[b-uzzj0ao79q] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.btn-sm[b-uzzj0ao79q] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-uzzj0ao79q] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-info[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(23, 162, 184, 0.3);
    margin-left: 0.5rem;
}

.btn-info:hover[b-uzzj0ao79q] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-danger[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-uzzj0ao79q] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-uzzj0ao79q] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
    text-align: right;
    color: #666;
    font-weight: 600;
}

.loading[b-uzzj0ao79q], .no-data[b-uzzj0ao79q] {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading .spinner-border[b-uzzj0ao79q] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    margin-bottom: 1rem;
}

.no-data .bi-inbox[b-uzzj0ao79q] {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.modal-overlay[b-uzzj0ao79q] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-uzzj0ao79q 0.3s ease;
}

@keyframes fadeIn-b-uzzj0ao79q {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-uzzj0ao79q] {
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-uzzj0ao79q 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-uzzj0ao79q {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-uzzj0ao79q] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-uzzj0ao79q] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-uzzj0ao79q] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-uzzj0ao79q] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-uzzj0ao79q] {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body[b-uzzj0ao79q] {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-body[b-uzzj0ao79q]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-uzzj0ao79q]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-uzzj0ao79q]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-uzzj0ao79q]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-uzzj0ao79q] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-body h3:first-child[b-uzzj0ao79q] {
    margin-top: 0;
}

.modal-body h4[b-uzzj0ao79q] {
    color: #17a2b8;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.modal-body p[b-uzzj0ao79q] {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-body ul[b-uzzj0ao79q], .modal-body ol[b-uzzj0ao79q] {
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.alert[b-uzzj0ao79q] {
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid;
}

.alert-warning[b-uzzj0ao79q] {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-info[b-uzzj0ao79q] {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.alert-success[b-uzzj0ao79q] {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.modal-footer[b-uzzj0ao79q] {
    padding: 1.5rem 2rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.badge-order[b-uzzj0ao79q] {
    background: #ff8c00;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-code[b-uzzj0ao79q] {
    background: #17a2b8;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-clickable[b-uzzj0ao79q] {
    cursor: pointer;
    transition: all 0.3s ease;
}

.badge-clickable:hover[b-uzzj0ao79q] {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.modal-dialog-large[b-uzzj0ao79q] {
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-uzzj0ao79q 0.3s ease;
    display: flex;
    flex-direction: column;
}

.analisis-section[b-uzzj0ao79q] {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ff8c00;
}

.analisis-section h4[b-uzzj0ao79q] {
    color: #ff8c00;
    margin-bottom: 1rem;
    font-weight: 600;
}

.analisis-info[b-uzzj0ao79q] {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
}

.analisis-info span[b-uzzj0ao79q] {
    color: #666;
}

.table-detail[b-uzzj0ao79q] {
    margin-bottom: 0.5rem;
}

.total-info[b-uzzj0ao79q] {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #dee2e6;
}

.search-box[b-uzzj0ao79q] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-uzzj0ao79q] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-uzzj0ao79q] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-uzzj0ao79q] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}
/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-uzzj0ao79q],
table tbody tr td button.btn[b-uzzj0ao79q],
.modal-body button.btn-sm[b-uzzj0ao79q],
.modal-section button.btn-sm[b-uzzj0ao79q],
.sucursal-card button.btn-sm[b-uzzj0ao79q] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-uzzj0ao79q],
table tbody tr td button.btn .bi[b-uzzj0ao79q],
.modal-body button.btn-sm .bi[b-uzzj0ao79q],
.modal-section button.btn-sm .bi[b-uzzj0ao79q],
.sucursal-card button.btn-sm .bi[b-uzzj0ao79q] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .tipos-muestras-container[b-uzzj0ao79q] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
    }
    .page-header[b-uzzj0ao79q] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-uzzj0ao79q] { font-size: 1.5rem !important; }
    .header-actions[b-uzzj0ao79q] { flex-direction: column; width: 100%; }
    .header-actions button[b-uzzj0ao79q] { width: 100%; }
    .table-container[b-uzzj0ao79q] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .form-grid[b-uzzj0ao79q] { grid-template-columns: 1fr !important; }
    .table thead[b-uzzj0ao79q] { display: none; }
    .table tbody tr[b-uzzj0ao79q] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; width: 100% !important; }
    .table tbody td[b-uzzj0ao79q] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; width: 100% !important; }
    .table tbody td[b-uzzj0ao79q]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-uzzj0ao79q] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-uzzj0ao79q] { width: 100%; margin-left: 0 !important; }
}

/* /Components/Pages/Laboratorio/Unidades.razor.rz.scp.css */
.unidades-container[b-kssa4auybz] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}


.page-header[b-kssa4auybz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-kssa4auybz] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-kssa4auybz] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-kssa4auybz] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-kssa4auybz] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-kssa4auybz] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-kssa4auybz] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-kssa4auybz 0.3s ease;
}

@keyframes slideIn-b-kssa4auybz {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-kssa4auybz]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-kssa4auybz] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-kssa4auybz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-kssa4auybz] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-kssa4auybz] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-kssa4auybz] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-kssa4auybz] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-kssa4auybz] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-kssa4auybz] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-kssa4auybz] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-kssa4auybz] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-kssa4auybz] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-kssa4auybz] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-kssa4auybz] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-kssa4auybz] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-kssa4auybz],
.no-data[b-kssa4auybz] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-kssa4auybz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-kssa4auybz] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-kssa4auybz] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-kssa4auybz] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-kssa4auybz] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-kssa4auybz] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-kssa4auybz] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-kssa4auybz] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-kssa4auybz] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-kssa4auybz] {
    background-color: #f8f9fa;
}

.table tbody td[b-kssa4auybz] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-kssa4auybz] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-kssa4auybz] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-kssa4auybz] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-kssa4auybz] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-kssa4auybz] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-kssa4auybz] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-kssa4auybz] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-kssa4auybz] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE UNIDADES */
.modal-overlay[b-kssa4auybz] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-kssa4auybz 0.3s ease;
}

@keyframes fadeIn-b-kssa4auybz {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-kssa4auybz] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-kssa4auybz 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-kssa4auybz {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-kssa4auybz] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-kssa4auybz] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-kssa4auybz] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-kssa4auybz] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-kssa4auybz] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-kssa4auybz] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-kssa4auybz]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-kssa4auybz]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-kssa4auybz]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-kssa4auybz]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-kssa4auybz] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-kssa4auybz] {
    margin-top: 0;
}

.modal-body ul[b-kssa4auybz], .modal-body ol[b-kssa4auybz] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-kssa4auybz] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-kssa4auybz] {
    color: #ff8c00;
}

.alert[b-kssa4auybz] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-kssa4auybz] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-kssa4auybz] {
    color: #856404;
}

.modal-footer[b-kssa4auybz] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-kssa4auybz] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .unidades-container[b-kssa4auybz] {
        padding: 1rem;
    }

    .page-header[b-kssa4auybz] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-kssa4auybz] {
        overflow-x: auto;
    }
}

.page-header[b-kssa4auybz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-kssa4auybz] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-kssa4auybz] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-kssa4auybz] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-kssa4auybz] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-kssa4auybz] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-kssa4auybz] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-kssa4auybz 0.3s ease;
}

@keyframes slideIn-b-kssa4auybz {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-kssa4auybz]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-kssa4auybz 3s ease infinite;
}

@keyframes gradientMove-b-kssa4auybz {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-kssa4auybz] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-kssa4auybz] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-kssa4auybz] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-kssa4auybz] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-kssa4auybz] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-kssa4auybz] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-kssa4auybz] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-kssa4auybz] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-kssa4auybz] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-kssa4auybz] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-kssa4auybz] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-kssa4auybz] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-kssa4auybz] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-kssa4auybz] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-kssa4auybz] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-kssa4auybz] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-kssa4auybz] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-kssa4auybz] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-kssa4auybz] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-kssa4auybz] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-kssa4auybz] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-kssa4auybz] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-kssa4auybz] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-kssa4auybz] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-kssa4auybz] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-kssa4auybz] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-kssa4auybz] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-kssa4auybz] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-kssa4auybz] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-kssa4auybz] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-kssa4auybz] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-kssa4auybz] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-kssa4auybz] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-kssa4auybz] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-kssa4auybz] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-kssa4auybz] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.modal-overlay[b-kssa4auybz] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-kssa4auybz 0.3s ease;
}

@keyframes fadeIn-b-kssa4auybz {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-kssa4auybz] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-kssa4auybz 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-kssa4auybz {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-kssa4auybz] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-kssa4auybz] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-kssa4auybz] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-kssa4auybz] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-kssa4auybz] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-kssa4auybz] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-kssa4auybz]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-kssa4auybz]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-kssa4auybz]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-kssa4auybz]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-kssa4auybz] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-kssa4auybz] {
    margin-top: 0;
}

.modal-body ul[b-kssa4auybz], .modal-body ol[b-kssa4auybz] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-kssa4auybz] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-kssa4auybz] {
    color: #ff8c00;
}

.alert[b-kssa4auybz] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-kssa4auybz] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-kssa4auybz] {
    color: #856404;
}

.modal-footer[b-kssa4auybz] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
    .unidades-container[b-kssa4auybz] {
        padding: 1rem;
    }

    .page-header[b-kssa4auybz] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-kssa4auybz] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-kssa4auybz],
table tbody tr td button.btn[b-kssa4auybz],
.modal-body button.btn-sm[b-kssa4auybz],
.modal-section button.btn-sm[b-kssa4auybz],
.sucursal-card button.btn-sm[b-kssa4auybz] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-kssa4auybz],
table tbody tr td button.btn .bi[b-kssa4auybz],
.modal-body button.btn-sm .bi[b-kssa4auybz],
.modal-section button.btn-sm .bi[b-kssa4auybz],
.sucursal-card button.btn-sm .bi[b-kssa4auybz] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* Contenedor principal del login */
.login-container[b-h3q6snec5m] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 50%, #fff3e0 100%);
    padding: 20px;
}

.login-card[b-h3q6snec5m] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    animation: slideUp-b-h3q6snec5m 0.5s ease;
}

@keyframes slideUp-b-h3q6snec5m {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header del login */
.login-header[b-h3q6snec5m] {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    color: white;
    padding: 40px 30px 30px;
    text-align: center;
}

.logo-container[b-h3q6snec5m] {
    margin-bottom: 20px;
}

.logo-icon[b-h3q6snec5m] {
    font-size: 4rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.login-header h2[b-h3q6snec5m] {
    margin: 0 0 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.subtitle[b-h3q6snec5m] {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Cuerpo del login */
.login-body[b-h3q6snec5m] {
    padding: 30px;
}

/* Pesta�as de modo de login */
.login-tabs[b-h3q6snec5m] {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
}

.tab-button[b-h3q6snec5m] {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-button:hover[b-h3q6snec5m] {
    background: rgba(255, 140, 0, 0.1);
    color: #ff8c00;
}

.tab-button.active[b-h3q6snec5m] {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

/* Formulario */
.form-group[b-h3q6snec5m] {
    margin-bottom: 20px;
}

.form-group label[b-h3q6snec5m] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control[b-h3q6snec5m] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-h3q6snec5m] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

/* Contenedor de contrase�a con bot�n de mostrar/ocultar */
.password-input-container[b-h3q6snec5m] {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container .form-control[b-h3q6snec5m] {
    padding-right: 45px;
}

.toggle-password[b-h3q6snec5m] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.toggle-password:hover[b-h3q6snec5m] {
    color: #ff8c00;
}

/* Checkbox recordar sesi�n */
.form-check[b-h3q6snec5m] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input[b-h3q6snec5m] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label[b-h3q6snec5m] {
    cursor: pointer;
    user-select: none;
    margin: 0;
}

/* Bot�n de login */
.btn-login[b-h3q6snec5m] {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.btn-login:hover:not(:disabled)[b-h3q6snec5m] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.btn-login:disabled[b-h3q6snec5m] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Login con huella digital */
.fingerprint-login[b-h3q6snec5m] {
    text-align: center;
}

.fingerprint-animation[b-h3q6snec5m] {
    padding: 40px 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fingerprint-icon[b-h3q6snec5m] {
    font-size: 8rem;
    color: #ff8c00;
    margin-bottom: 20px;
}

.fingerprint-scanning[b-h3q6snec5m] {
    position: relative;
    display: inline-block;
}

.fingerprint-icon.scanning[b-h3q6snec5m] {
    animation: pulse-b-h3q6snec5m 2s ease-in-out infinite;
}

@keyframes pulse-b-h3q6snec5m {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.scan-line[b-h3q6snec5m] {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
    animation: scan-b-h3q6snec5m 2s linear infinite;
}

@keyframes scan-b-h3q6snec5m {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

.instruction-text[b-h3q6snec5m] {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.scanning-text[b-h3q6snec5m] {
    color: #ff8c00;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    animation: blink-b-h3q6snec5m 1.5s ease-in-out infinite;
}

@keyframes blink-b-h3q6snec5m {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.fingerprint-info[b-h3q6snec5m] {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.fingerprint-info small[b-h3q6snec5m] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
}

/* Footer del login */
.login-footer[b-h3q6snec5m] {
    background: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e1e8ed;
}

.version-info[b-h3q6snec5m] {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Alertas */
.alert[b-h3q6snec5m] {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.alert-danger[b-h3q6snec5m] {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-success[b-h3q6snec5m] {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

/* Responsive */
@media (max-width: 576px) {
    .login-card[b-h3q6snec5m] {
        border-radius: 0;
        max-width: 100%;
    }

    .login-header h2[b-h3q6snec5m] {
        font-size: 1.5rem;
    }

    .logo-icon[b-h3q6snec5m] {
        font-size: 3rem;
    }

    .fingerprint-icon[b-h3q6snec5m] {
        font-size: 6rem;
    }

    .login-body[b-h3q6snec5m] {
        padding: 20px;
    }
}

/* Animaciones de validaci�n */
.validation-message[b-h3q6snec5m] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.validation-message[b-h3q6snec5m]::before {
    content: "??";
}

/* Spinner */
.spinner-border-sm[b-h3q6snec5m] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}
/* /Components/Pages/Municipios.razor.rz.scp.css */
.municipios-container[b-iarf822umv] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.municipios-container *[b-iarf822umv] {
    box-sizing: border-box;
    max-width: 100%;
}



.page-header[b-iarf822umv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-iarf822umv] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-iarf822umv] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-iarf822umv] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-iarf822umv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-iarf822umv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-iarf822umv] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-iarf822umv 0.3s ease;
}

@keyframes slideIn-b-iarf822umv {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-iarf822umv]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-iarf822umv] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-iarf822umv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-iarf822umv] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-iarf822umv] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-iarf822umv] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-iarf822umv] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-iarf822umv] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-iarf822umv] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-iarf822umv] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-iarf822umv] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.search-box[b-iarf822umv] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-iarf822umv] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-iarf822umv] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-iarf822umv] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-iarf822umv],
.no-data[b-iarf822umv] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-iarf822umv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-border[b-iarf822umv] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-iarf822umv] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-iarf822umv] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-iarf822umv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-iarf822umv] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-iarf822umv] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-iarf822umv] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-iarf822umv] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-iarf822umv] {
    background-color: #f8f9fa;
}

.table tbody td[b-iarf822umv] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-iarf822umv] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-iarf822umv] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-iarf822umv] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-iarf822umv] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-iarf822umv] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-iarf822umv] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-iarf822umv] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-iarf822umv] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE MUNICIPIOS */
.modal-overlay[b-iarf822umv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-iarf822umv 0.3s ease;
}

@keyframes fadeIn-b-iarf822umv {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-iarf822umv] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-iarf822umv 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-iarf822umv {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-iarf822umv] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-iarf822umv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-iarf822umv] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-iarf822umv] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-iarf822umv] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-iarf822umv] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-iarf822umv]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-iarf822umv]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-iarf822umv]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-iarf822umv]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-iarf822umv] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-iarf822umv] {
    margin-top: 0;
}

.modal-body ul[b-iarf822umv], .modal-body ol[b-iarf822umv] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-iarf822umv] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-iarf822umv] {
    color: #ff8c00;
}

.alert[b-iarf822umv] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-iarf822umv] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-iarf822umv] {
    color: #856404;
}

.modal-footer[b-iarf822umv] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-iarf822umv] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .municipios-container[b-iarf822umv] {
        padding: 1rem;
    }

    .page-header[b-iarf822umv] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .table-container[b-iarf822umv] {
        overflow-x: auto;
    }
}

.page-header[b-iarf822umv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-iarf822umv] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-iarf822umv] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-iarf822umv] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-iarf822umv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-iarf822umv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-iarf822umv] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-iarf822umv 0.3s ease;
}

@keyframes slideIn-b-iarf822umv {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-iarf822umv]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-iarf822umv 3s ease infinite;
}

@keyframes gradientMove-b-iarf822umv {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-iarf822umv] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-iarf822umv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-iarf822umv] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-iarf822umv] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-iarf822umv] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-iarf822umv] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-group .form-control:disabled[b-iarf822umv] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-actions[b-iarf822umv] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-iarf822umv] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-iarf822umv] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-iarf822umv] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-iarf822umv] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-iarf822umv] {
    padding-left: 3rem;
    border: 1px solid #ffcc80;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-iarf822umv] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-iarf822umv] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-iarf822umv] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-iarf822umv] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-iarf822umv] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-iarf822umv] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-iarf822umv] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-iarf822umv] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-iarf822umv] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-iarf822umv] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-iarf822umv] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-iarf822umv] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-iarf822umv] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-iarf822umv] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-iarf822umv] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-iarf822umv] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-iarf822umv] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-iarf822umv] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-iarf822umv] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-iarf822umv] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-iarf822umv] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-iarf822umv] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-iarf822umv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-iarf822umv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.modal-overlay[b-iarf822umv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-iarf822umv 0.3s ease;
}

@keyframes fadeIn-b-iarf822umv {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-iarf822umv] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-iarf822umv 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-iarf822umv {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-iarf822umv] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-iarf822umv] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-iarf822umv] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-iarf822umv] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-iarf822umv] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-iarf822umv] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-iarf822umv]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-iarf822umv]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-iarf822umv]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-iarf822umv]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-iarf822umv] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-iarf822umv] {
    margin-top: 0;
}

.modal-body ul[b-iarf822umv], .modal-body ol[b-iarf822umv] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-iarf822umv] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-iarf822umv] {
    color: #ff8c00;
}

.alert[b-iarf822umv] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-iarf822umv] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-iarf822umv] {
    color: #856404;
}

.modal-footer[b-iarf822umv] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
    .municipios-container[b-iarf822umv] {
        padding: 1rem;
    }

    .page-header[b-iarf822umv] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-grid[b-iarf822umv] {
        grid-template-columns: 1fr;
    }

    .table-container[b-iarf822umv] {
        overflow-x: auto;
    }
}

/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-iarf822umv],
table tbody tr td button.btn[b-iarf822umv],
.modal-body button.btn-sm[b-iarf822umv],
.modal-section button.btn-sm[b-iarf822umv],
.sucursal-card button.btn-sm[b-iarf822umv] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-iarf822umv],
table tbody tr td button.btn .bi[b-iarf822umv],
.modal-body button.btn-sm .bi[b-iarf822umv],
.modal-section button.btn-sm .bi[b-iarf822umv],
.sucursal-card button.btn-sm .bi[b-iarf822umv] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .municipios-container[b-iarf822umv] { 
        padding: 0.75rem !important; 
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .page-header[b-iarf822umv] { 
        flex-direction: column !important; 
        align-items: flex-start !important;
        width: 100% !important;
    }
    .page-header h1[b-iarf822umv] { font-size: 1.5rem !important; }
    .header-actions[b-iarf822umv] { 
        flex-direction: column; 
        width: 100%; 
    }
    .header-actions button[b-iarf822umv] { width: 100%; }
    
    .form-card[b-iarf822umv] {
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .table-container[b-iarf822umv] {
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: visible !important;
    }
    
    .form-grid[b-iarf822umv] { 
        grid-template-columns: 1fr !important; 
        width: 100% !important;
    }
    
    .search-box[b-iarf822umv] {
        width: 100% !important;
    }
    
    .search-box input[b-iarf822umv] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .table[b-iarf822umv] { 
        width: 100% !important;
        display: block !important;
    }
    .table thead[b-iarf822umv] { display: none; }
    .table tbody[b-iarf822umv] { 
        display: block; 
        width: 100% !important;
    }
    .table tbody tr[b-iarf822umv] { 
        display: block; 
        margin-bottom: 1rem; 
        border: 1px solid #e9ecef; 
        border-radius: 8px; 
        padding: 0.75rem;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .table tbody td[b-iarf822umv] { 
        display: flex; 
        justify-content: space-between; 
        padding: 0.5rem 0 !important; 
        border: none !important;
        width: 100% !important;
    }
    .table tbody td[b-iarf822umv]::before { 
        content: attr(data-label); 
        font-weight: 600; 
        color: #ff8c00; 
        margin-right: 0.5rem; 
    }
    .table tbody td:last-child[b-iarf822umv] { 
        flex-direction: column; 
        gap: 0.5rem; 
    }
    .btn-sm[b-iarf822umv] { 
        width: 100%; 
        margin-left: 0 !important; 
    }
}

/* /Components/Pages/Provincias.razor.rz.scp.css */
.provincias-container[b-qcrcy5clir] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    min-height: 100vh;
}

.page-header[b-qcrcy5clir] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-qcrcy5clir] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-qcrcy5clir] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-qcrcy5clir] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-qcrcy5clir] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
    cursor: pointer;
}

.btn-help:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-qcrcy5clir] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-qcrcy5clir] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-qcrcy5clir 0.3s ease;
}

@keyframes slideIn-b-qcrcy5clir {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-qcrcy5clir]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726);
}

.form-card h3[b-qcrcy5clir] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-grid[b-qcrcy5clir] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-qcrcy5clir] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-qcrcy5clir] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-qcrcy5clir] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-qcrcy5clir] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-actions[b-qcrcy5clir] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-success[b-qcrcy5clir] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-qcrcy5clir] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-qcrcy5clir] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 204, 128, 0.2);
}

.search-box[b-qcrcy5clir] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-qcrcy5clir] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus[b-qcrcy5clir] {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.search-box .bi-search[b-qcrcy5clir] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
}

.loading[b-qcrcy5clir],
.no-data[b-qcrcy5clir] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading[b-qcrcy5clir] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner-border[b-qcrcy5clir] {
    width: 3rem;
    height: 3rem;
}

.no-data .bi[b-qcrcy5clir] {
    font-size: 4rem;
    color: #dee2e6;
    display: block;
    margin-bottom: 1rem;
}

.table[b-qcrcy5clir] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th[b-qcrcy5clir] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-qcrcy5clir] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-qcrcy5clir] {
    border-radius: 0 12px 0 0;
}

.table tbody tr[b-qcrcy5clir] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover[b-qcrcy5clir] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table-striped tbody tr:nth-of-type(odd)[b-qcrcy5clir] {
    background-color: #f8f9fa;
}

.table tbody td[b-qcrcy5clir] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table tbody td:last-child[b-qcrcy5clir] {
    white-space: nowrap;
    min-width: 200px;
}

.sortable[b-qcrcy5clir] {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
    transition: background-color 0.2s ease;
}

.sortable:hover[b-qcrcy5clir] {
    background-color: rgba(230, 126, 0, 0.9);
}

.sort-indicator[b-qcrcy5clir] {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
}

.btn-sm[b-qcrcy5clir] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning[b-qcrcy5clir] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
}

.btn-warning:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-qcrcy5clir] {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    color: white;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
}

.btn-danger:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.pagination-info[b-qcrcy5clir] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-weight: 500;
}

/* Modal de Ayuda - MANTENER FORMATO ORIGINAL DE PROVINCIAS */
.modal-overlay[b-qcrcy5clir] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-qcrcy5clir 0.3s ease;
}

@keyframes fadeIn-b-qcrcy5clir {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-qcrcy5clir] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-qcrcy5clir 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-qcrcy5clir {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-qcrcy5clir] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-qcrcy5clir] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-qcrcy5clir] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-qcrcy5clir] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-qcrcy5clir] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-qcrcy5clir] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-qcrcy5clir]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-qcrcy5clir]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-qcrcy5clir]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-qcrcy5clir]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-qcrcy5clir] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-qcrcy5clir] {
    margin-top: 0;
}

.modal-body ul[b-qcrcy5clir], .modal-body ol[b-qcrcy5clir] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-qcrcy5clir] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-qcrcy5clir] {
    color: #ff8c00;
}

.alert[b-qcrcy5clir] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-qcrcy5clir] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-qcrcy5clir] {
    color: #856404;
}

.modal-footer[b-qcrcy5clir] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

.validation-message[b-qcrcy5clir] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.page-header[b-qcrcy5clir] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-qcrcy5clir] {
    display: flex;
    gap: 0.75rem;
}

.page-header h1[b-qcrcy5clir] {
    color: #ff8c00;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
}

.page-header h1 .bi[b-qcrcy5clir] {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 140, 0, 0.2));
}

.btn-help[b-qcrcy5clir] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.3);
}

.btn-help:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

.btn-primary[b-qcrcy5clir] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #ff9800 100%);
}

.form-card[b-qcrcy5clir] {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 204, 128, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn-b-qcrcy5clir 0.3s ease;
}

@keyframes slideIn-b-qcrcy5clir {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card[b-qcrcy5clir]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa726, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove-b-qcrcy5clir 3s ease infinite;
}

@keyframes gradientMove-b-qcrcy5clir {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-card h3[b-qcrcy5clir] {
    color: #ff8c00;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff3e0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-grid[b-qcrcy5clir] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-qcrcy5clir] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-qcrcy5clir] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group .form-control[b-qcrcy5clir] {
    border: 2px solid #ffcc80;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: #fffbf5;
}

.form-group .form-control:focus[b-qcrcy5clir] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
    transform: translateY(-1px);
}

.form-actions[b-qcrcy5clir] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.btn-success[b-qcrcy5clir] {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-success:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

.btn-secondary[b-qcrcy5clir] {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
}

.table-container[b-qcrcy5clir] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box[b-qcrcy5clir] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-qcrcy5clir] {
    padding-left: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-box input:focus[b-qcrcy5clir] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.3rem rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: white;
}

.search-box .bi[b-qcrcy5clir] {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-qcrcy5clir] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead[b-qcrcy5clir] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
    color: white;
}

.table thead th[b-qcrcy5clir] {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table thead th:first-child[b-qcrcy5clir] {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child[b-qcrcy5clir] {
    border-radius: 0 12px 0 0;
}

.table thead th.sortable[b-qcrcy5clir] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-qcrcy5clir] {
    background-color: rgba(230, 126, 0, 0.9);
}

.table tbody tr[b-qcrcy5clir] {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover[b-qcrcy5clir] {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

.table tbody td[b-qcrcy5clir] {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.95rem;
}

.btn-warning[b-qcrcy5clir] {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(255, 167, 38, 0.3);
    font-size: 0.875rem;
}

.btn-warning:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 167, 38, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
}

.btn-danger[b-qcrcy5clir] {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(220, 53, 69, 0.3);
    font-size: 0.875rem;
}

.btn-danger:hover[b-qcrcy5clir] {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.loading[b-qcrcy5clir] {
    text-align: center;
    padding: 4rem;
    color: #ff8c00;
}

.loading .spinner-border[b-qcrcy5clir] {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-width: 0.4rem;
}

.no-data[b-qcrcy5clir] {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.no-data .bi[b-qcrcy5clir] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.pagination-info[b-qcrcy5clir] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, transparent, #fff3e0, transparent);
    padding: 1rem;
    border-radius: 8px;
}

.validation-message[b-qcrcy5clir] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 600;
}

.sort-indicator[b-qcrcy5clir] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-qcrcy5clir] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-qcrcy5clir] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}


.page-header[b-qcrcy5clir] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #ff8c00, #ffa726) 1;
}

.header-actions[b-qcrcy5clir] {
    display: flex;
    gap: 0.75rem;
}

.btn-help[b-qcrcy5clir] {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-help:hover[b-qcrcy5clir] {
    background-color: #138496;
    border-color: #117a8b;
}

.modal-overlay[b-qcrcy5clir] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn-b-qcrcy5clir 0.3s ease;
}

@keyframes fadeIn-b-qcrcy5clir {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog[b-qcrcy5clir] {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    animation: slideDown-b-qcrcy5clir 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown-b-qcrcy5clir {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-qcrcy5clir] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-qcrcy5clir] {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e0 100%);
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    flex-shrink: 0;
}

.modal-header h2[b-qcrcy5clir] {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close[b-qcrcy5clir] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
}

.btn-close:hover[b-qcrcy5clir] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body[b-qcrcy5clir] {
    padding: 2rem;
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Scrollbar personalizado para el modal de ayuda */
.modal-body[b-qcrcy5clir]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-qcrcy5clir]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body[b-qcrcy5clir]::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 4px;
}

.modal-body[b-qcrcy5clir]::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.modal-body h3[b-qcrcy5clir] {
    color: #ff8c00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal-body h3:first-child[b-qcrcy5clir] {
    margin-top: 0;
}

.modal-body ul[b-qcrcy5clir], .modal-body ol[b-qcrcy5clir] {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li[b-qcrcy5clir] {
    margin-bottom: 0.5rem;
}

.modal-body strong[b-qcrcy5clir] {
    color: #ff8c00;
}

.alert[b-qcrcy5clir] {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-warning[b-qcrcy5clir] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong[b-qcrcy5clir] {
    color: #856404;
}

.modal-footer[b-qcrcy5clir] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}


.page-header h1[b-qcrcy5clir] {
color: #ff8c00;
font-size: 2rem;
margin: 0;
display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header h1 .bi[b-qcrcy5clir] {
    font-size: 1.75rem;
}

.form-card[b-qcrcy5clir] {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
    border: 1px solid #ffcc80;
}

.form-card h3[b-qcrcy5clir] {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fff3e0;
}

.form-grid[b-qcrcy5clir] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group[b-qcrcy5clir] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-qcrcy5clir] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group .form-control[b-qcrcy5clir] {
    border: 1px solid #ffcc80;
    border-radius: 4px;
    padding: 0.5rem;
}

.form-group .form-control:focus[b-qcrcy5clir] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.form-actions[b-qcrcy5clir] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.table-container[b-qcrcy5clir] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box[b-qcrcy5clir] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input[b-qcrcy5clir] {
    padding-left: 2.5rem;
    border: 1px solid #ffcc80;
}

.search-box input:focus[b-qcrcy5clir] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.search-box .bi[b-qcrcy5clir] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8c00;
    font-size: 1.25rem;
}

.table[b-qcrcy5clir] {
    margin-bottom: 0;
}

.table thead[b-qcrcy5clir] {
    background-color: #ff8c00;
    color: white;
}

.table thead th[b-qcrcy5clir] {
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table thead th.sortable[b-qcrcy5clir] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th.sortable:hover[b-qcrcy5clir] {
    background-color: #e67e00;
}

.sort-indicator[b-qcrcy5clir] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-size: contain;
}

.bi-caret-up-fill.sort-indicator[b-qcrcy5clir] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
}

.bi-caret-down-fill.sort-indicator[b-qcrcy5clir] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 0 .753-1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.table tbody tr:hover[b-qcrcy5clir] {
    background-color: #fff3e0;
}

.table tbody td[b-qcrcy5clir] {
    vertical-align: middle;
    padding: 0.75rem 1rem;
}

.btn-warning[b-qcrcy5clir] {
    background-color: #ffa726;
    border-color: #ffa726;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-warning:hover[b-qcrcy5clir] {
    background-color: #ff9800;
    border-color: #ff9800;
}

.btn-danger[b-qcrcy5clir] {
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.loading[b-qcrcy5clir] {
    text-align: center;
    padding: 3rem;
    color: #ff8c00;
}

.loading .spinner-border[b-qcrcy5clir] {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.no-data[b-qcrcy5clir] {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-data .bi[b-qcrcy5clir] {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.pagination-info[b-qcrcy5clir] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.validation-message[b-qcrcy5clir] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .provincias-container[b-qcrcy5clir] {
        padding: 1rem;
    }

    .page-header[b-qcrcy5clir] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .table-container[b-qcrcy5clir] {
        overflow-x: auto;
    }
}


/* Ocultar texto de los botones en la columna de acciones - solo mostrar iconos */
table tbody tr td button.btn-sm[b-qcrcy5clir],
table tbody tr td button.btn[b-qcrcy5clir],
.modal-body button.btn-sm[b-qcrcy5clir],
.modal-section button.btn-sm[b-qcrcy5clir],
.sucursal-card button.btn-sm[b-qcrcy5clir] {
    font-size: 0 !important;
    padding: 0.5rem 0.75rem !important;
}

table tbody tr td button.btn-sm .bi[b-qcrcy5clir],
table tbody tr td button.btn .bi[b-qcrcy5clir],
.modal-body button.btn-sm .bi[b-qcrcy5clir],
.modal-section button.btn-sm .bi[b-qcrcy5clir],
.sucursal-card button.btn-sm .bi[b-qcrcy5clir] {
    font-size: 1rem !important;
    margin-right: 0 !important;
}
/* /Components/Pages/Seguridad/Permisos.razor.rz.scp.css */
.permisos-container[b-h203g4mepg] {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03) 0%, rgba(230, 92, 0, 0.02) 100%);
    min-height: 100vh;
}


.page-header[b-h203g4mepg] {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff8c00;
}

.page-header h2[b-h203g4mepg] {
    color: #ff8c00;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.5rem 0;
}

.page-header .text-muted[b-h203g4mepg] {
    margin: 0;
    font-size: 1rem;
}

.rol-selector-card[b-h203g4mepg] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rol-selector-card label[b-h203g4mepg] {
    margin-bottom: 0.75rem;
    color: #333;
}

.rol-selector-card .form-select[b-h203g4mepg] {
    font-size: 1.1rem;
    padding: 0.75rem;
}

.rol-selector-card .form-select:focus[b-h203g4mepg] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}


.permisos-matrix-card[b-h203g4mepg] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.matrix-header[b-h203g4mepg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.matrix-header h4[b-h203g4mepg] {
    margin: 0;
    color: #333;
}

/* Estilos sin ::deep */
.permisos-table[b-h203g4mepg] {
    margin: 0;
}

.permisos-table thead[b-h203g4mepg] {
    color: white !important;
}

.permisos-table thead th[b-h203g4mepg] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%) !important;
    border: none !important;
    padding: 1.25rem 1rem !important;
    font-weight: 700 !important;
    vertical-align: middle !important;
    color: white !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
}

.permisos-table thead th:first-child[b-h203g4mepg] {
    border-radius: 12px 0 0 0 !important;
}

.permisos-table thead th:last-child[b-h203g4mepg] {
    border-radius: 0 12px 0 0 !important;
}

.permisos-table thead th .bi[b-h203g4mepg] {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    display: block;
    color: white !important;
}

/* Estilos con ::deep para mayor compatibilidad */
[b-h203g4mepg] .permisos-table {
    margin: 0;
}

[b-h203g4mepg] .permisos-table thead {
    color: white !important;
}

[b-h203g4mepg] .permisos-table thead th {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%) !important;
    border: none !important;
    padding: 1.25rem 1rem !important;
    font-weight: 700 !important;
    vertical-align: middle !important;
    color: white !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
}

[b-h203g4mepg] .permisos-table thead th:first-child {
    border-radius: 12px 0 0 0 !important;
}

[b-h203g4mepg] .permisos-table thead th:last-child {
    border-radius: 0 12px 0 0 !important;
}

[b-h203g4mepg] .permisos-table thead th .bi {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    display: block;
    color: white !important;
}

.permisos-table tbody tr[b-h203g4mepg] {
    transition: background-color 0.2s ease;
}

.permisos-table tbody tr:hover[b-h203g4mepg] {
    background-color: #f8f9fa;
}

.permisos-table tbody td[b-h203g4mepg] {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.permisos-table code[b-h203g4mepg] {
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #ff8c00;
    font-size: 0.9rem;
}

.checkbox-large[b-h203g4mepg] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.checkbox-large:disabled[b-h203g4mepg] {
    cursor: not-allowed;
    opacity: 0.5;
}

.checkbox-large:checked[b-h203g4mepg] {
    background-color: #ff8c00;
    border-color: #ff8c00;
}

.checkbox-large:focus[b-h203g4mepg] {
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    border-color: #ff8c00;
}


.table-responsive[b-h203g4mepg] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsive */
@media (max-width: 768px) {
    .permisos-container[b-h203g4mepg] {
        padding: 1rem;
    }

    .matrix-header[b-h203g4mepg] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .matrix-header button[b-h203g4mepg] {
        width: 100%;
    }

    .permisos-table[b-h203g4mepg] {
        font-size: 0.85rem;
    }

    .permisos-table thead th[b-h203g4mepg] {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .permisos-table thead th .bi[b-h203g4mepg] {
        font-size: 1rem;
    }

    .permisos-table tbody td[b-h203g4mepg] {
        padding: 0.75rem 0.5rem;
    }

    .checkbox-large[b-h203g4mepg] {
        width: 20px;
        height: 20px;
    }
}

/* Animaci�n de guardado */
@keyframes pulse-b-h203g4mepg {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-success:active[b-h203g4mepg] {
    animation: pulse-b-h203g4mepg 0.3s ease;
}
/* /Components/Pages/Seguridad/Roles.razor.rz.scp.css */
.roles-container[b-0g77xyerbo] {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03) 0%, rgba(230, 92, 0, 0.02) 100%);
    min-height: 100vh;
}


.page-header[b-0g77xyerbo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff8c00;
}

.page-header h2[b-0g77xyerbo] {
    color: #ff8c00;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.estadisticas-grid[b-0g77xyerbo] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card[b-0g77xyerbo] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff8c00;
}

.stat-card.active[b-0g77xyerbo] {
    border-left-color: #28a745;
}

.stat-card.users[b-0g77xyerbo] {
    border-left-color: #17a2b8;
}

.stat-icon[b-0g77xyerbo] {
    font-size: 2.5rem;
    color: #ff8c00;
}

.stat-card.active .stat-icon[b-0g77xyerbo] {
    color: #28a745;
}

.stat-card.users .stat-icon[b-0g77xyerbo] {
    color: #17a2b8;
}

.stat-info h3[b-0g77xyerbo] {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.stat-info p[b-0g77xyerbo] {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.roles-grid[b-0g77xyerbo] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.rol-card[b-0g77xyerbo] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #ff8c00;
}

.rol-card:hover[b-0g77xyerbo] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.rol-card.inactive[b-0g77xyerbo] {
    opacity: 0.6;
    border-left-color: #6c757d;
}

.rol-header[b-0g77xyerbo] {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.rol-header h4[b-0g77xyerbo] {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rol-status[b-0g77xyerbo] {
    flex-shrink: 0;
}

.rol-descripcion[b-0g77xyerbo] {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.rol-stats[b-0g77xyerbo] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item[b-0g77xyerbo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.stat-item .bi[b-0g77xyerbo] {
    color: #ff8c00;
}

.rol-actions[b-0g77xyerbo] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rol-actions .btn[b-0g77xyerbo] {
    flex: 1;
    min-width: 90px;
}

.modal-overlay[b-0g77xyerbo] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn-b-0g77xyerbo 0.3s ease;
    backdrop-filter: blur(3px);
}

@keyframes fadeIn-b-0g77xyerbo {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog[b-0g77xyerbo] {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-0g77xyerbo 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideIn-b-0g77xyerbo {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-0g77xyerbo] {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header[b-0g77xyerbo] {
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid #e65c00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    color: white;
}

.modal-header h5[b-0g77xyerbo] {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.btn-close[b-0g77xyerbo] {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: white;
    opacity: 0.8;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.btn-close:hover[b-0g77xyerbo] {
    opacity: 1;
}

.modal-body[b-0g77xyerbo] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    background: #f8f9fa;
}

.modal-body .form-control:focus[b-0g77xyerbo],
.modal-body .form-select:focus[b-0g77xyerbo],
.modal-body .form-check-input:focus[b-0g77xyerbo] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}

.modal-body .form-check-input:checked[b-0g77xyerbo] {
    background-color: #ff8c00;
    border-color: #ff8c00;
}

.modal-footer[b-0g77xyerbo] {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 3px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Estilos de badges y estados naranjas */
.badge[b-0g77xyerbo] {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge.bg-success[b-0g77xyerbo] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

@media (max-width: 768px) {
    .roles-grid[b-0g77xyerbo] {
        grid-template-columns: 1fr;
    }

    .rol-actions .btn[b-0g77xyerbo] {
        min-width: 80px;
        font-size: 0.85rem;
    }
}

/* /Components/Pages/Seguridad/Usuarios.razor.rz.scp.css */
.usuarios-container[b-tq93b66443] {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03) 0%, rgba(230, 92, 0, 0.02) 100%);
    min-height: 100vh;
}


.page-header[b-tq93b66443] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff8c00;
}

.page-header h2[b-tq93b66443] {
    color: #ff8c00;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.estadisticas-grid[b-tq93b66443] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card[b-tq93b66443] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff8c00;
}

.stat-card.active[b-tq93b66443] {
    border-left-color: #28a745;
}

.stat-card.blocked[b-tq93b66443] {
    border-left-color: #dc3545;
}

.stat-card.online[b-tq93b66443] {
    border-left-color: #17a2b8;
}

.stat-icon[b-tq93b66443] {
    font-size: 2.5rem;
    color: #ff8c00;
}

.stat-card.active .stat-icon[b-tq93b66443] {
    color: #28a745;
}

.stat-card.blocked .stat-icon[b-tq93b66443] {
    color: #dc3545;
}

.stat-card.online .stat-icon[b-tq93b66443] {
    color: #17a2b8;
}

.stat-info h3[b-tq93b66443] {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.stat-info p[b-tq93b66443] {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.search-bar[b-tq93b66443] {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-bar input[b-tq93b66443] {
    padding-left: 2.5rem;
}

.search-bar .bi-search[b-tq93b66443] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Estilos sin ::deep */
.table[b-tq93b66443] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.table thead[b-tq93b66443] {
    color: white !important;
}

.table thead th[b-tq93b66443] {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%) !important;
    border: none !important;
    padding: 1.25rem 1rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
}

.table thead th:first-child[b-tq93b66443] {
    border-radius: 12px 0 0 0 !important;
}

.table thead th:last-child[b-tq93b66443] {
    border-radius: 0 12px 0 0 !important;
}

.table tbody tr:hover[b-tq93b66443] {
    background-color: #f8f9fa;
}

/* Estilos con ::deep para mayor compatibilidad */
[b-tq93b66443] .table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

[b-tq93b66443] .table thead {
    color: white !important;
}

[b-tq93b66443] .table thead th {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%) !important;
    border: none !important;
    padding: 1.25rem 1rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
}

[b-tq93b66443] .table thead th:first-child {
    border-radius: 12px 0 0 0 !important;
}

[b-tq93b66443] .table thead th:last-child {
    border-radius: 0 12px 0 0 !important;
}

[b-tq93b66443] .table tbody tr:hover {
    background-color: #f8f9fa;
}

.modal-overlay[b-tq93b66443] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn-b-tq93b66443 0.3s ease;
    backdrop-filter: blur(3px);
}

@keyframes fadeIn-b-tq93b66443 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog[b-tq93b66443] {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-tq93b66443 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideIn-b-tq93b66443 {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content[b-tq93b66443] {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header[b-tq93b66443] {
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid #e65c00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%);
    color: white;
}

.modal-header h5[b-tq93b66443] {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.btn-close[b-tq93b66443] {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: white;
    opacity: 0.8;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.btn-close:hover[b-tq93b66443] {
    opacity: 1;
}

.modal-body[b-tq93b66443] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    background: #f8f9fa;
}

.modal-body .form-control:focus[b-tq93b66443],
.modal-body .form-select:focus[b-tq93b66443],
.modal-body .form-check-input:focus[b-tq93b66443] {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}

.modal-body .form-check-input:checked[b-tq93b66443] {
    background-color: #ff8c00;
    border-color: #ff8c00;
}

.modal-footer[b-tq93b66443] {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 3px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Estilos de badges naranjas */
.badge.bg-info[b-tq93b66443] {
    background: linear-gradient(135deg, #ff8c00 0%, #e65c00 100%) !important;
    color: white;
}

.table .badge[b-tq93b66443] {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 576px) {
    .usuarios-container[b-tq93b66443] { padding: 0.75rem !important; }
    .page-header[b-tq93b66443] { flex-direction: column !important; align-items: flex-start !important; }
    .page-header h1[b-tq93b66443] { font-size: 1.5rem !important; }
    .header-actions[b-tq93b66443] { flex-direction: column; width: 100%; }
    .header-actions button[b-tq93b66443] { width: 100%; }
    .form-grid[b-tq93b66443] { grid-template-columns: 1fr !important; }
    .table thead[b-tq93b66443] { display: none; }
    .table tbody tr[b-tq93b66443] { display: block; margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; }
    .table tbody td[b-tq93b66443] { display: flex; justify-content: space-between; padding: 0.5rem 0 !important; border: none !important; }
    .table tbody td[b-tq93b66443]::before { content: attr(data-label); font-weight: 600; color: #ff8c00; margin-right: 0.5rem; }
    .table tbody td:last-child[b-tq93b66443] { flex-direction: column; gap: 0.5rem; }
    .btn-sm[b-tq93b66443] { width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
}


/* /Components/Routes.razor.rz.scp.css */
.unauthorized-container[b-w3xdxo1fqy] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.unauthorized-card[b-w3xdxo1fqy] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.unauthorized-icon[b-w3xdxo1fqy] {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    display: block;
}

.unauthorized-icon.warning[b-w3xdxo1fqy] {
    color: #ffc107;
}

.unauthorized-card h3[b-w3xdxo1fqy] {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.unauthorized-card p[b-w3xdxo1fqy] {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.unauthorized-card .text-muted[b-w3xdxo1fqy] {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 2rem;
}

.unauthorized-card .btn[b-w3xdxo1fqy] {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.loading-container[b-w3xdxo1fqy] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    gap: 1rem;
}

.loading-container p[b-w3xdxo1fqy] {
    color: #666;
    font-size: 1.1rem;
}

.error-container[b-w3xdxo1fqy] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.error-card[b-w3xdxo1fqy] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.error-icon[b-w3xdxo1fqy] {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 1.5rem;
    display: block;
}

.error-card h1[b-w3xdxo1fqy] {
    color: #333;
    margin-bottom: 1rem;
}

.error-card p[b-w3xdxo1fqy] {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.error-card .btn[b-w3xdxo1fqy] {
    padding: 0.75rem 2rem;
}
/* /Components/Shared/AuthGuard.razor.rz.scp.css */
.unauthorized-container[b-atp1pr6d0a] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.unauthorized-card[b-atp1pr6d0a] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: fadeIn-b-atp1pr6d0a 0.5s ease;
}

@keyframes fadeIn-b-atp1pr6d0a {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.unauthorized-icon[b-atp1pr6d0a] {
    font-size: 5rem;
    color: #667eea;
    margin-bottom: 30px;
    display: block;
}

.unauthorized-icon.warning[b-atp1pr6d0a] {
    color: #f59e0b;
}

.unauthorized-card h3[b-atp1pr6d0a] {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}

.unauthorized-card p[b-atp1pr6d0a] {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.unauthorized-card .btn[b-atp1pr6d0a] {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.unauthorized-card .btn:hover[b-atp1pr6d0a] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.unauthorized-card .btn-primary[b-atp1pr6d0a] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.unauthorized-card .btn-secondary[b-atp1pr6d0a] {
    background: #6c757d;
    border: none;
    color: white;
}

.text-muted[b-atp1pr6d0a] {
    color: #999;
    font-size: 0.9rem;
}
/* /Components/Shared/RouteGuard.razor.rz.scp.css */
.unauthorized-container[b-pqxztl1slw] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.unauthorized-card[b-pqxztl1slw] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.unauthorized-icon[b-pqxztl1slw] {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    display: block;
}

.unauthorized-icon.warning[b-pqxztl1slw] {
    color: #ffc107;
}

.unauthorized-card h3[b-pqxztl1slw] {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.unauthorized-card p[b-pqxztl1slw] {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.unauthorized-card .text-muted[b-pqxztl1slw] {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 2rem;
}

.unauthorized-card .btn[b-pqxztl1slw] {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
}
