@media (max-width: 768px) {

.confi_container {
    display: flex;
    width:  100%;
    height: 100%;
    border: 1px solid #ccc;
    padding-bottom: 50px;
    /* espacio para que el botón no tape el texto */

    border-radius: 20px;

    position: relative;
    /* clave para que el botón se quede dentro */
    overflow: hidden;
}




.confi_sidebar {
    width: 150px;
    background-color: #f0f0f0;
    border-right: 1px solid #ccc;
    padding: 10px;
}

.confi_sidebar ul {
    list-style: none;
    padding: 0;
}

.confi_sidebar li {
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 4px;
}

.confi_sidebar li:hover,
.confi_sidebar li.active {
    background-color: #d0e0ff;
}

.confi_content {
    flex-grow: 1;
    background: linear-gradient(to bottom, #dbeafc, #ffffff);
    padding: 20px;
}


.consola-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.consola-row label {
    width: 100px;
}

.consola-row input {
    width: 100px;
    padding: 5px;
    margin-right: 10px;
}

.consola-row img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.confi_buttons {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    position: absolute;
    bottom: 10px;
    right: 10px;
    /* opcional: mover a una esquina */
}

.confi_buttons button {
    padding: 6px 15px;
    border: 1px solid #888;
    border-radius: 4px;
    background: #f3f3f3;
    cursor: pointer;
}

.confi_buttons button:hover {
    background: #ddd;
}

}