.grafica {
    width: 45%;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.iconoDragable{
    cursor: pointer;
}


.float-end{
    float: right;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.float-start {
    float: left;
}

canvas {
    max-width: 100%;
}
.d-none{
    display: none;
}

.btn-r {
    background-color: #ff0000;
}

.d-1{
    border:  1px solid #ddd;
}
.tipo-grafica, .color-grafica {
    margin-bottom: 10px;
    padding: 5px;
    font-size: 16px;
}

#contenedorGraficas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}



button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
}

button:hover {
    background-color: #45a049;
}


@media (max-width: 768px) {
    .grafica {
        width: 100%;
    }
}



.dato-input {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  #color-dato {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .dato-item {
    border: 1px solid #ccc;
    padding: 5px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dato-contenido {
    flex-grow: 1;
}

.dato-color {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 0 5px;
}

.editar-dato, .borrar-dato {
    margin-left: 5px;
}


.newPopOver {
    --bs-popover-bg: #ddd;  /* Color de fondo */
    --bs-popover-header-bg: #bbb;  /* Color del encabezado */
    --bs-popover-header-color: 000;  /* Color del texto del encabezado */
    --bs-popover-body-color: 000;  /* Color del texto del cuerpo */
    --bs-popover-border-color: #000;  /* Color del borde */
}


/*-------------------------------------------------*/
.image-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Ajusta esto al ancho máximo de tu imagen */
  }
  
  .image-container img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .image-container svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .image-container svg a:hover rect,
  .image-container svg a:hover circle,
  .image-container svg a:hover polygon {
    fill-opacity: 0.5;
  }



  /*------------------modal fijo-----------------*/
  .modalHelp {
    display: block;
    position: static;
}