.general-edit-product-container {

    margin: auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.general-edit-product-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: #303198;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.general-edit-product-button svg {
    fill: white;
}

.general-edit-product-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
}

.general-edit-product-images {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.general-edit-product-images img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.general-edit-product-images input {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.general-edit-product-details {
    width: 60%;
}

.general-edit-product-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.general-edit-product-price {
    font-size: 18px;
    color: #ff5733;
    margin-bottom: 15px;
}

.general-edit-product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.general-edit-product-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.general-edit-product-input {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.general-edit-product-description {
    margin-top: 20px;
}

.general-edit-product-textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Responsivo */
@media (max-width: 768px) {
    .general-edit-product-content {
        flex-direction: column;
        align-items: center;
    }
    .general-edit-product-images, .general-edit-product-details {
        width: 100%;
    }
}



/* Contenedor de imagen */
.general-edit-product-image-container {
    position: relative;
    display: inline-block;
}

/* Imagen del producto */
.general-edit-product-img {
    display: block;
    max-width: 100px;
    height: auto;
}

/* Botón de eliminación */
.general-edit-product-delete-button {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
}

.general-edit-product-delete-button:hover {
    background: darkred;
}

/* Estilos del Modal */
.general-edit-product-modal {
    display: none; /* Se asegura que no aparezca al cargar la página */
    position: fixed; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex; 
    justify-content: center; 
    align-items: center;
}

/* Contenido del modal centrado */
.general-edit-product-modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

/* Botones del modal */
.general-edit-product-modal-btn {
    margin: 10px;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.general-edit-product-modal-confirm {
    background: red;
    color: white;
}

.general-edit-product-modal-cancel {
    background: gray;
    color: white;
}

/* Animación de aparición */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.help-tooltip {
  cursor: help;
  margin-left: 5px;
  color: #555;
  font-weight: bold;
}
.advanced-options-control {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

  .btn-opciones-avanzadas{
     padding: 0.75rem;
    background-color: #313399;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

  .btn-opciones-avanzadas svg{
    margin-left: 0.5rem;
  }
