  label {      
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        input[type="password"], textarea {
            width: 100%;
            padding: 0.75rem;
        
            border-radius: 6px;
            box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
            font-size: 1rem;
        }      
      #prompt {
margin-top:4%;
width: 80%;
      } #response-container {
        overflow-y: scroll;
        margin-left: 10%;
  border-radius: 6px;
width: 80%;
  padding: 0.75rem;
     height: 60%;       /* Asegura que el padding no afecte el ancho total */
margin-bottom: 5%;
      }
        #response-container {
            margin-top: 1.5rem;
            background-color: #f7f7f7;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            padding: 1rem;
            white-space: pre-wrap; /* Mantiene los saltos de línea */
            word-wrap: break-word; /* Evita el desbordamiento de texto */
        } 
        #membresias {
            display: none; /* Oculto por defecto, se muestra con JS */          
            flex-direction: column;   
            padding: 2rem;           
        }
        .membership-container {
            display: flex;
            justify-content: center;
            align-items: stretch; /* To make cards same height */
            gap: 2rem; 
            flex-wrap: wrap; /* Allow wrapping on smaller screens */
        }
        .membership-card {
            background-color: rgba(40, 40, 40, 0);
            border: 1px solid #555;
            border-radius: 15px;
            padding: 2%;
            width: 320px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.7);
            backdrop-filter: blur(5px);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .membership-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 30px rgba(235, 135, 135, 0.3);
        }
        .membership-card img {
            width: 100%;
            height: auto;
            margin: 0 auto 1.5rem auto;
         
        }       
        .membership-card h4 { font-size: 1.8rem; color: #000000; margin-bottom: 1rem; }
        .membership-card h3 { font-size: 1.8rem; color: #ff0000; margin-bottom: 1rem; }
        .membership-card p { font-size: 1rem; margin-bottom: 2rem; flex-grow: 1; color: #ccc; }
        .membership-card .pro { width: 100%; padding: 12px 20px; font-size: 1.1rem; }

.difuminado {
  /* Define el alto y habilita el scroll */
   /* Ajusta esta altura a tus necesidades */
  overflow-y: auto; /* Muestra la barra de scroll si el contenido es más alto */
  /* La magia del difuminado */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 50px,         /* Comienzo del contenido visible */
    black calc(100% - 50px), /* Fin del contenido visible */
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 50px,         /* Comienzo del contenido visible */
    black calc(100% - 50px), /* Fin del contenido visible */
    transparent 100%
  );}
        ul {     
            border-radius: 8px;
            overflow: hidden;
        }
        li {
            padding: 15px;
            cursor: pointer;
            border-bottom: 1px solid #eee;
        }
        li:last-child {
            border-bottom: none;
        }
        li:hover {
            background-color: #f0f0f0;
        }
        /* Esta clase se añadirá al elemento seleccionado */
        li.activo {
            background-color: #ff9191;
            color: white;
            font-weight: bold;
        }
        #info2 {
     font-size: 16px; 
        }
.padding-bottom {padding-bottom: 5%;
}
#asistentevoz {background-color: turquoise; height: 60px; width: 60px; border-radius: 30px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000000000000;
}


 .ia-button {
        /* ... tu estilo actual ... */
        margin-right: 8px; /* Espacio entre botones */
    }
    .ia-button.danger {
        background-color: #e53e3e; /* Rojo para indicar una acción destructiva */
        color: white;
    }
    .ia-button.danger:hover {
        background-color: #c53030;
    }

#canvas-container {
    position: relative;
    display: grid;
    place-items: center;
    overflow: auto;
}
#canvas-wrapper {
    position: relative;
}
.canvas {
    position: absolute;
    top: 0;
    left: 0;
    touch-action: none;
}
#poi-canvas {
    z-index: 10;
}
#poi-canvas.drawing {
    cursor: crosshair;
}
#poi-canvas.placing {
    cursor: grab;
}
#poi-canvas.grabbing {
    cursor: grabbing;
}
#poi-canvas.panning {
    cursor: move;
} 
.modal-content3 {
    padding: 25px; 
    width: 450px;
     flex-direction: column;

    color: rgb(0, 0, 0);
  
    
    position: fixed;
         bottom: 16%;

    left: 170px;
    top: 0px;
  
        overflow: scroll;
    background-color: #ffffff;  
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    gap: 15px;
    align-items: center;    border: 0px solid #ffffff;
     z-index: 1000001 !important;
} 

    #canvas-container3 {
        height: auto;
        position: fixed;
        width: auto;
        border-radius: 0.5rem;
        overflow: scroll;  /* Mantenemos el scroll */
        top: 0px;
        background-color: #c5c5c5;
        bottom: 0px;
        left: 620px;
        right: 15px;
        
        /* --- LÍNEAS AÑADIDAS --- */
        /* Centra el wrapper dentro del contenedor */
        display: grid;
        place-items: center;
    }

    #canvas-wrapper3 {
        /* --- LÍNEAS AÑADIDAS --- */
               background-color: #e2e2e2;
 /* Asegura que el wrapper se comporte como un bloque único */
        position: relative;
        display: inline-block; /* O 'block', ambos funcionan aquí */
    }
 

.modal-content3 h3 {
    margin: 0;
    text-align: center;
}

/* Estilos para las nuevas herramientas del mapa */
.tool-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}
.tool-btn {
    padding: 10px;
    border-radius: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
}
.tool-btn:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}
.tool-btn.active {
    background-color: #ff9191;
    color: white;
    font-weight: bold;
    border-color: #ff7070;
}
#drawing-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
#drawing-controls button {
    flex-grow: 1;
}
.status-text {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
    text-align: center;
}
.hidden {
    display: none !important;
}

.ia-modal-section {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}
.ia-modal-section label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}
.ia-rama-arco-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

