        /* Estilos para las filas de la tabla */
        .con-existencia {
            background-color: rgba(40, 167, 69, 0.1);
        }

        .sin-existencia {
            background-color: rgba(108, 117, 125, 0.1);
        }

        .precio-cero {
            background-color: rgba(255, 193, 7, 0.1);
        }

        /* Estilos para el sidebar de cotización */
        .cotizacion-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 380px;
            height: 100vh;
            background: white;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            z-index: 1050;
            display: flex;
            flex-direction: column;
        }

        .cotizacion-sidebar.active {
            right: 0;
        }

        .cotizacion-header {
            padding: 15px;
            background: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cotizacion-items {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
        }

        .cotizacion-footer {
            padding: 15px;
            background: #f8f9fa;
            border-top: 1px solid #dee2e6;
        }

        .cotizacion-item {
            border: 1px solid #dee2e6;
            border-radius: 5px;
            padding: 10px;
            margin-bottom: 10px;
        }

        .cotizacion-item-info small {
            display: block;
            color: #6c757d;
            font-size: 0.8rem;
        }

        /* Estilos para el sidebar de clientes */
        .clientes-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 380px;
            height: 100vh;
            background: white;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            z-index: 1060;
            display: flex;
            flex-direction: column;
        }

        .clientes-sidebar.active {
            right: 0;
        }

        .clientes-header {
            padding: 15px;
            background: #28a745;
            color: white;
            border-bottom: 1px solid #dee2e6;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .clientes-footer {
            padding: 15px;
            background: #f8f9fa;
            border-top: 1px solid #dee2e6;
        }

        /* Botón flotante */
        .btn-cotizar {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1040;
            padding: 12px 24px;
            border-radius: 50px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-clientes {
            position: fixed;
            bottom: 100px;
            right: 30px;
            z-index: 1040;
            padding: 12px 24px;
            border-radius: 50px;
            background-color: #28a745;
            color: white;
            border: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-clientes:hover {
            background-color: #218838;
            color: white;
        }

        .badge-cotizacion {
            background-color: #dc3545;
            color: white;
            border-radius: 50%;
            padding: 3px 8px;
            margin-left: 8px;
            font-size: 0.8rem;
        }

        .alerta-faltantes {
            background-color: #fff3cd;
            border: 1px solid #ffeeba;
            color: #856404;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 15px;
        }

        .search-highlight {
            background-color: #fff3cd;
            padding: 2px;
            border-radius: 3px;
        }

        .loading {
            cursor: wait;
            opacity: 0.7;
        }

        .loading * {
            pointer-events: none;
        }

        /* Estilo para el selector de moneda */
        .currency-selector {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 10px 15px;
            margin-bottom: 15px;
            border: 1px solid #dee2e6;
        }

        /* Estilo para tiempo de entrega en productos */
        .tiempo-entrega-badge {
            font-size: 0.7rem;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 5px;
        }

        .entrega-inmediata {
            background-color: #d4edda;
            color: #155724;
        }

        .entrega-3semanas {
            background-color: #fff3cd;
            color: #856404;
        }

        /* Estilo para el símbolo de moneda */
        .currency-symbol {
            font-weight: bold;
            margin-right: 2px;
        }














        .btn-regresar-interfaz {
            position: relative;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 18px;
            font-weight: bold;
            border-radius: 50px;
            cursor: pointer;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-regresar-interfaz span {
            display: inline-block;
            transition: transform 0.3s ease;
        }

        .btn-regresar-interfaz span:first-child {
            margin-right: 10px;
        }

        .btn-regresar-interfaz:hover {
            transform: translateX(-10px);
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .btn-regresar-interfaz:hover span:first-child {
            transform: translateX(-5px);
        }

        .btn-regresar-interfaz:hover span:last-child {
            transform: translateX(5px);
        }



        .btn-regresar-interfaz:hover::before {
            opacity: 1;
            left: 15px;
        }



        /* Estilos adicionales para el modal de cantidad */
        .modal-cantidad .form-control {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .stock-info {
            background-color: #f8f9fa;
            padding: 10px;
            border-radius: 5px;
            margin-top: 10px;
        }






        








/* Estilo para productos con precio por confirmar */
.cotizacion-item.precio-por-confirmar {
    border-left: 3px solid #ffc107;
    background-color: #fff9e6;
}

/* Estilo para desglose de entregas */
.desglose-entregas {
    background-color: #f8f9fa;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    border-left: 3px solid #17a2b8;
}

.desglose-entregas small {
    line-height: 1.4;
}

/* Badges de entrega */
.badge.bg-info {
    background-color: #17a2b8 !important;
    font-size: 0.7rem;
}

.badge.bg-success {
    background-color: #28a745 !important;
    font-size: 0.7rem;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    font-size: 0.7rem;
}


.desglose-entregas {
    background-color: #f8f9fa;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    border-left: 3px solid #17a2b8;
    margin-top: 8px;
}

.precio-por-confirmar {
    border-left: 3px solid #ffc107 !important;
    background-color: #fff9e6 !important;
}

.cotizacion-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}












#alertasCotizacion .alertas-header {
    background-color: #fff3cd;
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
    margin-bottom: 5px;
}
#alertasCotizacion .alertas-header button {
    color: #856404;
}
#alertasCotizacion .alertas-header button:hover {
    text-decoration: underline;
}