  body {
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
       
        .transition-all-ease { transition: all 0.3s ease-in-out; }
        .pulse-animation { animation: pulse 2s infinite; }
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
            }
            70% {
                transform: scale(1.05);
                box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
            }
        }

        /* Estilos para el interruptor 2D/3D */
        .image-mode-toggle {
            display: flex;
            background-color: #333;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 20px; /* Espacio debajo del interruptor */
            width: fit-content;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
            position: absolute; /* Posiciona el interruptor */
            top: 10px; /* Ajusta la posición superior */
            left: 10px; /* Ajusta la posición izquierda */
            z-index: 10; /* Asegura que esté por encima de otros elementos */
        }

        .image-mode-toggle button {
            padding: 10px 15px;
            border: none;
            background-color: transparent;
            color: #bbb;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-grow: 1;
        }

        .image-mode-toggle button.active {
            background-color: #007bff; /* Color azul para el activo */
            color: white;
            font-weight: bold;
            box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
        }

        .image-mode-toggle button:hover:not(.active) {
            background-color: #555;
            color: white;
        }

        /* Asegura que los paneles de control tengan un posicionamiento relativo para el switch */
        #imagenes .container {
            position: relative;
            padding-top: 60px; /* Espacio para el interruptor */
        }


  /* --- ESTILOS PARA EL MENÚ DESPLEGABLE DEL ASISTENTE --- */
  /* --- ESTILOS PARA EL MENÚ DESPLEGABLE DEL ASISTENTE --- */
    #asistente-popup {
        position: absolute;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s;
        z-index: 10001;
    }
    
    #asistente-popup.visible {
        opacity: 1;
        visibility: visible;
    }

    #asistente-titulo-input {
        display: flex;
        align-items: center;
        justify-content: center;
       text-align: center;
        position: absolute;
        top: 5%;
        left: 50%; 
        width: 50%;
        padding: 10px 15px;
    height: 4%;
        font-size: 100%;
        background-color: #2c2c2c;
        color: white;
        border: 1px solid #666;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        transform: translateY(-10px) translateX(-50%);
        transition: transform 0.3s ease; z-index: 9998;
    }

    #asistente-popup.visible #asistente-titulo-input {
  
    }
   
    #asistente-menu {
        position: fixed;
        top: 50%; 
        left: 50%;
        height: 60%;
        width: 50%;
        transform: translate(-50%, -50%);
           background-color: transparent;
backdrop-filter: blur(20px);
background-image: linear-gradient(120deg, rgba(192, 192, 192, 0.3),  rgba(255, 255, 255, 0.2));




        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        display: flex;
        flex-direction: column;
        gap: 8px; 
        padding: 10px;
    

        transition: transform 0.3s ease;
    }

    #asistente-popup.visible #asistente-menu {
         /* transform: translateY(0); */ /* Eliminado para mantener el centrado vertical */
    }

    #asistente-menu .pro {
        width: 100%;
        margin: 0;
        text-align: left;
        padding: 10px 15px;
        background-color: #444;
        border: 1px solid #666;
    }

    #asistente-menu .pro:hover {
        background-color: #555;
        transform: scale(1.03);
    }

    .asistente-categoria {
        display: flex;
        justify-content: space-around;
        gap: 5px;
    margin-bottom: 1%;
    }

    .asistente-categoria button {
        flex-grow: 1;
        width: auto;
    }
