/* =============================================================
   ESTILOS ADICIONALES PARA INVENTARIO
   ============================================================= */

/* Mensaje de sin items */
.no-items-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-items-message i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
    color: #ccc;
}

.no-items-message p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #666;
}

.no-items-message .hint {
    font-size: 14px;
    color: #999;
}

/* Mensaje de carga */
.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: #667eea;
}

.loading-message i {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.loading-message p {
    font-size: 16px;
    color: #666;
}

/* Información de resultados de búsqueda */
.search-results-info {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-left: 4px solid #667eea;
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #667eea;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInDown 0.3s ease;
}

.search-results-info i {
    font-size: 18px;
}

/* Notificaciones - Tema Verde Neón */
.notificacion {
    position: fixed;
    top: 20px;
    right: -400px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 450px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notificacion.show {
    right: 20px;
    animation: slideInBounce 0.5s ease;
}

@keyframes slideInBounce {
    0% {
        right: -400px;
        opacity: 0;
    }
    60% {
        right: 30px;
        opacity: 1;
    }
    80% {
        right: 15px;
    }
    100% {
        right: 20px;
    }
}

.notificacion i {
    font-size: 24px;
    min-width: 24px;
}

.notificacion span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    font-weight: 500;
}

/* Success - Verde Neón */
.notif-success {
    border-left: 4px solid #0f0;
    background: rgba(0, 255, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 0, 0.3);
}

.notif-success i {
    color: #0f0;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Error - Rojo Neón */
.notif-error {
    border-left: 4px solid #ff4444;
    background: rgba(255, 68, 68, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 68, 68, 0.3);
}

.notif-error i {
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
}

/* Info - Azul Neón */
.notif-info {
    border-left: 4px solid #00d4ff;
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 212, 255, 0.3);
}

.notif-info i {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

/* Badge de tipo de item - Tema Neón */
.badge-producto,
.badge-product {
    background: rgba(0, 212, 255, 0.12) !important;
    color: #00d4ff !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
}

.badge-servicio,
.badge-service {
    background: rgba(255, 0, 255, 0.12) !important;
    color: #ff00ff !important;
    border: 1px solid rgba(255, 0, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Iconos de acción */
.action-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-icon:hover {
    background: #667eea;
    transform: scale(1.1);
}

.action-icon:hover i {
    color: white;
}

.action-icon i {
    color: #667eea;
    font-size: 14px;
}

.delete-icon {
    right: 60px;
    background: rgba(244, 67, 54, 0.1);
}

.delete-icon:hover {
    background: #f44336;
}

.delete-icon i {
    color: #f44336;
}

.delete-icon:hover i {
    color: white;
}

/* Tarjeta de cliente/item - Tema Verde Neón */
.client-card {
    position: relative;
    background: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 0, 0.2) !important;
}

.client-card:hover {
    box-shadow: 0 12px 35px rgba(0, 255, 0, 0.25), 0 0 25px rgba(0, 255, 0, 0.15);
    transform: translateY(-8px);
    border-color: rgba(0, 255, 0, 0.5) !important;
    background: rgba(25, 25, 25, 0.98) !important;
}

.client-card h4 {
    font-size: 18px;
    color: #fff !important;
    margin-bottom: 12px;
    margin-top: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.client-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 6px 0;
    line-height: 1.5;
}

/* Animaciones */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .notificacion {
        min-width: 280px;
        max-width: calc(100% - 40px);
    }
    
    .search-results-info {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .action-icon {
        width: 32px;
        height: 32px;
    }
    
    .delete-icon {
        right: 50px;
    }
}


/* Iconos de acción en tarjetas - Tema Neón */
.client-card .action-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(0, 255, 0, 0.08) !important;
    border: 1px solid rgba(0, 255, 0, 0.25) !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.client-card .action-icon:hover {
    background: rgba(0, 255, 0, 0.15) !important;
    border-color: #0f0 !important;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.client-card .action-icon i {
    color: #0f0 !important;
    font-size: 16px;
}

/* Icono de eliminar */
.client-card .delete-icon {
    right: 60px !important;
    background: rgba(255, 68, 68, 0.08) !important;
    border-color: rgba(255, 68, 68, 0.25) !important;
}

.client-card .delete-icon:hover {
    background: rgba(255, 68, 68, 0.15) !important;
    border-color: #ff4444 !important;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.client-card .delete-icon i {
    color: #ff4444 !important;
}

/* Asegurar que los precios se vean bien */
.client-card p strong {
    color: #0f0 !important;
    font-weight: 600;
}
