/* Contenedor general de la lista de proyectos */
.listaProyectosSweet {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Cada proyecto */
.listaProyectosSweet > div {
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listaProyectosSweet > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Barra superior flotante */
.listaProyectosSweet-barra {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 9999;
}

/* Botones flotantes */
.listaProyectosSweet-barra button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center; 
    cursor: pointer;
}

/* Botón agregar */
#btnAgregarProyecto {
    background-color: #1E8449;
}

/* Botón eliminar */
#btnEliminarProyecto {
    background-color: #922B21;
}

/* Botón cerrar lateral */
#btnCerrarFlotante {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 40px;
    border-radius: 0 20px 20px 0;
    border: none;
    background-color: red;
    color: white;
    font-weight: bold;
    font-size: 16px;
    z-index: 9999;
}
